[MacPorts] #39850: Sandbox denies access when prefix/portdbpath not normalised
MacPorts
noreply at macports.org
Sat Mar 22 10:50:12 PDT 2014
#39850: Sandbox denies access when prefix/portdbpath not normalised
-------------------------+----------------------------
Reporter: jwhowse4@… | Owner: cal@…
Type: defect | Status: closed
Priority: Normal | Milestone: MacPorts 2.3.0
Component: base | Version: 2.2.0
Resolution: fixed | Keywords:
Port: |
-------------------------+----------------------------
Comment (by keybounce@…):
This system dates from 10.6. During setup, I did reasonable "best
practices".
I made the root partition big enough for the operating system, and
reasonable growth.
Anything from apple would go on the root; anything of my own (user data)
would go onto a UserData partition.
Symlinks made it seamless.
Swapfiles? /tmp? Second partition. Minimize writes to the root.
Developer tools in the root? Symlink.
Then, comes 10.7.
Now, launchD won't even boot the system unless several things are valid
directories before mounting any other partitions -- so suddenly swap,
/var/folders, etc, have to be on the root. Worse, developer tools won't
update across a symlink.
So, my root partition went from being roomy to crowded -- and I've had to
push stuff into the other partition whereever I can.
Finding that some of the Apple frameworks force writes into the personal T
directory? Big surprise. I discovered this when a third party screen
recorder was running out of disk space, even though I had lots of room on
UserData. Investigation found that personal T directory setup -- and the
company said that they were using a standard apple framework. At that
point, I moved my T -- and the Apple /var/folders directories were large
enough that moving them made more room. I was still running out of swap
space for a while.
So the bottom line? I made a boot partition the right size for an
operating system, but the operating system changed and wants stuff on root
that has no business being on root, and insisted that the standard unix
system of symlinks was not good enough. I've had to make room.
No, for some reason that I have never understood, disk utility won't let
me resize my root partition, even if I boot from the recovery partition.
--
Ticket URL: <https://trac.macports.org/ticket/39850#comment:70>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list