[Bug 725503] New: multiminute hang/delay during sysvinit
https://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c0 Summary: multiminute hang/delay during sysvinit Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mrmazda@earthlink.net QAContact: qa@suse.de Found By: --- Blocker: --- I've done 'zypper dup' on several 32 bit machines using init=/sbin/init on grub cmdline in recent days, and this is happening on every one of them. tty1 displays normal boot messages up into eth0 initialization, then just sits that way several minutes before more messages appear and init finishes. On the boot that completed seconds ago, neither /var/log/boot.msg nor /var/log/boot.omsg was written. boot.omsg was actually last written when this machine was last dup'd 11 days ago. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com, | |werner@suse.com AssignedTo|werner@suse.com |coolo@suse.com --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2011-10-25 09:20:40 UTC --- You are pretty sure that you have booted SysVinit? Simply because /sbin/init could be a symbolic link ... on the other head the file /sbin/init could be part of both sysvinit-init and systemd-sysvinit -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c2 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mrmazda@earthlink.net AssignedTo|coolo@suse.com |fcrozat@suse.com --- Comment #2 from Stephan Kulow <coolo@suse.com> 2011-10-25 12:34:32 CEST --- not sure why I get this bug. /sbin/init is systemd most likely - so provide dmesg output -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c3 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mrmazda@earthlink.net | --- Comment #3 from Felix Miata <mrmazda@earthlink.net> 2011-10-25 13:30:04 UTC --- Created an attachment (id=458736) --> (http://bugzilla.novell.com/attachment.cgi?id=458736) dmesg as first command executed on first post-boot login (In reply to comment #1)
You are pretty sure that you have booted SysVinit? Simply because /sbin/init could be a symbolic link ... on the other head the file /sbin/init could be part of both sysvinit-init and systemd-sysvinit
I thought that init=/sbin/init was all that was required to use sysvinit instead of systemd. Now I see on the first system checked that /sbin/init is indeed a symlink to systemd, in spite of the fact that all my 12.1 systems were initially installed prior to systemd becoming default, had systemd locked out until M5, and use init=/sbin/init on all Grub kernel lines. Nevertheless, the extended boot delay is real. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c4 --- Comment #4 from Frederic Crozat <fcrozat@suse.com> 2011-10-25 13:46:03 UTC --- try booting with systemd.log_level=debug systemd.log_target=kmsg and post dmesg output. you can also try to run systemd-analyze blame to see which service is taking time to start. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c5 --- Comment #5 from Felix Miata <mrmazda@earthlink.net> 2011-10-25 14:19:56 UTC --- Created an attachment (id=458753) --> (http://bugzilla.novell.com/attachment.cgi?id=458753) dmesg booted with systemd.log_level=debug systemd.log_target=kmsg (In reply to comment #4)
try booting with systemd.log_level=debug systemd.log_target=kmsg and post dmesg output.
attached
you can also try to run systemd-analyze blame to see which service is taking time to start.
7419ms md.service 3688ms smb.service 3656ms smartd.service 1802ms nfsserver.service 1755ms nmb.service 1347ms systemd-vconsole-setup.service 1311ms cifs.service 1084ms systemd-logind.service 947ms cycle.service 939ms systemd-remount-api-vfs.service 886ms var-lock.mount 865ms var-run.mount 836ms media.mount 835ms localnet.service 815ms remount-rootfs.service 691ms systemd-sysctl.service 635ms dev-hugepages.mount 616ms console-kit-daemon.service 599ms sys-kernel-security.mount 598ms syslog.service 535ms network-remotefs.service 523ms microcode.ctl.service .. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c6 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Network AssignedTo|fcrozat@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #6 from Frederic Crozat <fcrozat@suse.com> 2011-10-25 14:47:51 UTC --- network is timing out. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c7 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |mrmazda@earthlink.net --- Comment #7 from Marius Tomaschewski <mt@suse.com> 2011-10-31 09:31:38 UTC --- The timeout is visible in the attached logs, but not the reason. Could you please take a look if there is some error visible in /var/log/messages or /var/log/boot.msg? Further, I'd like to see what happens when normal sysvinit is in use. Could you switch by installing "sysvinit-init" package, reboot and attach /var/log/messages and /var/log/boot.msg and the output of "ip a s; ip -4 r s; ip -6 r s"? A timeout is normal when there is a configuration file for an interface that does not exist any more (e.g. when you've removed a NIC) and the interface ifcfg file isn't using STARTMODE=hotplug or ifplugd for the interface. Then the network scripts waits WAIT_FOR_INTERFACES (30) secs long for this interface to appear. New is: ifup checks and waits until IPv6 duplicate address detection finished [success or failure] by default (IPV6_DAD_WAIT=0 disables it). -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c8 --- Comment #8 from Felix Miata <mrmazda@earthlink.net> 2011-10-31 15:56:04 UTC --- Created an attachment (id=459615) --> (http://bugzilla.novell.com/attachment.cgi?id=459615) ip outputs and logs requested in comment 7 (In reply to comment #7)
Could you please take a look if there is some error visible in /var/log/messages or /var/log/boot.msg?
I forgot to do this before installing sysvinit-init and rebooting on the first machine tried on, gx280, which is a machine not yet updated from beta1 (previous kernel 3.1.rc7) to RC1 (& 3.1.rc9) until after this change, and didn't suffer this bug on first boot today to update this bug.
Further, I'd like to see what happens when normal sysvinit is in use. Could you switch by installing "sysvinit-init" package, reboot and attach /var/log/messages and /var/log/boot.msg and the output of "ip a s; ip -4 r s; ip -6 r s"?
This attachment. Todo: other machine(s) as time permits, so leaving NEEDINFO set. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c9 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bili@suse.com --- Comment #9 from Marius Tomaschewski <mt@suse.com> 2011-11-14 17:08:17 UTC --- (In reply to comment #8)
Created an attachment (id=459615) --> (http://bugzilla.novell.com/attachment.cgi?id=459615) [details] ip outputs and logs requested in comment 7
(In reply to comment #7)
Could you please take a look if there is some error visible in /var/log/messages or /var/log/boot.msg?
I forgot to do this before installing sysvinit-init and rebooting on the first machine tried on, gx280, which is a machine not yet updated from beta1 (previous kernel 3.1.rc7) to RC1 (& 3.1.rc9) until after this change, and didn't suffer this bug on first boot today to update this bug.
OK, there is no problem with sysvinit: service network start <notice -- Oct 30 23:41:03.80895000> service dbus done Starting D-Bus daemondone Setting up (localfs) network interfaces: lo lo IP address: 127.0.0.1/8 done eth0 device: Broadcom Corporation NetXtreme BCM5751 Gigabi eth0 IP address: 192.168.0.28/24 .. Setting up service (localfs) network . . . . . . . . . .done <notice -- Oct 30 23:41:05.452140000> service network done but under systemd, strange things happen... [ 22.433659] systemd[1]: About to execute: /etc/init.d/network start [ 22.464094] systemd[1]: Forked /etc/init.d/network as 958 [ 22.464202] systemd[1]: network.service changed dead -> start .. [ 22.949786] systemd[1]: Received SIGCHLD from PID 1073 (network). [ 22.949854] systemd[1]: Got SIGCHLD for process 1073 (network) [ 22.949993] systemd[1]: Child 1073 died (code=exited, status=1/FAILURE) .. [ 24.110629] r8169 0000:03:00.0: eth0: link down [ 24.112959] r8169 0000:03:00.0: eth0: link down [ 24.173675] systemd[1]: Received SIGCHLD from PID 1330 (ifup-route). [ 24.173752] systemd[1]: Got SIGCHLD for process 1330 (ifup-route) [ 24.173862] systemd[1]: Child 1330 died (code=exited, status=1/FAILURE) ???? It looks like somebody (who?!) would call "ip link set down" and the route script fails while trying to add the (default) route... [ 24.267765] systemd[1]: Accepted connection on private bus. [ 24.268346] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Manager.StartUnit() on /org/freedesktop/systemd1 [ 24.268375] systemd[1]: Trying to enqueue job nmb.service/start/replace [ 24.268783] systemd[1]: Enqueued job nmb.service/start as 106 [ 24.269030] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Manager.GetUnit() on /org/freedesktop/systemd1 [ 24.269259] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Properties.Get() on /org/freedesktop/systemd1/unit/nmb_2eservice [ 25.872607] r8169 0000:03:00.0: eth0: link up and finally, it gets killed by garbage collector: [ 322.433651] systemd[1]: network.service operation timed out. Terminating. [ 322.435592] systemd[1]: network.service changed start -> final-sigterm [ 322.435631] systemd[1]: Running GC... [ 322.436106] systemd[1]: Received SIGCHLD from PID 958 (network). [ 322.436154] systemd[1]: Got SIGCHLD for process 958 (network) [ 322.436253] systemd[1]: Child 958 died (code=killed, status=15/TERM) [ 322.436260] systemd[1]: Child 958 belongs to network.service [ 322.436276] systemd[1]: network.service: control process exited, code=killed status=15 [ 322.436284] systemd[1]: network.service got final SIGCHLD for state final-sigterm [ 322.436306] systemd[1]: network.service changed final-sigterm -> failed [ 322.436457] systemd[1]: Job network.service/start finished, result=failed [ 322.438832] systemd[1]: Unit network.service entered failed state. [ 322.440914] systemd[1]: network.target changed dead -> active [ 322.440932] systemd[1]: Job network.target/start finished, result=done => Added Bin Le to Cc as the reason may be same here as with NM in 728474. Hmm... It would be interesting to see at least a "ps axwww" at the time where it happens... Can you provide the ifcfg-eth0 file -- are you using "ifplugd" or something like that? Can you set DEBUG=EXTRA in /etc/sysconfig/network/config, boot with systemd and provide an archive of /dev/.sysconfig/network ? Note, it may write a lot of data into this directory (all scripts running with bash -vx and more). -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|multiminute hang/delay |multiminute hang/delay |during sysvinit |during systemd boot -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c10 --- Comment #10 from Marius Tomaschewski <mt@suse.com> 2011-11-15 11:45:36 UTC --- See also bug 724777#c4 -- there seems to be a if-up.d/21-dhcpcd-hook-samba trying to reload nmb and the "/bin/systemctl force-reload nmb.service" hangs. In the attached logs there is also a nmb involved: [ 24.268375] systemd[1]: Trying to enqueue job nmb.service/start/replace [ 24.268783] systemd[1]: Enqueued job nmb.service/start as 106 [ 24.269030] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Manager.GetUnit() on /org/freedesktop/systemd1 [ 24.269259] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Properties.Get() on /org/freedesktop/systemd1/unit/nmb_2eservice -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c11 --- Comment #11 from Marius Tomaschewski <mt@suse.com> 2011-11-15 11:53:22 UTC --- Can you test if the problem still happens when you set DHCLIENT_MODIFY_SMB_CONF="no" in /etc/sysconfig/network/dhcp? And/or disable nmb and smb? -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c12 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mrmazda@earthlink.net | --- Comment #12 from Felix Miata <mrmazda@earthlink.net> 2011-11-17 02:41:32 UTC --- /etc/samba/dhcp.conf does not exist, so changing yes to no should produce no consequence. All my 12.1 systems use only fixed IP. 'insserv -r smb; insserv -r nmb; init 6' produced a normal speed boot on host t2240, my only system not converted back to using sysvinit by installing sysvinit-init since this was filed. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c13 --- Comment #13 from Frederic Crozat <fcrozat@suse.com> 2011-11-17 15:02:05 UTC --- it would be interesting to see if commenting (in /etc/sysconfig/network/if-up.d/21-dhcpcd-hook-samba) for service in ${servicesToReload}; do test -x /etc/init.d/${service} && /etc/init.d/${service} force-reload done fixes the issue. I had to do a similar fix in /etc/sysconfig/network/if-up.d/21-cifs (this is a known bug in systemd, which isn't really re-entrant). -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c14 --- Comment #14 from Felix Miata <mrmazda@earthlink.net> 2011-11-18 03:32:16 UTC --- Since that file is a symlink, which vexes my (standard troubleshooting) attempt to backup to the same dir, I edited the original in /etc/sysconfig/network/scripts. No apparent impact on reported problem. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c15 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jslaby@suse.com --- Comment #15 from Jiri Slaby <jslaby@suse.com> 2011-11-18 14:04:56 UTC --- *** Bug 731308 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=731308 -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c16 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mt@suse.com |fcrozat@suse.com --- Comment #16 from Marius Tomaschewski <mt@suse.com> 2011-11-18 15:28:57 UTC --- Reassigned due to comment 13 and bug 731308 comment 0 and also bug 724777. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c Mike Coleman <mcoleman@tradebotsystems.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mcoleman@tradebotsystems.co | |m Severity|Normal |Major -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c17 --- Comment #17 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2011-11-27 05:21:23 UTC --- Created an attachment (id=464194) --> (http://bugzilla.novell.com/attachment.cgi?id=464194) log critical at 05:32:15 network.service operation timed out I have the same problem (the network is available only after 5 minutes) and some others too: forums.opensuse.org/english/get-technical-help-here/network-internet/468111-systemd-1-network-service-operation-timed-out-terminating.htmlthe network is available only after 5 minutes. After the 5 minutes (although the network is working then): betty:/ # systemctl status network.service network.service - LSB: Configure the localfs depending network interfaces Loaded: loaded (/etc/init.d/network) Active: failed since Sun, 27 Nov 2011 05:32:15 +0100; 15min ago Process: 847 ExecStart=/etc/init.d/network start (code=killed, signal=TERM) CGroup: name=systemd:/system/network.service -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c18 Christian Bachmaier <chris@infosun.fim.uni-passau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@infosun.fim.uni-passa | |u.de --- Comment #18 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2011-11-27 05:51:21 UTC --- systemctl disable nmb.service resolves the problem. However, that is no option for me. Please have a look into that, it is a very annoying bug. Setting the variable or commenting out the 3 lines as suggested in comments 11 and 13 do not help. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c19 --- Comment #19 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2011-11-27 08:36:09 UTC --- letting nmb.service enables but removing the symlink 21-cifs in /etc/sysconfig/network/if-up.d also solves the problem. Unfortunately, I have no idea what the side effects are. A fix would be nice. Thx. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c20 Christian Bachmaier <chris@infosun.fim.uni-passau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|i686 |x86-64 Version|Factory |Final --- Comment #20 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2011-12-03 07:04:18 UTC --- The bug is also in 12.1 final x86_64... -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c21 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86-64 |All --- Comment #21 from Felix Miata <mrmazda@earthlink.net> 2011-12-03 07:21:31 UTC --- Filed on 32 bit, as that's all I ever use. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c22 --- Comment #22 from Frederic Crozat <fcrozat@suse.com> 2011-12-20 15:58:19 UTC --- please test samba-client package from home:fcrozat:systemd/samba -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c23 --- Comment #23 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2011-12-20 19:41:52 UTC --- I tried http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12... since the subdirectory samba within ...systemd/ does not exist. However, things seem no to have changed. Thus I am reverting back to the version from OSS and keeping /etc/sysconfig/network/if-up.d/21-cifs deleted. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c24 --- Comment #24 from Frederic Crozat <fcrozat@suse.com> 2011-12-21 09:10:00 UTC --- Hmm, you h -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c25 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |chris@infosun.fim.uni-passa | |u.de --- Comment #25 from Frederic Crozat <fcrozat@suse.com> 2011-12-21 09:18:36 UTC --- please keep samba-client from home:fcrozat:systemd so we can try to fix it. Could you try commenting the following block from /etc/sysconfig/network/if-up.d/21-cifs : if rc_active nmb; then if grep -q -E ':name=systemd:/system/' /proc/$$/cgroup ; then log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1) else log_msg=$( rcnmb start 2>&1) fi log_dbg "${log_msg}" fi and reports if it works ? -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c26 Christian Bachmaier <chris@infosun.fim.uni-passau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|chris@infosun.fim.uni-passa | |u.de | --- Comment #26 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2011-12-21 18:43:32 UTC --- Using the new samba-client package and commenting out the in comment 25 mentioned code block eliminates the delay and the system seems to boot up normally. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c27 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |crrodriguez@opensuse.org Resolution| |DUPLICATE Severity|Major |Critical --- Comment #27 from Cristian Rodríguez <crrodriguez@opensuse.org> 2012-01-07 01:08:47 CLST --- dup *** This bug has been marked as a duplicate of bug 732395 *** http://bugzilla.novell.com/show_bug.cgi?id=732395 -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c28 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|DUPLICATE | --- Comment #28 from Felix Miata <mrmazda@earthlink.net> 2012-01-07 05:37:30 UTC --- . -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c29 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lynn@steve-ss.com --- Comment #29 from Felix Miata <mrmazda@earthlink.net> 2012-01-07 05:39:15 UTC --- *** Bug 732395 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=732395 -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c30 --- Comment #30 from lynn wilson <lynn@steve-ss.com> 2012-01-07 07:48:34 UTC --- Hi Felix Does this fix it in your case? https://bugzilla.novell.com/show_bug.cgi?id=732395#c13 HTH -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c31 --- Comment #31 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2012-01-08 08:17:15 UTC --- Thx to Felix for reopening the bug. It is NOT solved, at least for me, and yes, this bug is CRITICAL (a killer!) now for almost 2 months in the final version. The only thing that helps so far is commenting out line 63 log_msg=$( rcnmb start 2>&1) in the released version of the cifs script in the samba-client package or the corresponding line 64 setting (only) the ignore-dependencies flag log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1) in the updated samba-client package of Frederic. It would also be nice to get some background information about the purpose of this script, what it does and why it is necessary. Is it to be able to mount cifs shares within fstab in a fixed fashion? As far as I know, other distributions (Ubuntu) do not have something similar. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c32 --- Comment #32 from Marius Tomaschewski <mt@suse.com> 2012-01-10 13:28:04 UTC --- Please install also systemd updates (with support for X-Systemd-RemainAfterExit) and also the sysconfig (and dhcp-client and -base) package(s) from: http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/ope... or wait for update release -- it contains a fix for bug 727771 adding X-Systemd-RemainAfterExit: true to /etc/init.d/network* script so network start does not trigger also a network stop ... because of the dependency deadlocks, it causes a "start ; stop" and not "start". (In reply to comment #31)
It would also be nice to get some background information about the purpose of this script, what it does and why it is necessary. Is it to be able to mount cifs shares within fstab in a fixed fashion? As far as I know, other distributions (Ubuntu) do not have something similar.
No, they may not have them. /etc/sysconfig/network/if-up.d/21-dhcpcd-hook-samba: AFAIS, it writes WINS server, ... it got via dhcp into the /etc/samba/dhcp.conf (included in /etc/samba/smb.conf): ## Path: Network/DHCP/DHCP client ## Description: DHCP client configuration ## Type: yesno ## Default: yes # # Should the DHCP client modify /etc/samba/dhcp.conf? # DHCLIENT_MODIFY_SMB_CONF="yes" /etc/sysconfig/network/if-up.d/21-cifs: AFAIS, it start/stops /etc/init.d/cifs and nmb when the network is restarted. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c33 --- Comment #33 from Marius Tomaschewski <mt@suse.com> 2012-01-10 13:29:18 UTC --- BTW: See also bug 724777. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c34 Malvern Star <malv_star@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |malv_star@hotmail.com --- Comment #34 from Malvern Star <malv_star@hotmail.com> 2012-01-20 04:15:53 UTC --- My bug is apparently a dupe of this: https://bugzilla.novell.com/show_bug.cgi?id=742114 -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c35 --- Comment #35 from d t <dua.survey@isp.com> 2012-01-23 18:13:22 UTC --- Pardon me if this is obvious, but I find if I do (on 12.1 x86_64): systemctl stop network.service followed by: systemctl start network.service It works immediately. As has been mentioned, it's a locking or blocking issue, but don't know if this would help anyone in figuring out how to correct things. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c36 --- Comment #36 from Frederic Crozat <fcrozat@suse.com> 2012-01-27 15:05:39 UTC --- could people test new version of the samba-client package from OBS (home:fcrozat:systemd / samba ) ? I think I fixed the various deadlock in there. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c37 --- Comment #37 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2012-01-27 18:04:10 UTC --- (In reply to comment #36) Sorry, no go from my side. I have installed http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12... which again shows the delay. As with the release version and the previous versions from Frederic it helps to remove the link /etc/sysconfig/network/if-up.d/21-cifs . Please note: I did not install the systemd updates from http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/ope... as Marius suggested in comment 32. I prefer to wait for the official updates as this seems to be somehow very complicated for me. Further, I do not fully understand what they do fix and what rpms exactly are needed to be updated. However, this entry is now open for quite a long time for a very critical bug. Some people (excluding me) may think about leaving the best distribution of the world towards another one. Please note, if I could fix the bug, I would have already done it ;-( -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c38 --- Comment #38 from lynn wilson <lynn@steve-ss.com> 2012-01-30 10:52:20 UTC --- rpm -q samba-client samba-client-3.6.1-34.6.1.i586 Just noticed this: rcnmb status redirecting to systemctl nmb.service - LSB: Samba NetBIOS naming service over IP Loaded: loaded (/etc/init.d/nmb) Active: active (running) since Mon, 30 Jan 2012 11:49:36 +0100; 40s ago Process: 1560 ExecReload=/etc/init.d/nmb reload (code=exited, status=3/NOTIMPLEMENTED) Process: 1518 ExecStart=/etc/init.d/nmb start (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/nmb.service └ 1529 /usr/sbin/nmbd -D -s /etc/samba/smb.conf Don't know whether it's relevant. All OK here. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c39 --- Comment #39 from Frederic Crozat <fcrozat@suse.com> 2012-01-30 15:32:09 UTC --- please, try to install the test update from Marius, they fixes both dhcp script becoming sometime corrupted when booting with systemd and also network service not staying up and running under systemd. I've also pushed another fix to samba-client, please test samba-client 3.6.1-34.7.1 or later ; packages are available at http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12... -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c40 --- Comment #40 from Christian Bachmaier <chris@infosun.fim.uni-passau.de> 2012-01-30 20:05:22 UTC --- (In reply to comment #39)
I've also pushed another fix to samba-client, please test samba-client 3.6.1-34.7.1 or later ; packages are available at http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12...
This version (x86_64 tested) seems to fix the boot delay! Many thanks to Frederic. What I could not test is functionality like updating the wins server by dhcp. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c41 --- Comment #41 from Felix Miata <mrmazda@earthlink.net> 2012-02-06 07:08:25 UTC --- I found a Factory RC1 system (host big31) last updated in October and with sysvinit-init not yet installed, switched its repos to 12.1, did zypper dup, rebooted runlevel 3 to find the long delay problem remaining, added the repos in comment 39 and comment 32, repeated zypper dup, and rebooted runlevel 3 once more. The boot delay was gone, but tty1 cleared (which does not happen with sysvinit-init, as I wish), then a login prompt was presented, after which the screen became littered with more boot messages (SMF/CIFS server, ntp, segfault in libfs.so.0, Machine check events logged) obfuscating the login prompt. Boot was obviously incomplete, as NUM was off, as it never ever should be on my systems, meaning at least one setting in /etc/sysconfig/keyboard was disregarded. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c42 --- Comment #42 from Felix Miata <mrmazda@earthlink.net> 2012-02-12 07:41:20 UTC --- Created an attachment (id=475752) --> (http://bugzilla.novell.com/attachment.cgi?id=475752) dmesg (In reply to comment #4)
try booting with systemd.log_level=debug systemd.log_target=kmsg and post dmesg output.
I installed 12.2M1 fresh yesterday. Initially there was no boot delay, but after several boots I turned on several services with chkconfig and added several RAID1 partition entries to fstab, which caused the this long delay. IIRC, newly enabled services included smb, nmb, nfs, nfsserver, rpcbind, cifs & smolt.
you can also try to run systemd-analyze blame to see which service is taking time to start.
8518ms md.service 2802ms ntp.service 2296ms nfsserver.service 2232ms nmb.service 2073ms localnet.service 1589ms cifs.service 1587ms systemd-vconsole-setup.service 1427ms systemd-modules-load.service 1225ms cycle.service 1044ms systemd-logind.service 960ms nfs.service 892ms network-remotefs.service 714ms smb.service 556ms console-kit-daemon.service 554ms avahi-daemon.service 540ms remount-rootfs.service 514ms syslog.service 485ms udev.service 465ms systemd-remount-api-vfs.service 458ms var-run.mount 346ms cpufreq.service 306ms media.mount 294ms var-lock.mount 278ms sys-kernel-debug.mount 232ms systemd-tmpfiles-setup.service 224ms rpcbind.service 195ms console-kit-log-system-start.service 190ms systemd-sysctl.service 171ms sys-kernel-security.mount 166ms usr-local.mount 137ms dbus.service 136ms fbset.service 133ms udev-trigger.service 109ms systemd-user-sessions.service 108ms dev-mqueue.mount 104ms purge-kernels.service 99ms home.mount 97ms smolt.service 94ms sshd.service 89ms disks-boot.mount 80ms dev-hugepages.mount 78ms disks-sda-boot.mount 57ms rc-local.service 54ms pub.mount 41ms acpid.service -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c43 --- Comment #43 from Felix Miata <mrmazda@earthlink.net> 2012-02-12 17:03:58 UTC --- 'chkconfig smb off; chkconfig nmb off' eliminated the delay. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c44 --- Comment #44 from Frederic Crozat <fcrozat@suse.com> 2012-02-13 10:02:13 UTC --- fix for Factory is not yet checked-in : https://build.opensuse.org/request/show/103616 -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c45 Wilfred van Velzen <wvvelzen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent --- Comment #45 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-02-17 12:57:37 UTC --- I upped the priority to 'Urgent'. It's very annoying to have to wait 5 minutes every time you reboot or start a desktop machine. For production servers I think this is a "deal breaker"... -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c46 --- Comment #46 from Frederic Crozat <fcrozat@suse.com> 2012-02-17 13:11:46 UTC --- test package are available if you can't wait. official update is in progress for the samba part. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c47 --- Comment #47 from Frederic Crozat <fcrozat@suse.com> 2012-02-17 16:36:29 UTC --- and the samba fix is now available in Factory too. -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c48 --- Comment #48 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-02-20 21:49:03 UTC --- FYI: Updating the samba-client from: http://download.opensuse.org/repositories/home:/fcrozat:/systemd/openSUSE_12... Fixed the 5 minutes boot delays I was experiencing... -- 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://bugzilla.novell.com/show_bug.cgi?id=725503 https://bugzilla.novell.com/show_bug.cgi?id=725503#c49 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #49 from Frederic Crozat <fcrozat@suse.com> 2012-02-21 08:56:54 UTC --- closing as fixed (package for 12.1 is in maintenance team hands). -- 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.
participants (1)
-
bugzilla_noreply@novell.com