[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elogind status
From: |
Ludovic Courtès |
Subject: |
Re: elogind status |
Date: |
Thu, 27 Aug 2015 22:47:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andy Wingo <address@hidden> skribis:
> On Thu 27 Aug 2015 15:25, address@hidden (Ludovic Courtès) writes:
>
>> Andy Wingo <address@hidden> skribis:
>>
>>> I will keep this patch stack up to date at wip-pam-elogind. On that
>>> branch there's an update to a new elogind that includes systemd's code
>>> to suspend/hibernate/hybrid-sleep the system, as well as new code to
>>> implement the poweroff/halt/reboot things.
>>
>> How does poweroff/halt/reboot works?
>>
>> On GuixSD, ‘halt’ & co. make an RPC to dmd so that it terminates all the
>> services (including file system mounts) in the right order.
>>
>> Anyway, good stuff!
>
> Currently poweroff and halt both invoke the "halt" executable, whose
> full path is captured at build-time if available and otherwise searched
> in the path. In Guix the full path is captured. Poweroff and halt are
> the same on modern systems, aren't they? Dunno.
I think so.
> Reboot invokes reboot, captured in the same way, and the same for
> kexec. Anyway for Guix this should do the right thing, no?
Yes, that’s perfect.
> Suspend/hibernate/hybrid-sleep all write to /sys/power/disk and
> /sys/power/state.
Sounds good.
Thanks,
Ludo’.