[Pkg-sysvinit-devel] Bug#469117: Bug#469117: sysvinit: Doesn't mount NFS shares at startup

Bilderbeek, Manuel manuel.bilderbeek at oce.com
Mon Mar 3 08:43:44 UTC 2008


Hi,

> What is the content of your /etc/fstab and /etc/network/interfaces?
> The current system try to mount the NFS mounts after all the 'auto'
> interfaces are up during boot.

Due to security reasons, I'll have to scratch out some names, but the
structure will be the same as the original file:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/hda4	/	ext3	defaults,noatime,errors=remount-ro
0 1
/dev/hda3	none	swap	sw	0 0
/dev/fd0	/floppy	auto	rw,user,noauto	0 0
/dev/hdc	/cdrom	auto	ro,user,noauto	0 0
proc	/proc	proc	defaults	0 0
/dev/hda1	/mnt/winxpdisk	ntfs
defaults,ro,user,noauto,umask=022,uid=0,gid=0
/dev/hda5	/mnt/datadisk	vfat
defaults,user,noauto,umask=022,uid=NNNNN,gid=100
nfsserver.oce.nl:/export/home/NAME	/mnt/datashare/	nfs
defaults,user,exec,auto,rsize=8192,wsize=8192	0	0
anothernfsserver.oce.nl:/files1/tools	/tools	nfs
defaults,user,exec,auto,rsize=8192,wsize=8192	0	0
//yetanotherserver/data	/mnt/scans	smbfs
credentials=/home/NAME/.scans-credentials,user,auto
 
Here is /etc/network/interfaces:

auto lo
iface lo inet loopback

# This entry was created during the Debian installation
auto eth0
iface eth0 inet dhcp

auto usb0
iface usb0 inet static
	address 10.0.0.1
        netmask 255.255.255.0

> > I found this possibly related issue in Ubuntu:
> > https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/45842
> 
> This is about having / on NFS.  It does not work without changes to

Not only, AFAICS.

> the boot system at the moment, because ifup does not do its normal
> things when the IP setup is done by the kernel before ifupdown is
> executed.  Not sure if it is related to your problem.  Your fstab will
> tell, I guess. :)

I hope this is enough to get a grip on this problem.

Thanks!

--
Kind regards,

Manuel Bilderbeek

(Apologies for the following stuff that is automatically added beyond my
power.) 

This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message.
  
Thank you for your co-operation.







More information about the Pkg-sysvinit-devel mailing list