all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: 47326@debbugs.gnu.org
Subject: bug#47326: connman permissions
Date: Mon, 22 Mar 2021 09:16:29 -0800	[thread overview]
Message-ID: <5d125fe4c3ddffa4cff0c326eefbde93b42e77b8.camel@librehacker.com> (raw)


[-- 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

                 reply	other threads:[~2021-03-22 17:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d125fe4c3ddffa4cff0c326eefbde93b42e77b8.camel@librehacker.com \
    --to=christopher@librehacker.com \
    --cc=47326@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.