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: <>

Summary: Samba does not start because /var/run/samba does not
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 13.1
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
CC| |samba-maintainers@xxxxxxx
AssignedTo|samba-maintainers@xxxxxxx |lmuelle@xxxxxxxx

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

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]
smbd[2173]: standard input is not a socket, assuming -D option
smbd[2204]: [2014/02/02 19:52:47.464517, 0]
smbd[2204]: ERROR: can't open /var/run/samba/ Error was No such file
or directory
systemd[1]: PID file /run/samba/ 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
ExecStartPre=/usr/bin/mkdir -p /var/run/samba

Same for nmb.service

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >
Follow Ups