[Bug 425058] New: /etc/init.d/smbfs does not always mount devices at boot
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058 Summary: /etc/init.d/smbfs does not always mount devices at boot Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Booting AssignedTo: jsrain@novell.com ReportedBy: vdboor-fora@codingdomain.com QAContact: jsrain@novell.com Found By: --- Running /etc/init.d/smbfs does not always work. Sometimes the shares are not mounted, but the initscript does not give any error message at all. Today setting up the interface failed at boot time. Judging from the logs, dhcp seams to be slow. I did have a network connection when I was logged in, and I'm not using networkmanager. --------- /var/log/boot.msg: Setting up network interfaces: lo lo IP address: 127.0.0.1/8 Checking for network time protocol daemon (NTPD): unused done eth0 device: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02) eth0 (DHCP) . . . . . no IP address yet... backgrounding. waiting Waiting for mandatory devices: eth0 __NSC__ 13 12 11 9 8 7 6 4 3 2 1 eth0 device: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02) eth0 dhcpcd is still waiting for data waiting eth0 interface could not be set up until now failedSetting up service network . . . . . . . . . . . . . . . failed Mount CIFS File Systems from /etc/samba/smbfstab //devel/modules on /mnt/devel/modules type cifs .<notice>startproc: execve (/sbin/auditd) [ /sbin/auditd -s disable ], [ CON SOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TERM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUM NS=156 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x31a RUNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-1280x1024.cfg P REVLEVEL=N LINES=60 HOME=/ SHLVL=2 splash=silent SPLASH=yes ROOTFS_BLKDEV=/dev/disk/by-id/scsi-SATA_ST3160023A_3JS49MBW-part2 _=/sbin/startp roc DAEMON=/sbin/auditd ] <notice>startproc: execve (/usr/sbin/avahi-daemon) [ /usr/sbin/avahi-daemon -D ], [ CONSOLE=/dev/console ROOTFS_FSTYPE=ext3 SHELL=/bin/sh TE RM=linux ROOTFS_FSCK=0 LC_ALL=POSIX INIT_VERSION=sysvinit-2.86 REDIRECT=/dev/tty1 COLUMNS=156 PATH=/bin:/sbin:/usr/bin:/usr/sbin vga=0x31a R UNLEVEL=5 PWD=/ SPLASHCFG=/etc/bootsplash/themes/SuSE/config/bootsplash-1280x1024.cfg PREVLEVEL=N LINES=60 HOME=/ SHLVL=2 splash=silent SPLA SH=yes ROOTFS_BLKDEV=/dev/disk/by-id/scsi-SATA_ST3160023A_3JS49MBW-part2 _=/sbin/startproc DAEMON=/usr/sbin/avahi-daemon ] Starting auditd done done //blackhole/upload/Diederik on /mnt/blackhole/upload-diederik type cifs Starting Avahi daemon.done --------- /etc/samba/smbfstab: //devel/modules /mnt/devel/modules cifs username=xxxx,password=xxxx,uid=1000,gid=1000 //blackhole/upload/Diederik /mnt/blackhole/upload-diederik cifs username=xxxx,password=xxxx,uid=1000,gid=100,dmask=0755,fmask=0644 --------- /etc/sysconfig/network/ifcfg-eth0: BOOTPROTO='dhcp' STARTMODE='onboot' NAME='ASUSTeK 82562EZ 10/100 Ethernet Controller' --------- /etc/sysconfig/network/config: (comments stripped) DEFAULT_BROADCAST="+" GLOBAL_POST_UP_EXEC="yes" GLOBAL_PRE_DOWN_EXEC="yes" CHECK_DUPLICATE_IP="no" DEBUG="no" USE_SYSLOG="yes" MODIFY_RESOLV_CONF_DYNAMICALLY="yes" MODIFY_NAMED_CONF_DYNAMICALLY="no" MODIFY_RESOLV_CONF_STATIC_DNS="" CONNECTION_SHOW_WHEN_IFSTATUS="no" CONNECTION_CHECK_BEFORE_IFDOWN="no" CONNECTION_CLOSE_BEFORE_IFDOWN="no" CONNECTION_UMOUNT_NFS_BEFORE_IFDOWN="no" CONNECTION_SEND_KILL_SIGNAL="no" MANDATORY_DEVICES="" WAIT_FOR_INTERFACES="20" FIREWALL="yes" LINKLOCAL_INTERFACES="eth*[0-9]|tr*[0-9]|wlan[0-9]|ath[0-9]" IFPLUGD_OPTIONS="-f -I -b" NETWORKMANAGER=no NM_ONLINE_TIMEOUT="0" NM_DISPATCHER=yes --------- /etc/sysconfig/network/dhcp: DHCLIENT_BIN="" DHCLIENT_DEBUG="no" DHCLIENT_SET_HOSTNAME="no" DHCLIENT_MODIFY_RESOLV_CONF="yes" DHCLIENT_SET_DEFAULT_ROUTE="yes" DHCLIENT_MODIFY_NTP_CONF="no" DHCLIENT_MODIFY_NIS_CONF="yes" DHCLIENT_SET_DOMAINNAME="yes" DHCLIENT_KEEP_SEARCHLIST="yes" DHCLIENT_LEASE_TIME="" DHCLIENT_TIMEOUT="999999" DHCLIENT_REBOOT_TIMEOUT="" DHCLIENT_HOSTNAME_OPTION="AUTO" DHCLIENT_CLIENT_ID="" DHCLIENT_VENDOR_CLASS_ID="" DHCLIENT_RELEASE_BEFORE_QUIT="no" DHCLIENT_SCRIPT_EXE="" DHCLIENT_UDP_CHECKSUM="yes" DHCLIENT_ADDITIONAL_OPTIONS="" DHCLIENT_SLEEP="0" DHCLIENT_WAIT_AT_BOOT="5" WRITE_HOSTNAME_TO_HOSTS="yes" DHCLIENT_MODIFY_SMB_CONF="yes" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
Jiri Srain
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User lmuelle@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c1
Lars Müller
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User anschneider@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c2
Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User vdboor-fora@codingdomain.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c3
Diederik van der Boor
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User anschneider@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c4
--- Comment #4 from Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User anschneider@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c5
Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User anschneider@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c6
Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User vdboor-fora@codingdomain.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c7
Diederik van der Boor
Does it work now? Nope.
I've got samba-client-3.0.32-1.3 installed, from home:gladiac. It still does not work. The symlink does exist now, but the target (/etc/sysconfig/network/scripts/smbfs) was not executable. I've done a `/etc/init.d/network restart` to test the symlink. Additional note: In the client-3.0.26a-3.5 of openSUSE 10.3 (guess this is the original) the 21-smbfs symlink and script in /etc/sysconfig/network/scripts/ does not exist. --- A second issue also isn't fixed: if an error occurs during mounting (e.g. typoo in the hostname), no error is given at all. This can be tested with: - mount -t cifs # initial list to compare - umount -a -t cifs - add a typoo in a host of /etc/samba/smbfstab - /etc/init.d/smbfs start - mount -t cifs # a mount point should be missing now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User vdboor-fora@codingdomain.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c8
--- Comment #8 from Diederik van der Boor
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User anschneider@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c9
Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
Andreas Schneider
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User vdboor-fora@codingdomain.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c10
--- Comment #10 from Diederik van der Boor
Could you please edit /etc/init.d/smfs and remove in line 115 the ">/dev/null" and try again.
This produces the following output: $ /etc/init.d/smbfs start Mount CIFS File Systems from /etc/samba/smbfstab //xblackhole/upload/Diederik on /mnt/blackhole/upload-diederik type cifs .mount error: could not find target server. TCP name xblackhole/upload not found No ip address specified and hostname not found done The error messages are displayed, but the init script still ends with a positive exit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=425058
User anschneider@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=425058#c11
Andreas Schneider
participants (1)
-
bugzilla_noreply@novell.com