* bug#47326: connman permissions
@ 2021-03-22 17:16 Christopher Howard
0 siblings, 0 replies; only message in thread
From: Christopher Howard @ 2021-03-22 17:16 UTC (permalink / raw)
To: 47326
[-- Attachment #1.1: Type: text/plain, Size: 1103 bytes --]
Short description: In Guix, controlling connman seems to require root
permissions, but a non-root user should be able to control it.
Longer description: I am running a DE with slim + elogind + lxqt +
connman. When logged in to lxqt, I can run applications like csmt and
connmanctl to control connman, but if I start them as a non-root user,
I get a chain of dbus permission errors and am not able to see or
change network settings.
I have attached my system config file as well as info about my Guix
commit and system hardware.
Looking at Guix source, it appears that lxqt-desktop-service-type has
polkit settings, but I'm not seeing something similiar in the source
for connman package (connman.scm). I checked with the folks on #connman
and they said that connman does provide a polkit policy file which
should be working in conjunction with elogind, the standard location
being /usr/share/polkit-1/actions/net.connman.policy.
It could just be a problem with my system config definition, of course,
but it is not obvious to me, and it didn't seem to be anything obvious
to the folks on #guix IRC.
[-- Attachment #1.2: Type: text/html, Size: 1300 bytes --]
[-- Attachment #2: 4Q7Q.txt --]
[-- Type: text/plain, Size: 455 bytes --]
christopher@mithril
-------------------
OS: Guix System 1ab03fb74505458e7754dce338a5da29dc754d80 i686
Host: CF-30CTQAZBM 001
Kernel: 5.11.7-gnu
Uptime: 2 days, 19 hours, 4 mins
Packages: 71 (guix-system), 11 (guix-user)
Shell: bash 5.0.16
Resolution: 1024x768
DE: LXQt 0.15.0
Terminal: qterminal
Terminal Font: Monospace 12
CPU: Genuine Intel L2400 (2) @ 1.667GHz
GPU: Intel Mobile 945GM/GMS/GME, 943/940GML Express
Memory: 203MiB / 3013MiB
[-- Attachment #3: 7MTA.txt --]
[-- Type: text/plain, Size: 2001 bytes --]
(use-modules (gnu)
(rnrs lists))
(use-service-modules desktop networking ssh xorg)
(operating-system
(locale "en_US.utf8")
(timezone "America/Anchorage")
(keyboard-layout (keyboard-layout "us" #:options '("ctrl:swapcaps")))
(host-name "mithril")
(users (cons* (user-account
(name "christopher")
(comment "Christopher Howard")
(group "users")
(home-directory "/home/christopher")
(supplementary-groups
'("wheel" "netdev" "audio" "video" "dialout" "disk" "floppy" "cdrom" "kvm")))
%base-user-accounts))
(packages
(append
(list
(specification->package+output "bind" "utils"))
(map specification->package
'("cmst"
"cpupower"
"file"
"gforth"
"hexedit"
"iperf"
"lsof"
"lxqt-connman-applet"
"minicom"
"neofetch"
"nss-certs"
"openssl"
"picocom"
"p7zip"
"rsync"
"screen"
"sshfs"
"tree"
"wget"
"zip"))
%base-packages))
(services
(append
(list (service lxqt-desktop-service-type)
(service slim-service-type
(slim-configuration
(xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout)))))
(service elogind-service-type)
(service openssh-service-type)
(service connman-service-type)
(service wpa-supplicant-service-type))
%base-services))
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(keyboard-layout keyboard-layout)))
(kernel-arguments (cons "cpufreq.default_governor=conservative" %default-kernel-arguments))
(file-systems
(cons* (file-system
(mount-point "/")
(device
(uuid "981f1ff0-cb4f-446d-81ed-be6bf64a139e"
'ext4))
(type "ext4"))
%base-file-systems)))
[-- Attachment #4: PBHQ.txt --]
[-- Type: text/plain, Size: 192 bytes --]
Generation 3 Mar 19 2021 02:21:25 (current)
guix 1ab03fb
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 1ab03fb74505458e7754dce338a5da29dc754d80
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-22 17:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 17:16 bug#47326: connman permissions Christopher Howard
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.