https://bugzilla.xfce.org/show_bug.cgi?id=14722

Landry Breuil <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Landry Breuil <[email protected]> ---
Cool stuff !

Reading your diff, from what i understand, on BSD the code will first check
- if the user is operator, if we're shutting down/rebooting
- or the user has access to apmdev, which means the system has to run apmd, and
the user is in wheel group (on OpenBSD apmdev is mode 660, root:wheel) - and if
we're suspending/hibernating

If those conditions are fullfilled, it will *first* use the 'native' methode
(ie shutdown -p, shutdown -r, zzz, ZZZ), and *then* use polkit as a fallback ?

i like this behaviour, i just want to make sure i understand it fully so that i
can document it properly for users in
https://github.com/openbsd/ports/blob/master/meta/xfce/pkg/README-main#L20

- if you run apmd and are in the wheel group, you can suspend/hibernate 
- if you are in operator group you can shutdown/reboot
- as a fallback, you should install polkit, *and* have systemwide dbus daemon
running

will test your diff in the coming days in various situations so that i can
confirm reality matches my understanding.

Thanks !

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to