[Bug 856651] New: Update to 4.1.3-3.12.1 broken. Samba cannot write its PID file anymore
https://bugzilla.novell.com/show_bug.cgi?id=856651 https://bugzilla.novell.com/show_bug.cgi?id=856651#c0 Summary: Update to 4.1.3-3.12.1 broken. Samba cannot write its PID file anymore Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: markus.kossmann@gmx.de QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 After the update to 4.1.3-3.12.1 samba starts anymore. systemctl status smb.service shows: smb.service - Samba SMB Daemon Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled) Active: failed (Result: resources) since Sat 2013-12-21 19:52:43 CET; 35min ago Process: 11085 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS) Dec 21 19:52:43 linux-86i0.site systemd[1]: Starting Samba SMB Daemon... Dec 21 19:52:43 linux-86i0.site smbd[11085]: [2013/12/21 19:52:43.548662, 0] ./source3/smbd/server.c:1278(main) Dec 21 19:52:43 linux-86i0.site smbd[11086]: [2013/12/21 19:52:43.549848, 0] ./lib/util/pidfile.c:117(pidfile_create) Dec 21 19:52:43 linux-86i0.site smbd[11086]: ERROR: can't open /var/run/samba/smbd.pid: Error was No such file or directory Dec 21 19:52:43 linux-86i0.site systemd[1]: PID file /run/samba/smbd.pid not readable (yet?) after start. Dec 21 19:52:43 linux-86i0.site systemd[1]: smb.service never wrote its PID file. Failing. Dec 21 19:52:43 linux-86i0.site systemd[1]: Failed to start Samba SMB Daemon. Dec 21 19:52:43 linux-86i0.site systemd[1]: Unit smb.service entered failed state. /var/log/samba/log.nmbd shows: started asyncdns process 6855 [2013/12/21 19:51:13, 0] ../lib/util/util.c:216(directory_create_or_exist) mkdir failed on directory /var/run/samba: Permission denied [2013/12/21 19:51:13, 0] ../source3/nmbd/nmbd.c:977(main) Failed to create directory /var/run/samba for pid files - Permission denied and /var/log/samba/log.smbd : smbd version 4.1.3-3.12.1-3127-SUSE-oS13.1-x86_64 started. Copyright Andrew Tridgell and the Samba Team 1992-2013 [2013/12/21 19:52:43.548662, 0] ../source3/smbd/server.c:1278(main) standard input is not a socket, assuming -D option [2013/12/21 19:52:43.549848, 0] ../lib/util/pidfile.c:117(pidfile_create) ERROR: can't open /var/run/samba/smbd.pid: Error was No such file or directory Indeed there is no /var/run/samba directory and if you create this manually and reszart the samba service things begin to work again ( until next reboot. Then /var/run is emptied again, because it is a tmpfs) Reproducible: Always Steps to Reproduce: 1.Activate samba with yast 2. 3. Actual Results: samba doesn't start Expected Results: samba should 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=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c1
Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c2
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c3
--- Comment #3 from Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c4
--- Comment #4 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c5
--- Comment #5 from Wolfgang Bauer
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c6
--- Comment #6 from Christian Boltz
Regarding 12.3: AppArmor is not installed by default there. But even after installing and starting it, samba works fine AFAICT (haven't tried to create any shares though).
Sounds good - or 12.3 just didn't receive the last samba update yet ;-) -- 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=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c7
--- Comment #7 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c8
--- Comment #8 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c9
--- Comment #9 from Lars Müller
(In reply to comment #5)
Regarding 12.3: AppArmor is not installed by default there. But even after installing and starting it, samba works fine AFAICT (haven't tried to create any shares though).
Sounds good - or 12.3 just didn't receive the last samba update yet ;-)
Samba of openSUSE 12.3 is still at version 3.6.12 and therefore we're not hit by the same issue. -- 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=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c10
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c11
Mariusz Fik
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c12
patrick shanahan
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c13
--- Comment #13 from patrick shanahan
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c14
--- Comment #14 from James Rome
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c15
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c16
--- Comment #16 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c17
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c18
--- Comment #18 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=856651
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=856651
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=856651
--- Comment #20 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=856651
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com