On Wed 15 Jun 2022 at 14:52:05 +0200, Andrej Shadura wrote: > Hi, > > On Wed, 15 Jun 2022, at 13:55, Vincent Lefevre wrote: > > Package: wpasupplicant > > Version: 2:2.10-9+b1 > > Severity: wishlist > > > > Users should not have to modify the default configuration to make > > things work as expected. Currently, it is not possible to run wpa_cli > > and wpa_gui as a normal user from the netdev group, contrary to other > > wifi-related tools like iwconfig, nmcli, iw, and in the past, wicd. > > Thanks for the bug report!
Thanks for the rapid response, Andrej. > Would something like this work for you? > https://salsa.debian.org/debian/wpa/-/commit/14709d27604a4dc34cf07e9ef5ccb579cf9d7192 > > Unfortunately, I’m not sure there is a better way to provide a default > without patching wpa_supplicant’s config parser. I put the four lines you provided into bullseye's service file. wpa_cli and wpa_gui can now be run by a non-root user in the netdev group when /en/i has a simple (non-roaming) stanza. This is a win. With wpa-roam and the manual directive in /e/n/i the conf file still requires "ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev". However, such users should know what they are doing and aiming for. I wonder whether the change to the service file should have a mention in NEWS.Debian. Regards, Brian.