[Xfce-bugs] [Bug 14722] New: Better shutdown fallback code for the BSDs

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Sep 26 10:30:35 CEST 2018


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

            Bug ID: 14722
           Summary: Better shutdown fallback code for the BSDs
    Classification: Xfce Core
           Product: Xfce4-session
           Version: Unspecified
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: ali at xfce.org
                CC: benny at xfce.org, nick at xfce.org
  Target Milestone: Xfce 4.12

Hey,

I've implemented "native" shutdown fallback code on the  BSDs (tested on
FreeBSD, OpenBSD, DragonflyBSD). Current fallback code relies on Polkit, but
when it is not available, the fallback code does not work and user can't
shutdown/reboot/suspend/hibernate. 

On the BSD however, users of group operator can shutdown/reboot the systems, on
FreeBSD/NetBSD/DragonFly users with write access to /dev/acpi can
hibernate/suspend the system (typicall operators users), on OpenBSD users with
/var/run/apmdev can suspend/hibernate.  So I have added code to handle all of
this. 

Here is the code:
https://git.xfce.org/users/ali/xfce4-session/

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list