Your message dated Fri, 21 Feb 2025 15:18:03 +0000
with message-id <[email protected]>
and subject line Re: Network filesystems not mounted at boot
has caused the Debian Bug report #643651,
regarding Automount of CIFS filesystems during startup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
643651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643651
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-13.1
I have several lines describing my remote cifs filesystems in /etc/fstab. For
example.
/etc/fstab:
//192.168.0.1/Shared /mnt/samba/shared cifs
uid=33,gid=33,file_mode=0666,dir_mode=0777,iocharset=cp1251,username=foo,password=pass
0 0
During boot-up automount scripts try to mount all filesystems mentioned in
/etc/fstab.
It often happens before network interface become actually being brought up.
Especially ethernet bridges go up very slowly.
Then I can see the following errors in my logs:
CIFS VFS: Error connecting to socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -113
Of course, automatic mount of cifs filesystems fails during boot-time.
I have to mount them later, manually.
I suggest to exclude cifs filesystems from boot-time automount scripts and
mount them later, after all interfaces are up. For exapmle, to arrange something
like "mountnfs" behaviour.
This is my suggestion into whishlist for further releases.
--- End Message ---
--- Begin Message ---
It is impossible to disentagle these reports which have been lumped together but
have incomplete information and may not have had the same underlying cause
I think that recent if-up.d/nfsroot works as advertised.
Please note that you must use auto (rather than allow-hotplug) for the relevant
/etc/network/interfaces.
ASYNCMOUNTNFS=no in rcS(5) is useful if you boot with nfsroot or ip on the
kernel command line. That will become the default in these cases when the patch
in #434570 is uploaded.
So, I am going to close all of these remaining reports.
If there are still outstanding issues, please open new issues and we can start
again with a clean slate.
Thanks
Mark
--- End Message ---