From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: going from systemd to udev
Date: Fri, 7 Feb 2014 16:32:28 -0600 [thread overview]
Message-ID: <CADPrc83iVOWT4sMx9pevqPRVSbL3v42OXonYpAh87kA7prP+Ug@mail.gmail.com> (raw)
In-Reply-To: <ld3khv$h83$1@ger.gmane.org>
On Fri, Feb 7, 2014 at 3:52 PM, walt <w41ter@gmail.com> wrote:
> On 02/06/2014 05:38 PM, Canek Peláez Valdés wrote:
>> On Thu, Feb 6, 2014 at 7:21 PM, walt <w41ter@gmail.com> wrote:
>>> On 02/05/2014 06:25 PM, Canek Peláez Valdés wrote:
>>>> On Feb 5, 2014 6:23 PM, "walt" <w41ter@gmail.com
>>>> <mailto:w41ter@gmail.com>> wrote: [ snip ]
>>>>> I am seat0
>>>
>>>> I'm more concerned about you being seat0, and you being asked for a
>>>> password. In theory that's what logind solves, and in a much more
>>>> cleaner, race-free and deterministic way than ConsoleKit.
>>>>
>>>> Do you have systemd with the policykit USE flag? And polkit with the
>>>> systemd USE flag? (I suppose the later must have it).
>>>
>>> Yes systemd has polkit and polkit has systemd.
>>>>
>>>> If you do, can you please show us the output (make sure to do this
>>>> inside your DE session) from:
>>>>
>>>> • loginctl seat-status
>>>>
>>>> For example, mine shows:
>>> <snippage>
>
> $loginctl seat-status seat0
> seat0
> Sessions: 1
> Devices:
> ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
> │ input:input1 "Power Button"
> ├─/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
> │ input:input0 "Power Button"
> ├─/sys/devices/pci0000:00/0000:00:01.1/sound/card0
> │ sound:card0 "Generic"
> ├─/sys/devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0
> │ block:sr0
> ├─/sys/devices/pci0000:00/0000:00:11.0/ata3/host2/target2:0:0/2:0:0:0/scsi_generic/sg1
> │ scsi_generic:sg1
> ├─/sys/devices/pci0000:00/0000:00:12.0/usb4
> │ usb:usb4
> │ ├─/sys/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.0/input/input5
> │ │ input:input5 "Lenovo Black Silk USB Keyboard"
> │ └─/sys/devices/pci0000:00/0000:00:12.0/usb4/4-5/4-5:1.1/input/input6
> │ input:input6 "Lenovo Black Silk USB Keyboard"
> ├─/sys/devices/pci0000:00/0000:00:12.2/usb1
> │ usb:usb1
> ├─/sys/devices/pci0000:00/0000:00:13.0/usb5
> │ usb:usb5
> │ └─/sys/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/input/input4
> │ input:input4 "Logitech USB Trackball"
> ├─/sys/devices/pci0000:00/0000:00:13.2/usb2
> │ usb:usb2
> ├─/sys/devices/pci0000:00/0000:00:14.2/sound/card1
> │ sound:card1 "Generic_1"
> ├─/sys/devices/pci0000:00/0000:00:14.5/usb6
> │ usb:usb6
> ├─/sys/devices/pci0000:00/0000:00:15.1/0000:04:00.0/usb8
> │ usb:usb8
> ├─/sys/devices/pci0000:00/0000:00:15.1/0000:04:00.0/usb9
> │ usb:usb9
> ├─/sys/devices/pci0000:00/0000:00:16.0/usb7
> │ usb:usb7
> ├─/sys/devices/pci0000:00/0000:00:16.2/usb3
> │ usb:usb3
> └─/sys/devices/virtual/misc/kvm
> misc:kvm
>
> Does systemd pay attention to groups these days?
>
> $groups
> disk lp wheel audio cdrom video games cdrw scanner lpadmin wireshark plugdev vboxusers wa1ter kvm
It does, but for desktops it's not the most important thing to assign
resources permissions. Groups are static, and you want dynamic
behavior to properly support multiuser systems.
Your seat seems to be the owner of both the power buttons and USB
devices, so you should not be asked for a password when powering down
the machine (unless another user or root is logged in, for example by
ssh), nor when using a USB stick.
I repeat my question (if you already answered I apologize), do you
have systemd emerged with the policykit USE flag?
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
next prev parent reply other threads:[~2014-02-07 22:32 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 19:58 [gentoo-user] going from systemd to udev Joseph
2014-02-04 21:42 ` Daniel Campbell
2014-02-04 22:29 ` gottlieb
2014-02-04 23:27 ` [gentoo-user] " walt
2014-02-05 0:10 ` Canek Peláez Valdés
2014-02-05 1:30 ` Poncho
2014-02-05 1:34 ` Canek Peláez Valdés
2014-02-06 0:22 ` walt
2014-02-06 2:25 ` Canek Peláez Valdés
2014-02-07 1:21 ` walt
2014-02-07 1:38 ` Canek Peláez Valdés
2014-02-07 21:52 ` walt
2014-02-07 22:32 ` Canek Peláez Valdés [this message]
2014-02-07 23:25 ` walt
2014-02-08 0:43 ` Canek Peláez Valdés
2014-02-08 1:38 ` walt
2014-02-05 6:21 ` Alan McKinnon
2014-02-05 9:27 ` J. Roeleveld
2014-02-05 0:03 ` [gentoo-user] " Canek Peláez Valdés
2014-02-05 0:24 ` Joseph
2014-02-05 0:38 ` Canek Peláez Valdés
2014-02-05 1:26 ` Joseph
2014-02-05 1:28 ` Joseph
2014-02-05 1:33 ` Canek Peláez Valdés
2014-02-05 2:01 ` Joseph
2014-02-05 2:06 ` Canek Peláez Valdés
2014-02-05 2:12 ` Joseph
2014-02-05 1:38 ` Joseph
2014-02-05 1:50 ` Canek Peláez Valdés
2014-02-06 19:22 ` Pavel Volkov
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=CADPrc83iVOWT4sMx9pevqPRVSbL3v42OXonYpAh87kA7prP+Ug@mail.gmail.com \
--to=caneko@gmail.com \
--cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox