Package: base
Severity: minor
Description:
After building a chroot system I wanted to mount /chroot/proc on boot so I
added it to /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults
0 0
/dev/sda3 / ext3
defaults,errors=remount-ro 0 1
none /tmp tmpfs defaults
0 0
/dev/hda4 /home ext3 defaults
0 2
/dev/sda7 /usr ext3 defaults
0 2
proc /chroot/proc proc defaults
0 0
/dev/sda6 /var ext3 defaults
0 2
/dev/sda5 none swap sw
0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0
0
# end /etc/fstab
Please note that /chroot is a symlink to /usr/local/chroot.
After rebooting the system /chroot/proc was not mounted.
Investigation:
the init script /etc/rcS.d/S35mountall.sh mounts proc filesystems before
other
filesystems listed in /etc/fstab. Therefore any proc filesystem that lives
on an other
mount point than / (root) will not get mounted (error: directory does not
exist).
Quick fix:
Add an additional 'mount -a -t proc >/dev/null 2>&1' after the nonproc
filesystems
are mounted.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Best regards,
BigMan
_________________________________________________________________
Play online games with your friends with MSN Messenger
http://www.join.msn.com/messenger/overview
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]