I'm using Debian Unstable, but I assume it's the same issue.

Checking the system logs (e.g. via dmesg) reveals entries along the
lines of:

audit: type=1400 audit(1606596824.706:63): apparmor="DENIED"
operation="mknod" profile="/usr/sbin/gpsd" name="/tmp/gpsfake-5064.sock"
pid=5065 comm="gpsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

Setting AppArmor for /usr/sbin/gpsd from enforce to complain mode gets gpsfake 
working again.
(as root):
aa-complain /usr/sbin/gpsd

HTH

NB1 To restore enforced mode (as root):
aa-enforce /usr/sbin/gpsd

NB I think the profile used is in /etc/apparmor.d/usr.sbin.gpsd (which is owned 
by the gpsd package).
But I don't know what should go in there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1894330

Title:
  gpsfake fails to run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1894330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to