Bug 856788

Summary: Update openSUSUE-2013-996 is breaking smb service
Product: [openSUSE] openSUSE 13.1 Reporter: Giuseppe Gorgoglione <gorgoglione>
Component: SambaAssignee: The 'Opening Windows to a Wider World' guys <samba-maintainers>
Status: VERIFIED DUPLICATE QA Contact: The 'Opening Windows to a Wider World' guys <samba-maintainers>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Giuseppe Gorgoglione 2013-12-25 02:43:45 UTC
User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.5 Safari/537.36

After installing update openSUSUE-2013-996 and rebooting, the samba server does not work any more.

"systemctl status smb" gives:

smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
   Active: failed (Result: resources) since Wed 2013-12-25 03:35:50 CET; 1min 36s ago
  Process: 1084 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS)

"sudo systemctl restart smb" gives:

Job for smb.service failed. See 'systemctl status smb.service' and 'journalctl -xn' for details.

"systemctl -l status smb.service" gives:

   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
   Active: failed (Result: resources) since Wed 2013-12-25 03:38:19 CET; 28s ago
  Process: 1677 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS)

Dec 25 03:38:19 nausicaa systemd[1]: Starting Samba SMB Daemon...
Dec 25 03:38:19 nausicaa smbd[1677]: [2013/12/25 03:38:19.201121,  0] ../source3/smbd/server.c:1278(main)
Dec 25 03:38:19 nausicaa systemd[1]: PID file /run/samba/smbd.pid not readable (yet?) after start.
Dec 25 03:38:19 nausicaa systemd[1]: smb.service never wrote its PID file. Failing.
Dec 25 03:38:19 nausicaa systemd[1]: Failed to start Samba SMB Daemon.
Dec 25 03:38:19 nausicaa systemd[1]: Unit smb.service entered failed state.

Creating by hand the folder "/var/run/samba" before restarting the smb service solves the issue, but of course the "/var/run/samba" folder does not survive a reboot.

Reproducible: Always

Steps to Reproduce:
1. Install update openSUSUE-2013-996 and reboot
2. Check that a SMB client cannot access anymore folders shared by the openSUSE box with Samba
3. Double-check with "systemctl status smb"
Actual Results:  
smb service does not work

Expected Results:  
smb service should be running
Comment 1 Giuseppe Gorgoglione 2013-12-25 11:25:28 UTC
Duplicate of 856651. Sorry.
Comment 2 Lars Müller 2014-01-06 15:26:09 UTC
And closing as duplicate.

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