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

Bug#621803: Add support for /run directory



On Apr 26, rleigh <rleigh@codelibre.net> wrote:

> > -mount -t tmpfs -o nodev,noexec,nosuid,mode=0755 none /run
> > +mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run
Why does /run should not be noexec?

> I've added the block above because we can't make an upload of sysvinit/
> initscripts to unstable until we have an updated initramfs-tools in
> unstable, or else udev will break.  Therefore in order to have a smooth
Yes, if /run exists in the initramfs then it needs to be moved to the
root filesystem.

> Marco, have you tested this upgrade path?  That is /run in the
> initramfs and no /run on the rootfs?  Is udev checking for that and
No, but if the database is not copied to the initramfs then LVM will be
annoyed.

> not using /run in this scenario (or moving the files from /run to
> /dev/.udev)?  We will need to cope with this for a brief transitional
> period when initramfs-tools is updated and initscripts is not.
The udev initscript cannot know if there was a /run/udev in the
initramfs and it was lost.
Right now I can't see how to work around this.
If there is no /run in the initramfs then /dev/.udev/ will be used, and
since udev 167-3 the udev init script will move it to /run/udev/ (as
long as /run is a mount point, check the init script).

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: