Package: gpsd-clients
Version: 3.20-12+b1
Severity: normal
X-Debbugs-Cc: [email protected]

Hello,

The apparmor profile shipped with gpsd prevents gpsfake from running.
This can be easily reproduced by running:

$ gpsfake <logfile>

and checking the dmesg:

[269123.284600] audit: type=1400 audit(1606749402.192:90):
apparmor="DENIED" operation="mknod" profile="/usr/sbin/gpsd"
name="/tmp/gpsfake-206069.sock" pid=206070 comm="gpsd"
requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

Using an empty file as <logfile> does trigged the failure.

[Bug originally reported in Ubuntu: https://pad.lv/1894330]

Cheers,

Paride

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gpsd-clients depends on:
ii  gir1.2-gtk-3.0    3.24.23-3
ii  gpsd-tools        3.20-12+b1
ii  libbluetooth3     5.55-1
ii  libc6             2.31-4
ii  libdbus-1-3       1.12.20-1
ii  libgps26          3.20-12+b1
ii  libusb-1.0-0      2:1.0.23-2
ii  python3           3.9.0-3
ii  python3-cairo     1.16.2-4+b1
ii  python3-gi        3.38.0-1+b1
ii  python3-gi-cairo  3.38.0-1+b1
ii  python3-gps       3.20-12+b1
ii  python3-serial    3.5~b0-1

gpsd-clients recommends no packages.

Versions of packages gpsd-clients suggests:
ii  gpsd  3.20-12+b1

-- no debconf information

Reply via email to