FS#34686 - [xmms2] starting .service with systemd fails

Attached to Project: Community Packages
Opened by Matthias Busl (titiwu) - Monday, 08 April 2013, 18:24 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 09 April 2013, 14:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
"systemctl start xmms2d.service" fails
-> "Failed to issue method call: Unit xmms2d.service failed to load: Invalid argument. See system logs and 'systemctl status xmms2d.service' for details."

journalctl -xn shows:
Apr 08 20:11:25 systemd[1]: [/usr/lib/systemd/system/xmms2d.service:8] Executable path is not absolute, ignoring: su -c '/usr/bi
Apr 08 20:11:25 systemd[1]: [/usr/lib/systemd/system/xmms2d.service:9] Executable path is not absolute, ignoring: su -c '/usr/bi
Apr 08 20:11:25 systemd[1]: xmms2d.service lacks ExecStart setting. Refusing.

Changing the apropriate lines to
ExecStart=/bin/su -c '/usr/bin/xmms2-launcher $XMMS2_PARAMETERS &>/dev/null' - $XMMS2_USER
ExecStop=/bin/su -c '/usr/bin/xmms2 quit &>/dev/null' - $XMMS2_USER
helps

Additional info:
* xmms2 0.8DrO_o-10
* systemd 200-1
* x86_64

Steps to reproduce:
* Install xmms2
* Configure xmms2
* Run systemctl start xmms2d.service
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 09 April 2013, 14:44 GMT
Reason for closing:  Fixed

Loading...