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#42324 - [gpsd] gpsdctl@.service, incorrect paths, redundant settings

Attached to Project: Arch Linux
Opened by Q. (mymetics) - Friday, 10 October 2014, 12:58 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 12 October 2014, 09:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tom Gundersen (tomegun)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
the gpsdctl@.service file mentions executables and config files that are located elsewhere that mentionned:

`ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl add /dev/%I || :"`
should be :
`ExecStart=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/bin/gpsdctl add /dev/%I || :"`


`ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/sbin/gpsdctl remove /dev/%I || :"`
should be :
`ExecStop=/bin/sh -c "[ \"$USBAUTO\" = true ] && /usr/bin/gpsdctl remove /dev/%I || :"`


/etc/default/gpsd, mentioned in `EnvironmentFile=-/etc/default/gpsd` does not exist.

Setting $USBAUTO in the `ExecStart`and `ExecStop` command is, if I understand well, redundant with the settings in /etc/gpsd.conf


Additional info:
* package version(s)
* config and/or log files etc.

~ pacman -Si gpsd
Repository : extra
Name : gpsd
Version : 3.11-2
Description : GPS daemon and library to support USB/serial GPS devices
Architecture : armv6h
URL : http://catb.org/gpsd/
Licenses : BSD
Groups : None
Provides : None
Depends On : python2 libusb bluez-libs desktop-file-utils
Optional Deps : php: generate a PHP status page for your GPS
php-gd: image support for the PHP status page
pygtk: GUI frontends
Conflicts With : None
Replaces : None
Download Size : 376.03 KiB
Installed Size : 1089.00 KiB
Packager : Arch Linux ARM Build System <builder+xu6@archlinuxarm.org>
Build Date : Wed 08 Oct 2014 06:07:33 PM UTC
Validated By : MD5 Sum SHA256 Sum Signature

Steps to reproduce:
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 12 October 2014, 09:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  gpsd 3.11-3
Comment by Bartłomiej Piotrowski (Barthalion) - Sunday, 12 October 2014, 09:39 GMT
Thanks, EnvironmentFile=-/etc/default/gpsd means that given file may not exist and systemd won't throw an error about it. If it's ok to you, I won't ship it.

$USBAUTO check is indeed useless, but I'm not eager to ship custom systemd files to avoid it.

Loading...