Your message dated Fri, 01 Dec 2023 01:04:00 +0000
with message-id <[email protected]>
and subject line Bug#1033121: fixed in airspyone-host 1.0.10-3
has caused the Debian Bug report #1033121,
regarding libairspy0: udev rule change to "uaccess" prevents devices from being
used in unprivileged services
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1033121: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033121
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libairspy0
Version: 1.0.9-4
Severity: normal
X-Debbugs-Cc: [email protected]
The package of libairspy0 contained in Debian Bullseye (1.0.9-4)
introduced new udev rules that dropped the previous "plugdev" group
pattern, and now employs the new "uaccess" tagging method. This change
means that devices are now owned by root, and the permissions only allow
access by root.
My understanding is that this is now handled by ACLs and the uaccess
tagging now takes care of this for logged in users, but as far as my
research goes, there doesn't seem to be a way to have a similar handling
for any kind of services run by systemd, so any service that is not
running as root (which I'd consider to be desirable) can no longer
access the devices.
Case in point: I am the developer of OpenWebRX, a web-based SDR
application, which runs as a systemd service unit. Many users are
reporting not being able to use their Airspy devices with the software
any more, and it was recently uncovered that the underlying cause is
permission issues. Switching to the udev rules provided by Airspy (which
still use the old "plugdev" pattern, and were part of the Debian package
up until Buster) solves the problem on affected systems.
To me, it seems like the new uaccess approach simply leaves this use
case uncovered, and the current udev rules need further adjustment in
order to cover it. I'm not sure what the correct pattern would be, since
"plugdev" seems to be shunned now. Maybe there should be a new group
specific to the access to SDR devices?
P.S. Please ignore the kernel info below; I am running a docker
container to be able to use the "reportbug" system since this is my
first time reporting a bug to Debian.
-- System Information:
Debian Release: 11.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.93-1-MANJARO (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages libairspy0 depends on:
ii libc6 2.31-13+deb11u5
ii libusb-1.0-0 2:1.0.24-3
libairspy0 recommends no packages.
libairspy0 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: airspyone-host
Source-Version: 1.0.10-3
Done: A. Maitland Bottoms <[email protected]>
We believe that the bug you reported is fixed in the latest version of
airspyone-host, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
A. Maitland Bottoms <[email protected]> (supplier of updated airspyone-host
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 30 Nov 2023 18:50:43 -0500
Source: airspyone-host
Architecture: source
Version: 1.0.10-3
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <[email protected]>
Changed-By: A. Maitland Bottoms <[email protected]>
Closes: 1033121 1056670
Changes:
airspyone-host (1.0.10-3) unstable; urgency=medium
.
[ Samuel Henrique ]
* DEP17: Install udev rules into /usr, with (M10) protective diversion
against possible file loss as exhibited by Multi-Arch: same packages (P7).
Diversion code can be removed in forky+1. (Closes: #1056670)
.
[ Debian Janitor ]
* Trim trailing whitespace.
* debian/copyright: use spaces rather than tabs to start continuation lines.
* Update standards version to 4.6.2, no changes needed.
* Remove constraints unnecessary since buster (oldstable):
+ libairspy0: Drop conflict with removed package gr-osmosdr (<< 0.1.4-11)
in
Breaks.
+ libairspy0: Drop conflict with removed package libgnuradio-osmosdr0.1.4
(<< 0.1.4-11) in Breaks.
.
[ A. Maitland Bottoms ]
* libairspy-dev marked Multi-Arch: same
* use group plugdev along with uaccess to allow for systemd services
(Closes: #1033121)
Checksums-Sha1:
44d144ba8c764bda1edb61acdae050009abd1e3f 2065 airspyone-host_1.0.10-3.dsc
1c338cdba5e6b08edc2869d583c372fd9c93f15a 19180
airspyone-host_1.0.10-3.debian.tar.xz
45f1098aa09230b36d5835b86f6909ec908b115a 8183
airspyone-host_1.0.10-3_amd64.buildinfo
Checksums-Sha256:
2ebf35dafb40a1b62eed28c7499a9f345ecf0e08dcc1f30cd63e3cab045a08f5 2065
airspyone-host_1.0.10-3.dsc
0c06a89530c882802e3d570b40257860e71ece8815096cdd9b163159770a6a6b 19180
airspyone-host_1.0.10-3.debian.tar.xz
d556e171f6779ca1880bcb8c020b0e2eb01dd616076a9cf40d981d756e04ceec 8183
airspyone-host_1.0.10-3_amd64.buildinfo
Files:
042de22a6886dbaa4bfb9d5349ff933f 2065 libs optional airspyone-host_1.0.10-3.dsc
7a72741a3697d681c8912079877dd0fe 19180 libs optional
airspyone-host_1.0.10-3.debian.tar.xz
2a0860cb1d78bfe0e3fddae5065669ca 8183 libs optional
airspyone-host_1.0.10-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEB8qH3cTCsGJAtrF0UEHxiR9E4JAFAmVpKRIACgkQUEHxiR9E
4JAs/Q//fgcJ7rmfz/WZA/ykvBwRZt6RFozsmNNLdMkOz9NpOB87/x37m9PBlbAU
tm8U4Y5YjUK+xde88k/wkxrUfNeXkJB46f7z5jCx6ovhNUm7J3JlxxNuKQzhDwjG
yhiQS8w6Hqymr22DrchZXib5bG5ILVl9udCDtN6vn/rKuoGowd7tuFJspGeYLq+Z
y3Cf3XYgdTdpwaAHaRO8trFhKs/EmFMeKgtxCE0Rsy8ZDkWfo5WmE7GLcm74t5jC
c3E9pB8uNzo+XZF4lOF7i0eAXKuqB9Xc8MoiMLTpOkA3q8vOdb1vD/Oq7TPvdcHp
pzU2nbsd8jxha3ZphN88RcxvlRvVG+iM0r+Z7uKsRpj8bYS1WqoxPwpfps/EK9qy
P9C6I6jDvCNgm8FdISxU9AMVlYMG5w22pW7T0h6oW+qoYwXSY2X8C7QXcaC/1iWe
KhKRyvPV8bUjC2hKpDjTniNR13DHgEChlTDFrxxSlkbLWL4dSEM6NpAT/GhUtEWT
bZ/jSs+N1VSG0321ekZJ+YTDfgnzocT6eoxSWTRVi+sOKsoFStZpRe+N05O1rKhn
veG3lN4TEGoNA+pgh5+tr6qF6fPbS87u6jj8BC82ctQKy8xXE0TjU/R/SFiCGYsc
Hu7OyOJwgMbYOuwoqG/wvZlviYiBRruQezCJkAEurvlHZboRRU4=
=iLnI
-----END PGP SIGNATURE-----
--- End Message ---