Mailinglist Archive: opensuse-bugs (3019 mails)

< Previous Next >
[Bug 861751] New: Samba does not start because /var/run/samba does not exist
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 25 Mar 2014 13:28:37 +0000
  • Message-id: <bug-861751-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=861751

https://bugzilla.novell.com/show_bug.cgi?id=861751#c0


Summary: Samba does not start because /var/run/samba does not
exist
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 13.1
Status: ASSIGNED
Severity: Normal
Priority: P5 - None
Component: Samba
AssignedTo: lmuelle@xxxxxxxx
ReportedBy: herbert@xxxxxxxxxxxxxxxxx
QAContact: samba-maintainers@xxxxxxx
CC: samba-maintainers@xxxxxxx
Found By: ---
Blocker: ---


Lars Müller <lmuelle@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |samba-maintainers@xxxxxxx
AssignedTo|samba-maintainers@xxxxxxx |lmuelle@xxxxxxxx

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101
Firefox/26.0

Samba (smb and nmb services) cannot be started, because /var/run/samba
directory does not exist.



Reproducible: Always

Steps to Reproduce:
1. systemctl start smb.service

Actual Results:
systemd[1]: Starting Samba SMB Daemon...
smbd[2173]: [2014/02/02 19:52:47.463767, 0]
./source3/smbd/server.c:1278(main)
smbd[2173]: standard input is not a socket, assuming -D option
smbd[2204]: [2014/02/02 19:52:47.464517, 0]
-../lib/util/pidfile.c:117(pidfile_create)
smbd[2204]: ERROR: can't open /var/run/samba/smbd.pid: Error was No such file
or directory
systemd[1]: PID file /run/samba/smbd.pid not /readable (yet?) after start.
systemd[1]: Failed to start Samba SMB Daemon.
systemd[1]: Unit smb.service entered failed state.


Expected Results:
It should just start

If I add the following line to /usr/lib/systemd/system/smb.service, smb can be
started:
ExecStartPre=/usr/bin/mkdir -p /var/run/samba

Same for nmb.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.
< Previous Next >
Follow Ups