[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)



Am 14.01.2017 um 20:00 schrieb Steve Langasek:
> 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.

The /run/shm symlink in systemd was added to minimize breakage when
doing the switch from sysvinit to systemd

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

Nod, I'd be more then happy to drop the /run/shm symlink again from systemd.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: