Hide Forgot
Description of problem: Nov 10 14:15:07 localhost systemd[1]: Failed to read PID file /run/nmbd.pid after start. The service might be broken. Nov 10 14:15:09 localhost systemd[1]: Failed to read PID file /run/smbd.pid after start. The service might be broken. Version-Release number of selected component (if applicable): rpm -q samba systemd samba-3.6.1-74.fc16.i686 systemd-36-3.fc16.i686 How reproducible: service smb restart Redirecting to /bin/systemctl restart smb.service Nov 10 15:13:11 localhost systemd[1]: Failed to read PID file /run/smbd.pid after start. The service might be broken. service nmb restart Redirecting to /bin/systemctl restart nmb.service Nov 10 15:13:38 localhost systemd[1]: Failed to read PID file /run/nmbd.pid after start. The service might be broken. Additional info: Fedora release 16 (Verne)
samba-3.6.1-75.fc16.x86_64 Problem is in /lib/systemd/system/smb.service PIDFile=/run/smbd.pid But: smbd creates pidfile as /var/run/smbd.pid
This has already been fixed. * Fri Nov 18 2011 Andreas Schneider <asn> - 1:3.6.1-76 - Fix piddir to match with systemd files.
i can reproduce this error in Version 3.6.1-77.fc16
I confirm it in samba-common-3.6.6-92.fc17.1.x86_64. Fix is trivial.
I ran across this issue today in f18, so it still exists. I started a new bug in the hope that it will eventually get fixed... It is bug #911819.