FS#56171 - [util-linux] /dev/rfkill changed from rfkill group to root group

Attached to Project: Arch Linux
Opened by vicencb (vicencb) - Monday, 30 October 2017, 19:30 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 01 November 2017, 01:57 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

/dev/rfkill changed from rfkill group to root group when the package rfkill (0.5-2) was replaced by the package util-linux (2.31-1) on 2017-10-29.
Since then I can no longer block or unblock wifi or bluetooth as a regular user. My regular user is in the rfkill group.
Executing
sudo chgrp rfkill /dev/rfkill
fixes the issue temporarily until next reboot, then it reappears.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 01 November 2017, 01:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  util-linux 2.31-2 currently in [testing] adds the mentioned sysusers/udev/service files
Comment by loqs (loqs) - Monday, 30 October 2017, 20:04 GMT
To provide all the functionality of rfkill would util-linux not need to:
add g rfkill - - - to /usr/lib/sysusers.d/util-linux.conf as per https://git.archlinux.org/svntogit/packages.git/tree/trunk/sysusers.d?h=packages/rfkill&id=d1fe5b223ba41738e01e78dd80f8066d95658d3b

create a file under /usr/lib/udev/rules.d/ containing
add KERNEL=="rfkill", GROUP="rfkill", MODE="0664" as per https://git.archlinux.org/svntogit/packages.git/tree/trunk/rules.d?h=packages/rfkill&id=d1fe5b223ba41738e01e78dd80f8066d95658d3b

add /usr/lib/systemd/system/rfkill-block@.service as per https://git.archlinux.org/svntogit/packages.git/tree/trunk/service.block?h=packages/rfkill&id=d1fe5b223ba41738e01e78dd80f8066d95658d3b
add /usr/lib/systemd/system/rfkill-unblock@.service as per https://git.archlinux.org/svntogit/packages.git/tree/trunk/service.unblock?h=packages/rfkill&id=d1fe5b223ba41738e01e78dd80f8066d95658d3b

Loading...