[systemd-devel] logind: lid switch action not executed on small open/close delays

Alad Wenter alad at archlinux.info
Tue Mar 10 08:42:37 PDT 2015


On 03/06/2015 02:47 PM, David Herrmann wrote:
> Hi
>
> On Wed, Jan 28, 2015 at 8:31 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
>> On Sat, 17.01.15 18:36, David Herrmann (dh.herrmann at gmail.com) wrote:
>>
>>> I think it's reasonable to allow setting the base-timeout in
>>> /etc/systemd/logind.conf, but I want to know Lennart's opinion first.
>>> Preferably, this timeout was a kernel-timeout on the bus-probe itself.
>>> But we don't have anything like this, so we need the excessive
>>> timeouts in user-space as we cannot know whether we're just scheduled
>>> late or whether the bus-probe really takes that long... Meh...
>>>
>>> My system takes <5s to boot, so I could easily set those timeouts to
>>> 10s and everything would be fine. And I also don't care for hotplug
>>> changes while the system is off/suspended, hence, I could even disable
>>> the timeout and everything would just work.
>>> Not really sure how to proceed...
>> I think making the timeout configurable in logind.conf would be OK.
> Done.
>
> http://cgit.freedesktop.org/systemd/systemd/commit/?id=9d10cbee89ca7f82d29b9cb27bef11e23e3803ba
>
> Thanks
> David
Compiled from git and HoldOffTimeSec=0 works as expected. Thank you very 
much!

Regards,

Alad


More information about the systemd-devel mailing list