chiark / gitweb /
timedate: handle more nicely if something or somebody keeps open /dev/rtc and thus...
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Oct 2013 18:31:41 +0000 (19:31 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Oct 2013 18:34:59 +0000 (19:34 +0100)
commit88e262b667df1cd9873c45f0062ae79735f41ae6
treea6e0c8d4a20bb47fadd2cba0361dfa4927c08e1e
parent29f8d1f21ab5341361adcc2533fcda24a7fcf490
timedate: handle more nicely if something or somebody keeps open /dev/rtc and thus blocks out everybody else

chrony is appears to keep the RTC open continuously these days which is
a bad idea, and /dev/rtc is a single-user device, which is a bad idea
too. Together both bad ideas mean that nobody else can access the RTC
anymore. That's something to fix, but in the meantime we should handle
this more gracefully.
src/timedate/timedated.c