Re: Fink 10.15 & read-only root
John Lillibridge <[email protected]> Mon, 19 Aug 2019 21:56:43 -0400
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks very much for weighing in Alexander. This is a thorny issue that impacts other projects like MacPorts, as well as Fink… I realize that the Fink project has been using /sw for 18 years or so now, but I agree that using /opt/sw is probably the best solution. As long as binary distributions could be supported with this new path, perhaps the time has come to make this paradigm shift. Even though I’ve succeeded installing /sw under 10.15, by disabling SIP and using e.g. ‘sudo mount -uw /‘, it seems like an uphill battle. Since /opt is already a supported firmlink, putting sw under /opt would guarantee write-access. I look forward to the consensus of the core group. Cheers, John L. > On Aug 19, 2019, at 19:21, Alexander Hansen <[email protected]> wrote: > >> On Aug 19, 2019, at 06:29, John Lillibridge <[email protected]> wrote: >> >> Thanks Scott, >> >> I appreciate your instructions to disable SIP via ‘csrutil’, but that isn’t sufficient for 10.15 Catalina. The “system disk” is now split into a read-only root (/) and a read-write “Data” partition. So, if your system disk was “Mac HD”, there would be a read-only volume by that name and a read-write volume named “Mac HD - Data”. These appear as one in the Finder, and what appear to be writable directories at the root level (e.g. /usr/local) are tied together via a new APFS filetype called “firmlinks”. The current crop of these new links is found in /usr/share/firmlinks. >> >> So it is more complicated than disabling SIP under 10.15. What I did find out, surprisingly, is that I could create /sw, and install Fink by first making the read-only filesystem read-write via: >> >> sudo mount -o rw / >> >> This was NOT supposed to continue working past the first beta, but as of 10.15b5 it still does work. After a reboot, the root filesystem is again read-only. >> >> I look forward to continuing to work on this. My hope is that Apple will create a firmlink for /sw (they already provide /opt) so that everything will work as it did with 10.14 & earlier. There is no ability for users (even sudo/root) to make new firmlinks… >> >> More to come! >> John L. > > Unfortunately, that’s very unlikely. Apple is indifferent about Fink. We might need to switch to using /opt/Fink and to disallow alternate locations. > -- > Alexander Hansen, Ph.D. > Fink User Liaison _______________________________________________ Fink-devel mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel