Alexandre Detiste writes:
 
> [...] here is an exercpt from the last version of this service file
> I found in /etc; the only things I tweaked further
> are the "Before=systemd-journald.service" because I didn't liked
> seeing 1970-01-01 in the journal
> and "Conflicts=shutdown.target", this line may actually helps you
> solve your problem.
> 
> /lib/systemd/system/systemd-timesyncd.service also includes the same
> "Conflicts=".
> 
> ---
> 
> [Unit]
> Description=Restore / save the current clock
> Documentation=man:fake-hwclock(8)
> DefaultDependencies=no
> Before=systemd-journald.service
> Conflicts=shutdown.target

Indeed, the following patch fixes the issue I have reported for me:
--- fake-hwclock.service.orig   2015-03-03 12:49:11.324000051 +0100
+++ fake-hwclock.service        2015-03-03 12:45:30.548000023 +0100
@@ -3,6 +3,7 @@
 Documentation=man:fake-hwclock(8)
 DefaultDependencies=no
 Before=sysinit.target
+Conflicts=shutdown.target

 [Service]
 EnvironmentFile=-/etc/default/fake-hwclock
Your other suggestion might be useful too.

Thanks to both of you for your help.

Harald

Reply via email to