varlock and varrun
Nils Kassube
kassube at gmx.net
Mon Apr 16 19:35:43 UTC 2007
On Monday 16 April 2007 10:45, Christoph Pleger wrote:
> Hello,
>
> I wrote:
> > I generated a minimal edgy system by debootstrap, copied that system
> > to a machine with fresh formatted partitions and installed a kernel
> > and a bootloader. After rebooting, the machine did not fully come up
> > and I found out that the reason for that was that /var/lock and
> > /var/run had not been mounted. After some investigation I found out
> > that /var/lock and /var/run should be mounted by S01mountkernfs.sh
> > and I wonder how that is possible when S35mountall.sh is run later,
> > because the mountpoints /var/lock and /var/run cannot be present
> > before mounting /var, what normally should be done by S35mountall.sh.
> >
> > In spite of that, after a normal CD-installation the machine boots
> > successfully. But I cannot find the significant difference between a
> > CD-installation and my debootstrap-installation.
> >
> > Does anybody know why mounting /var/lock and /var/run works ok after
> > installing from CD?
>
> Does really nobody here know how Ubuntu manages to mount /var/lock and
> /var/run before /var? In a user technical support list?
>
> Regards
> Christoph
On my Dapper system:
$ grep -l varrun /etc/init.d/*
/etc/init.d/mtab
$ ls -l /etc/rc*.d/*mtab
lrwxrwxrwx 1 root root 14 2007-02-21 22:24 /etc/rcS.d/S22mtab -> ../init.d/mtab
I.e. the script mtab is started before mountall.sh.
Nils
More information about the ubuntu-users
mailing list