FS#40476 - [redshift] /usr/lib/systemd/user/redshift-gtk.service contains wrong binary name in ExecStart
Attached to Project:
Community Packages
Opened by Bastien Traverse (Neitsab) - Wednesday, 21 May 2014, 00:49 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 09 January 2015, 13:36 GMT
Opened by Bastien Traverse (Neitsab) - Wednesday, 21 May 2014, 00:49 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 09 January 2015, 13:36 GMT
|
Details
Description:
Strangely enough the systemd user service file shipped by Arch for redshift-gtk differs from the one upstream and contains the wrong binary name. Instead of "redshift-gtk" it contains "redshift". As a consequence the tray icon doesn't appear when starting the service (note: starting the service requires to add the option "Environment=DISPLAY=:0" to the service file's [Service] section. This is an upstream bug to be soon reported, see https://bbs.archlinux.org/viewtopic.php?pid=1417568#p1417568). Additional info: * package versions: redshift 1.9-3, 1.9.1-1 * original and working /usr/lib/systemd/user/redshift-gtk.service files attached. Steps to reproduce: # pacman -S redshift $ cat /usr/lib/systemd/user/redshift-gtk.service | grep ExecStart ExecStart=/usr/bin/redshift Check upstream file: https://github.com/jonls/redshift/blob/master/data/systemd/redshift-gtk.service.in --> contains ExecStart=@bindir@/redshift-gtk |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Friday, 09 January 2015, 13:36 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.10-1.
Friday, 09 January 2015, 13:36 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.10-1.
Edit: confirmed, it's using redshift.service.in to create redshift-gtk.service
Upstream bug report at https://github.com/jonls/redshift/issues/91, mentioning the possibility of a problem during the build phase.
Edit: good you found it, I don't have the sufficient knowledge to browse through the code and find that kind of issue.
Maybe you can point the incriminated lines in the upstream bug report?
Edit, na, I haven't found where the bug is in their code, I just confirmed that redshift.service.in is being used by adding the filename to the top of each file.