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

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Apr 27 21:04:41 CEST 2019


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

--- Comment #22 from Olivier Duchateau <duchateau.olivier at gmail.com> ---
(In reply to Landry Breuil from comment #20)
> I've looked again at ali's branch, and i see that autospawning ckit (if
> installed but not launched, because messagebus doesnt run or the session
> hasnt been lauched within ckit) has been disabled by
> G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START in
> https://git.xfce.org/users/ali/xfce4-session/commit/?h=bsd-shutdown-
> fallback&id=b7fab5309f40979da56c29bc649f1d16e625a16c and that makes sense,
> as starting a ckit daemon from the session will only lead to issues, as a
> running session cannot be 'reparented' later on to a ckit launched after the
> session.
> 
> so besides the nit on _SC_NGROUPS_MAX/MAX_USER_GROUPS (maybe using int
> new_grp = sysconf(_SC_NGROUPS_MAX) in
> https://git.xfce.org/users/ali/xfce4-session/tree/xfce4-session/xfsm-
> shutdown-fallback.c?h=bsd-shutdown-fallback#n210 and remove the #define), i
> think this should be merged so that its properly tested for 4.14. Otherwise
> that'll miss it...
> 
> olivier, guido, more opinions ?

I already use sysconf(_SC_NGROUPS_MAX) [1] (I think it's more BSD friendly).

[1]
https://app.assembla.com/spaces/xfce4/subversion/source/HEAD/tags/4.13/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-shutdown-fallback.c#ln100

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


More information about the Xfce-bugs mailing list