[Pkg-sysvinit-devel] /run transition

Kel Modderman kel at otaku42.de
Sat Apr 16 22:42:45 UTC 2011


On Sun, 17 Apr 2011 02:06:50 AM Roger Leigh wrote:

> > As for the /run conversion, on my system there is a chmod call in mountkernfs.sh
> > that is failing because / is ro at that moment, even though $rootmode = rw.
> > 
> > The set -x trace is:
> > ---
> > + touch /run/.ramfs
> > + mkdir --mode=755 /run/lock
> > + [ yes = no ]
> > + chmod 1777 /run/lock
> > + touch /run/lock/.ramfs
> > + [ -L /tmp ]
> > + [ rw != rw ]
> > + [ yes = no ]
> > + chmod 1777 /tmp
> > chmod: changing permissions of '/tmp':Read-only file system
> 
> As mentioned on IRC, this was fixed before upload.

'ro' is present as kernel/boot parameter, / doesn't get remounted rw 'til
later in boot sequence. This chmod call will fail because $rootmode is set to
rw if ro is not found in /etc/fstab as option for /.

Thanks, Kel.



More information about the Pkg-sysvinit-devel mailing list