[Pkg-sysvinit-devel] Bug#482817: Bug#482817: initscripts: No longer mounts NFS filesystems at startup
Raphael Manfredi
Raphael_Manfredi at pobox.com
Sun May 25 11:50:06 UTC 2008
Quoting Petter Reinholdtsen:
: Can you provide the content of /etc/network/interfaces and /etc/fstab?
: NFS mounts are done when all interfaces are up. Are there some
: interfaces listed that are not brought up during boot?
I don't use /etc/network/interfaces on this machine. It uses the
old /etc/init.d/network hardwired configuration which says:
------------------------------------------------------------------------
ifconfig lo 127.0.0.1
IPADDR=192.168.0.3
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
GATEWAY=192.168.0.1
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
------------------------------------------------------------------------
It is triggered by:
/etc/rcS.d/S40network -> ../init.d/network
Before you object, let me tell you that I have other machines which use
/etc/network/interfaces and where the same problem occurs (i.e. no NFS
mounts)!
My /etc/fstab looks like this:
------------------------------------------------------------------------
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/md0 / ext2 defaults,errors=remount-ro 0 1
/dev/hde9 none swap sw,pri=8 0 0
/dev/hda5 none swap sw,pri=8 0 0
/dev/hda9 none swap sw,pri=7 0 0
proc /proc proc defaults 0 0
/dev/hda1 /boot ext2 defaults 0 2
/dev/md1 /usr ext2 defaults 0 2
/dev/md2 /var ext2 defaults 0 2
/dev/md3 /home ext3 defaults 0 2
/dev/md4 /ext/disk ext3 defaults 0 2
tours:/var/cache/apt/archives /var/cache/apt/archives nfs bg,hard,intr,nolock
------------------------------------------------------------------------
: And how was your machine configured before this happend? I thought
: the initscripts was always installed
It was configured exactly the same way. When I installed initscripts,
many new /etc/init.d/* files were installed and the logic of mounts
was obviously changed. I did not change any of my networking setup or
my /etc/fstab..
Raphael
More information about the Pkg-sysvinit-devel
mailing list