[Bug 732395] New: systemd takes 5 minutes to start processes
https://bugzilla.novell.com/show_bug.cgi?id=732395 https://bugzilla.novell.com/show_bug.cgi?id=732395#c0 Summary: systemd takes 5 minutes to start processes Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lynn@steve-ss.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 Fresh install of 12.1. The default system boot on openSUSE 12.1 takes over 5 minutes to start services, leaving console 1 with a hung screen. The login prompt does not appear before the 5 minute wait. Using ystem V init, this does not occur and all services are started as expected. The system is available for use immediately after boot. Reproducible: Always Steps to Reproduce: 1. Install LDAP server with tls support, Samba PDC and enable ncsd to start at runlevel 3 2. Reboot with these services enabled. 3. Wait 5 minutes to be able to login via ldap. 4. After the 5 minute wait you can login. Actual Results: Samba and ldap are unavailable. Users cannot login to the lan. Expected Results: A user can login with ldap username and password either to a linux console or from a windows client via samba-ldap. The LDAP server is not started in the correct order: Nov 23 17:22:59 hh1 dbus-daemon: nss-ldap: do_open: do_start_tls failed:stat=-1 Nov 23 17:22:59 hh1 dbus-daemon: nss_ldap: could not search LDAP server - Server is unavailable. These errors are repeated many times per second. This error also occurs with System V init but the error is only recorded 5 times. The workaround is to disable LDAP, let Yast LDAP Client change nsswitch.conf back to being able to use files instead of ldap, disable nscd, disable smb and disable nmb. Reboot and enable the services manually: 1. rcldap start 2. Yast-LDAP Client-Use LDAP 3. rcnscd start 4. rcsmb start 5. rcnmb 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c1
--- Comment #1 from lynn wilson
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2
Fresh install of 12.1. The default system boot on openSUSE 12.1 takes over 5 minutes to start services, leaving console 1 with a hung screen. The login prompt does not appear before the 5 minute wait.
Using ystem V init, this does not occur and all services are started as expected. The system is available for use immediately after boot.
Reproducible: Always
Steps to Reproduce: 1. Install LDAP server with tls support, Samba PDC and enable ncsd to start at runlevel 3 2. Reboot with these services enabled. 3. Wait 5 minutes to be able to login via ldap. 4. After the 5 minute wait you can login. Actual Results: Samba and ldap are unavailable. Users cannot login to the lan.
Expected Results: A user can login with ldap username and password either to a linux console or from a windows client via samba-ldap.
The LDAP server is not started in the correct order:
<cut>
Nov 23 17:22:59 hh1 dbus-daemon: nss-ldap: do_open: do_start_tls failed:stat=-1 Nov 23 17:22:59 hh1 dbus-daemon: nss_ldap: could not search LDAP server - Server is unavailable.
These errors are repeated many times per second. This error also occurs with System V init but the error is only recorded 5 times.
I understand this is normal as dbus starts before the network. </cut>
The workaround is to disable LDAP, let Yast LDAP Client change nsswitch.conf back to being able to use files instead of ldap, disable nscd, disable smb and disable nmb. Reboot and enable the services manually: 1. rcldap start 2. Yast-LDAP Client-Use LDAP 3. rcnscd start 4. rcsmb start 5. rcnmb 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c2
--- Comment #2 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c3
--- Comment #3 from lynn wilson
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c4
--- Comment #4 from lynn wilson
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c5
--- Comment #5 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c6
lynn wilson
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c7
--- Comment #7 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c8
--- Comment #8 from lynn wilson
ok, let's try something less "drastic" : restore 21-* file and in in /etc/sysconfig/network/if-up.d/21-cifs
first replace log_msg=$( rcnmb start 2>&1) by log_msg=$( systemctl --ignore-dependencies start 2>&1)
and test ;
Boots fine and smb, nmb and ldap are running.
then replace log_msg=$( rccifs restart 2>&1) by log_msg=$( systemctl --ignore-dependencies restart cifs.service 2>&1)
Boots fine and smb, nmb and ldap are running. -- 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c9
--- Comment #9 from lynn wilson
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c10
--- Comment #10 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c11
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c12
--- Comment #12 from lynn wilson
oops, first edit is incorrect, my fault,
please use instead: log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1)
Yes, boots fine. -- 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c13
lynn wilson
ok, could you test samba-client package from home:fcrozat:systemd / samba , it should contains the fix for your issue.
Yes. Can confirm works fine. rpm -q samba-client samba-client-3.6.1-34.5.1.i586 -- 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c14
--- Comment #14 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c15
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c16
Cristian Rodríguez
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c17
Felix Miata
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c18
--- Comment #18 from lynn wilson
marking duplicate of the month+ older bug this bug duplicated and assigned to same assignee
*** This bug has been marked as a duplicate of bug 725503 ***
Hi But *this* bug has been resolved. If it doesn't also resolve 725503 then I don't see how it can be a duplicate of it. Confused! -- 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c19
Agnelo de la Crotche
(In reply to comment #10)
oops, first edit is incorrect, my fault,
please use instead: log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1)
Yes, boots fine.
Not for me. I have to use log_msg=$( systemctl --ignore-dependencies restart nmb.service 2>&1) and not log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1) Otherwise the other NICs don't get an IP allocated (https://bugzilla.novell.com/show_bug.cgi?id=735943#c4). -- 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c20
--- Comment #20 from lynn wilson
(In reply to comment #12)
(In reply to comment #10)
oops, first edit is incorrect, my fault,
please use instead: log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1)
Yes, boots fine.
Not for me. I have to use log_msg=$( systemctl --ignore-dependencies restart nmb.service 2>&1) and not log_msg=$( systemctl --ignore-dependencies start nmb.service 2>&1)
Otherwise the other NICs don't get an IP allocated (https://bugzilla.novell.com/show_bug.cgi?id=735943#c4).
Can't test as only have one nic in the server. -- 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=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c21
--- Comment #21 from Agnelo de la Crotche
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c22
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c23
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c24
--- Comment #24 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c25
--- Comment #25 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c26
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c27
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c28
Johannes Weberhofer
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c29
--- Comment #29 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=732395
https://bugzilla.novell.com/show_bug.cgi?id=732395#c30
--- Comment #30 from Johannes Weberhofer
participants (1)
-
bugzilla_noreply@novell.com