Bug 731308

Summary: systemd deadlocks starting network on if-up.d/21-dhcpcd-hook-samba
Product: [openSUSE] openSUSE 12.1 Reporter: Jiri Slaby <jslaby>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fcrozat, werner
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ps -f of the state

Description Jiri Slaby 2011-11-18 10:44:01 UTC
Created attachment 462858 [details]
ps -f of the state

When booting, systemd tries to start network.
It starts dhcpcd.
Dhcpcd calls if-up.d scripts after it gains an address.
if-up.d/21-dhcpcd-hook-samba calls /etc/init.d/nmb force-reload.
It calls /bin/systemctl force-reload nmb.service.
It stalls until network script times out (WAIT_FOR_INTERFACES) because /sbin/ifstatus-dhcp returns 12 and says "is just beeing set up".

If I add exit 0 at the top of the samba script, it indeed works perfectly.
Comment 1 Frederic Crozat 2011-11-18 12:18:56 UTC
sounds like bnc#725503
Comment 2 Jiri Slaby 2011-11-18 14:04:55 UTC
(In reply to comment #1)
> sounds like bnc#725503

Yes, it is.

*** This bug has been marked as a duplicate of bug 725503 ***