Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35447 - [samba] 4.0.5-4 systemd file uses wrong folder for binary

Attached to Project: Arch Linux
Opened by WhoTouchaMySpageth! (tuxfusion) - Thursday, 23 May 2013, 19:47 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 25 May 2013, 09:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
samba 4.0.5-4 systemd file uses wrong folder for smbd binary

called in service /usr/sbin/
bin installed int /usr/bin/

both smbd and nmbd effected

Additional info:
* package version(s)

samba 4.0.5-4

* config and/or log files etc.


Steps to reproduce:

///////////////
/// cat /etc/systemd/system/multi-user.target.wants/smbd.service
////////////////
[Unit]
Description=Samba SMB/CIFS server
After=network.target


[Service]
#Type=forking
PIDFile=/var/run/smbd.pid
ExecStart=/usr/sbin/smbd -D
ExecReload=/bin/kill -HUP $PIDFILE

[Install]
WantedBy=multi-user.target

//////////
// pacman -Ql samba
//////////

samba /usr/bin/smbd

File "/usr/sbin/smbd" called by .service file does not exist
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 25 May 2013, 09:02 GMT
Reason for closing:  Not a bug
Comment by Tobias Powalowski (tpowa) - Friday, 24 May 2013, 07:31 GMT
Are you sure that this is a symlink to the existing file?
All sbin paths were removed on update.
Comment by WhoTouchaMySpageth! (tuxfusion) - Saturday, 25 May 2013, 08:20 GMT
I had wrong symlinks in systemd folder from the early start that I created manually, that wouldn't go away. You are right package is fine!

cat /etc/systemd/system/multi-user.target.wants/smbd.service | grep ExecStart
ExecStart=/usr/bin/smbd -D

Loading...