/etc/gpsd/device-hook not actually called
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The manual page of gpsd states
When a device is activated (i.e. a client requests data from it), gpsd attempts to execute a hook from /etc/gpsd/
device and the second to ACTIVATE. On deactivation it does the same passing DEACTIVATE for the second argument.
and when such an executable is present, the debug info/log of gpsd indicates that /etc/gpsd/
I assume that there is a suitable line missing in
/etc/apparmor.
but my apparmor-foo is not sufficient to figure out what incantation is required to allow gpsd executing this hook.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gpsd 3.20-5ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-18-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu20
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Mar 21 09:00:23 2020
InstallationDate: Installed on 2011-10-14 (3080 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
SourcePackage: gpsd
UpgradeStatus: Upgraded to focal on 2020-03-09 (11 days ago)
Related branches
- Andreas Hasenack (community): Approve
- Canonical Server: Pending requested
- Christian Ehrhardt : Pending requested
-
Diff: 44 lines (+18/-0)2 files modifieddebian/changelog (+11/-0)
debian/usr.sbin.gpsd (+7/-0)
Changed in gpsd (Ubuntu): | |
status: | New → Triaged |
tags: | added: server-next |
Thanks David for for filing this bug report. I believe you are correct in attributing the problem to the AppArmor configuration.