Your message dated Sat, 15 Oct 2016 01:03:42 +0000
with message-id <e1bvdo2-0001ct...@franck.debian.org>
and subject line Bug#840384: fixed in airspy-host 1.0.9-1
has caused the Debian Bug report #840384,
regarding airospy-host: Allow all console users access to the USB device
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 ow...@bugs.debian.org
immediately.)


-- 
840384: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840384
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:airspy-host
Version: 1.0.8-1
Tags: patch
Severity: important

When installing Debian, the initial user was traditionally made a member
of the plugdev group, and this granted access to local hardware dongles
when this user is logged in.  This approach causes problems for users
originating from directory services like LDAP and Active Directory, as
such plugdev membership can not be granted globally.  The plugdev
membership can be assigned during login (using pam_group), but still
this approach is problematic because left behind processes keep the
group membership even when the user is no longer logged in on the
machine, allowing background processes to get access to other peoples
hardware.

There is an alternative to group membership for device access, using
file system ACLs, and with systemd this is the recommended default
according to the systemd maintainers.  To enable it for a given device,
the 'access' tag can be set.

Please do so for the airspy udev rule, to allow the device to work for
any console user, not only the one created during installation.  Here is
a patch:

diff -ur ../pkg-airspy-host/debian/libairspy0.udev debian/libairspy0.udev
--- ../pkg-airspy-host/debian/libairspy0.udev   2016-10-11 06:05:06.752973364 
+0000
+++ debian/libairspy0.udev      2016-10-11 06:07:02.000000000 +0000
@@ -1 +1 @@
-ATTR{idVendor}=="1d50", ATTR{idProduct}=="60a1", SYMLINK+="airspy-%k", 
MODE="660", GROUP="plugdev"
+ATTR{idVendor}=="1d50", ATTR{idProduct}=="60a1", SYMLINK+="airspy-%k", 
MODE="660", GROUP="plugdev", TAG+="uaccess"
diff -ur ../pkg-airspy-host/debian/patches/series debian/patches/series
--- ../pkg-airspy-host/debian/patches/series    2016-10-11 06:05:06.752973364 
+0000
+++ debian/patches/series       2016-10-11 06:07:02.510444663 +0000
@@ -1,2 +1,3 @@
 0001-On-linux-check-whether-a-kernel-driver-is-attached-t.patch
 libusb-freebsd
+udev-console-access.patch

I suspect the plugdev/mode part can be removed, but did not suggest to
do so at this time because I am unsure how it affect non-systemd users.

-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: airspy-host
Source-Version: 1.0.9-1

