Am 07.10.2014 um 20:40 schrieb Michael Biebl: > Am 07.10.2014 um 20:37 schrieb Aurelien Jarno: >> I don't really see how it can happen, this file is not supposed to be >> run under systemd, due to the following code at the beginning: >> >> | if [ -e /run/systemd/system ] ; then >> | exit 0 >> | fi >> >> Therefore it should not be run on systemd. It was actually one of the >> problem I reported on IRC before we switched all the RTC drivers to >> built-in. > > Keep in mind, that /run/systemd/system does not exist in the initramfs > as we don't use systemd in the initramfs (yet). > So afaics what happens is, that we run hwclock twice under systemd: > once in the initramfs, a second time by systemd itself.
systemd set's the system clock internally [1]. And this code doesn't take into account that the initramfs might already have run hwclock --hctosys. [1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=7948c4dfbea73ac21250b588089039aa17a90386 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature