OS X 10.11 El Capitanのインストーラーには"/bin"や"/usr"などシステム保護ディレクトリにあるファイルやコマンドを移動してしまう機能があるので注意してください。詳細は以下から。
本日、OS X 10.11 El Capitanのレビューが解禁され、様々なレビューが公開されていますが、Ars TechnicaのAndrewさんのレビューを読んでいたところ、AppleはEl Capitanのインストーラーに新たに導入されたシステム整合性保護(SIP)機能"Rootless"に関する面白い機能を実装しているようです。
Ars Technica@arstechnica
OS X 10.11 El Capitan: The Ars Technica Review http://t.co/8S7Eco53i0 by @AndrewWrites
2015/09/30 00:04:02
非Apple以外のファイルを移動
その機能とは「El Capitanのインストーラーには、古いOSからアップデートするさい、Appleが新たに導入するSIPで保護するディレクトリから非Apple製のファイルを探しだし” QuarantineRoot”というディレクトリに移動させる」というもので、
When upgrading from previous versions of OS X to El Cap, any and all non-Apple files found to be residing in those directories will be picked up and moved to /Library/SystemMigration/History/Migration-(some UUID)/QuarantineRoot/—which will almost certainly render whatever application or piece of hardware that depended on those files nonfunctional.
[OS X 10.11 El Capitan: The Ars Technica Review - Ars Technica]
試してみましたが、確かにQuarantineRootディレクトリに今まで"/usr"や"var", "System"ディレクトリを利用していたサードパーティアプリのドライバやフレームワーク、X11R6のエイリアス、man、フォント、dyldなどが移動されていました。
/Library/SystemMigration/History/Migration-(some UUID)/QuarantineRoot
Ars TechnicaではこれによりEl Capitanにアップデート後、動かなくなるアプリケーションやハードウェアが出てくると予想しており、さらにこの情報はAppleが開発者向けに公開している情報とは違うと指摘しているので古いOS Xからアップデートされる方は注意して下さい。
- Appleの情報 : /Library/PreviousSystems
- 実際 : /Library/SystemMigration/History/Migration-(some UUID)/QuarantineRoot
(Correction: We originally listed /Library/PreviousSystems as the SIP third-party migration target, since that location was the one given in Apple's prerelease developer documentation for SIP, but this is incorrect. The correct location, complete with a randomly-assigned UUID, is now shown above.)
[OS X 10.11 El Capitan: The Ars Technica Review - Ars Technica]
関連リンク:
コメントを書き込む