apparmor: fix control socket usage for gpsdctrl (LP: #1790496)

The subsequent access of the daemon to the device is covered already.

common serial paths to GPS devices

/dev/tty{,S,USB,AMA,ACM}[0-9]* rw,

But gpsdctl itself isn't yet - therefore we see $ sudo gpsdctl add /dev/ttyUSB0 triggering: apparmor="DENIED profile="/usr/sbin/gpsd" name="/run/gpsd.sock" requested_mask="r" denied_mask="r"

This change adds a rule for that.

Signed-off-by: Christian Ehrhardt christian.ehrhardt@canonical.com

Merge request reports

Loading