apparmor prevents ntp from reading gpsd
Binary package hint: ntp
With gpsd installed and a USB GPS device plugged in, xgps shows that GPS data is available, but "ntpq -p" does not display it. "server" and "fudge" lines had already been added to /etc/ntp.conf & ntp restarted.
The man page for shmat(2) indicates that EACCES is returned if the process lacks CAP_IPC_OWNER. Perhaps if ntp requested access with SHM_RDONLY, owner capability might not be required? Does adding "capability ipc_owner," open a security hole?
|Changed in ntp (Ubuntu):|
|importance:||Undecided → Low|
|status:||New → Confirmed|