[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to mount /(dev|run)/shm properly? (was Re: Auto reject if autopkgtest of reverse dependencies fail or cause FTBFS)



On Fri, Jan 13, 2017 at 03:54:30PM +0000, Simon McVittie wrote:
> If I'm reading the initscripts code correctly, sysvinit does the reverse
> by default, for some reason (/run/shm is the mount point and /dev/shm the
> symlink). I think the motivation might have been to be able to use the
> same tmpfs for /run and /run/shm,

I recall this being a misguided attempt to move it out of /dev "because it's
not a device".  The migration did not go well, especially in the face of
chroots that need to have it mounted, and since systemd did not handle this
the same way sysvinit had, we effectively now have a mess in the other
direction.

We should fix it so that everything again treats /dev/shm as the mountpoint.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: PGP signature


Reply to: