[Pkg-sysvinit-devel] Bug#564635: more verbose message about missing /var/run

martin f krafft madduck at debian.org
Sun Jan 10 18:56:49 UTC 2010


Package: initscripts
Version: 2.87dsf-8
Severity: wishlist
File: /etc/init.d/mountkernfs.sh

I am writing this while offline, so I did not check for duplicates.
Sorry if there are.

I just transferred my system to a new harddrive and couldn't get
/var/run to be mounted as tmpfs; /var/lock was a tmpfs, however.

The problem turned out to be a missing /var/run directory on my root
filesystem (/var is separate). Since mountkernfs.sh runs before /var
is mounted, it mounts the tmpfs on the root filesystem, to have them
later moved into /var using pre-mountall and post-mountall.

/var/lock is a directory on my root filesystem, but /var/run is not.
It took me a while to figure this out. Maybe
/etc/init.d/mountkernfs.sh could make sure to be more verbose about
the problem, possibly even give the opportunity of a shell so that
the admin can fix the issue right there once and for all?

Thanks,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils                     8.1-1      GNU core utilities
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  libc6                         2.10.2-3   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  mount                         2.16.2-0   Tools for mounting and manipulatin
ii  sysv-rc                       2.87dsf-8  System-V-like runlevel change mech
ii  sysvinit-utils                2.87dsf-8  System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.9-1   ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.10-1    utilities that use the proc file s

initscripts suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100111/2a56e05e/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list