https://bugzilla.novell.com/show_bug.cgi?id=856651
https://bugzilla.novell.com/show_bug.cgi?id=856651#c12
patrick shanahan changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pat@indy.rr.com
--- Comment #12 from patrick shanahan 2014-01-16 19:04:37 UTC ---
added /{,var/}run/samba/ w,
to /etc/apparmor.d/abstractions/samba
issued systemctl start smb
but failed:
wahoo: ~ # systemctl status smb
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: failed (Result: resources) since Thu 2014-01-16 13:44:45 EST; 43s
ago
Process: 25687 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited,
status=0/SUCCESS)
Jan 16 13:44:45 wahoo systemd[1]: PID file /run/samba/smbd.pid not readable
(yet?) after start.
Jan 16 13:44:45 wahoo systemd[1]: smb.service never wrote its PID file.
Failing.
Jan 16 13:44:45 wahoo systemd[1]: Failed to start Samba SMB Daemon.
Jan 16 13:44:45 wahoo systemd[1]: Unit smb.service entered failed state.
wahoo: ~ # journalctl -xn
-- Logs begin at Thu 2014-01-09 21:30:20 EST, end at Thu 2014-01-16 13:50:13
EST. --
Jan 16 13:50:13 wahoo systemd[1]: Starting Samba SMB Daemon...
-- Subject: Unit smb.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smb.service has begun starting up.
Jan 16 13:50:13 wahoo smbd[25795]: [2014/01/16 13:50:13.425986, 0]
./source3/smbd/server.c:1278(main)
Jan 16 13:50:13 wahoo smbd[25795]: standard input is not a socket, assuming -D
option
Jan 16 13:50:13 wahoo smbd[25796]: [2014/01/16 13:50:13.429260, 0]
./lib/util/pidfile.c:117(pidfile_create)
Jan 16 13:50:13 wahoo smbd[25796]: ERROR: can't open /var/run/samba/smbd.pid:
Error was No such file or directory
Jan 16 13:50:13 wahoo systemd[1]: PID file /run/samba/smbd.pid not readable
(yet?) after start.
Jan 16 13:50:13 wahoo kernel: type=1400 audit(1389898213.428:46):
apparmor="DENIED" operation="mkdir" parent=1 profile="/usr/sbin/smbd"
Jan 16 13:50:13 wahoo systemd[1]: smb.service never wrote its PID file.
Failing.
Jan 16 13:50:13 wahoo systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: Unit smb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation:
http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40...
--
-- Unit smb.service has failed.
--
-- The result is failed.
--
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.