We believe that the bug you reported is fixed in the latest version of
airspy-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 840...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
A. Maitland Bottoms <bott...@debian.org> (supplier of updated airspy-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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 12 Oct 2016 20:03:21 -0400
Source: airspy-host
Binary: libairspy-dev libairspy0 airspy
Architecture: source amd64
Version: 1.0.9-1
Distribution: unstable
Urgency: medium
Maintainer: A. Maitland Bottoms <bott...@debian.org>
Changed-By: A. Maitland Bottoms <bott...@debian.org>
Description:
 airspy     - Tiny and efficient software defined radio receiver - utilities
 libairspy-dev - Tiny and efficient software defined radio receiver - 
development
 libairspy0 - Tiny and efficient software defined radio receiver - library
Closes: 840384
Changes:
 airspy-host (1.0.9-1) unstable; urgency=medium
 .
   * New upstream release
   * Allow all console users access via udev, Thanks Petter! (Closes: #840384)
Checksums-Sha1:
 264e61247f36e947d69698f9071407b609917e47 2055 airspy-host_1.0.9-1.dsc
 645d7de621e8f6aa2538a2d5bdf81f104cd65a26 40008 airspy-host_1.0.9.orig.tar.xz
 d687280b17388b296c42c6b5ad2eb1fb83ac218e 35488 
airspy-host_1.0.9-1.debian.tar.xz
 e34204a1e7cc54b2f57a25bf6c2969532b1bf68d 57468 airspy-dbgsym_1.0.9-1_amd64.deb
 bef5384323a707f3aa853fb9d1a2d914055a6244 31992 airspy_1.0.9-1_amd64.deb
 76dc667d168874b022d46251fc5ce168db8c858a 17154 libairspy-dev_1.0.9-1_amd64.deb
 bdfdeaa31b1c5a1ff298d413b30851271a5d0739 27422 
libairspy0-dbgsym_1.0.9-1_amd64.deb
 ad00045b85fe51a21cf6425dfbceabeff09a1b1f 15500 libairspy0_1.0.9-1_amd64.deb
Checksums-Sha256:
 a8b8f1b5ded5bf01e8018b899fe708830c921c62bb9758c838da0db0912e5245 2055 
airspy-host_1.0.9-1.dsc
 1eda47689fd108c3747239b762106ab2d962e8aed2522767c3c92f2b85061497 40008 
airspy-host_1.0.9.orig.tar.xz
 7b4c4996d89d24a49c1b0a596034f0788632029d89b87f9724ba5beb13bf6fc2 35488 
airspy-host_1.0.9-1.debian.tar.xz
 b2f4ef885f0aefd2cadeb8e8919ab13b3a524edd1208c8c58c975a1a7f2a6c4c 57468 
airspy-dbgsym_1.0.9-1_amd64.deb
 44a0c89f5f3f4f4e05976cd1f076b5425b92b6cc7c4173c3520b8ba44dd58f68 31992 
airspy_1.0.9-1_amd64.deb
 671fa2215f7a992ece403acb7ebf90b916d2ef7ae0f1128bc361f041e7a94285 17154 
libairspy-dev_1.0.9-1_amd64.deb
 3370383050c03d8579d869bec318516325a3c179d3a7962642e49370a6012c56 27422 
libairspy0-dbgsym_1.0.9-1_amd64.deb
 313a170053ed220ebd925260071e26a0bb39c9c890b102ac4a37f6a591fd65fc 15500 
libairspy0_1.0.9-1_amd64.deb
Files:
 33f575a0f4b8d53a0b11344cb443d72d 2055 libs extra airspy-host_1.0.9-1.dsc
 d65b39b81955e6b1d4747b74b6c5c9b3 40008 libs extra airspy-host_1.0.9.orig.tar.xz
 1fd35819d9d0c84f567f5a387186d5c4 35488 libs extra 
airspy-host_1.0.9-1.debian.tar.xz
 7c4f68b2ffe432696a12b36fcf0ea06f 57468 debug extra 
airspy-dbgsym_1.0.9-1_amd64.deb
 8ca0606f851082053b0a354500380cd2 31992 comm extra airspy_1.0.9-1_amd64.deb
 c66452207332d1b2d5e048be59d65dca 17154 libdevel extra 
libairspy-dev_1.0.9-1_amd64.deb
 10917ecb0300e4ce7b7082a96659e82b 27422 debug extra 
libairspy0-dbgsym_1.0.9-1_amd64.deb
 5f5accbb9a02d244b984eb945d4164f5 15500 libs extra libairspy0_1.0.9-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYAX74AAoJEFBB8YkfROCQHREP/19oZiExMPY7Df2Ku3iWaS+T
cElZp/WVpW5z0K+Gqa1tGrZ0dmbpyNRhHT6yEoX/12uDKdsV/EdWmqA5imUy0DCJ
5fJYPZGaEl3BK6Iby2tvS0KYSrqo6vqUQLJT0qs4+kG7RHwwqqkQENGmE1Jh9K32
uCvZfmYOCE2pUY4+UKB/uEbkcnKGXkEpFJ/0ZyeQFNs+TyOZqf7y05c9bby3Bo7J
FNVxPGUKNOjd6eh7KUb3n+wJq2sVeBjyCgoXihl8BRfN3GGibrgzc3Mf/WxJhqtI
Gds/19Ox0ZiIndM4V2f+LHt29ocP4VBYKhf1NmiGdTfGlgs6uLLlJMmlfrpUJkYv
Nedtk59aBLbnhXR3bxdBdn5eu4bDihsXzXvsird1Ao3c5y3a1/TNcPE34kMHP6Wp
Dd1NsHFzNOitoa4zeOLHp/Z/czWYaIP/ARwn59K7go75dyRufH85bqPk4RpUmRw+
J0wWZs5mfbMdgxL4W8JRPOcb4gQG4tAoIE5G8/EAvSZeQ7iSQxv0ACcPu2aREq8z
mYl54tTb1uPDX9D+azgVIAQqwsNy4k2xI3trMDeD7iDG6OBt/GvJX6ZgW89qLEuq
YkVbiXlK3ITy/f1Z8F5XCgtrk/i2fI+fBQOhMW4qH1yby5oUTRnhXo78L4mX7amW
Aq7E1D9CZFKb5H7ZJrrE
=4t+m
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to