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

Lennart Poettering lennart at poettering.net
Wed Jan 28 11:31:43 PST 2015


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.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list