AppArmor policy blocks the usage of PPS devices

Bug #1877430 reported by Avamander
This bug report is a duplicate of:  Bug #1872178: GPSD unable to use Kernel PPS. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gpsd
Unknown
Unknown
gpsd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using Ubuntu 20.04 with latest gpsd (and everything else)

When one adds a pps device to be used by gpsd then gpsd is denied permission to modify that pps device, that breaks the pps functionality.

It is solved by adding capability sys_time to the AppArmor profile.

Revision history for this message
Avamander (avamander) wrote :

Upstream bug: https://gitlab.com/gpsd/gpsd/-/issues/73

Describes how I found a fix for this specific issue.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
this is already known and in progress to be fixed in
https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1872175
https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1872178

If you don't want to wait until that is released to Ubuntu 20.04, there is an apparmor change that you can manually apply until then in:
=> https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1872175/comments/21

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.