Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package fake-hwclock Bug #779040 was filed - the systemd support that I added with help from Alexandre Detiste was not quite complete: fake-hwclock is not being run properly on shutdown. A tiny change to the service file fixes this, and I've just uploaded this in 0.9. There was also a trivial man page improvement which is in this version too - hope that's OK! (The bug was only filed as important, I've just raised its severity to serious as it's breaking the entire point of fake-hwclock for systemd users.) Debdiff attached. unblock fake-hwclock/0.9 -- System Information: Debian Release: 7.8 APT prefers stable APT policy: (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru fake-hwclock-0.8/debian/changelog fake-hwclock-0.9/debian/changelog --- fake-hwclock-0.8/debian/changelog 2014-10-01 13:23:42.000000000 +0100 +++ fake-hwclock-0.9/debian/changelog 2015-03-16 17:05:35.000000000 +0000 @@ -1,3 +1,11 @@ +fake-hwclock (0.9) unstable; urgency=medium + + * Ensure fake-hwclock runs at shutdown on systemd systems too. + Closes: #779040. Thanks again to Alexandre Detiste for the patch. + * Add more rationale in the man page. + + -- Steve McIntyre <93...@debian.org> Mon, 16 Mar 2015 17:05:47 +0000 + fake-hwclock (0.8) unstable; urgency=medium * Add protection around save, don't go backwards unless forced. diff -Nru fake-hwclock-0.8/debian/fake-hwclock.service fake-hwclock-0.9/debian/fake-hwclock.service --- fake-hwclock-0.8/debian/fake-hwclock.service 2014-09-06 15:51:45.000000000 +0100 +++ fake-hwclock-0.9/debian/fake-hwclock.service 2015-03-16 17:01:29.000000000 +0000 @@ -3,6 +3,7 @@ Documentation=man:fake-hwclock(8) DefaultDependencies=no Before=sysinit.target +Conflicts=shutdown.target [Service] EnvironmentFile=-/etc/default/fake-hwclock diff -Nru fake-hwclock-0.8/fake-hwclock.8 fake-hwclock-0.9/fake-hwclock.8 --- fake-hwclock-0.8/fake-hwclock.8 2014-10-01 13:23:07.000000000 +0100 +++ fake-hwclock-0.9/fake-hwclock.8 2014-10-17 16:36:49.000000000 +0100 @@ -14,6 +14,15 @@ forward this is a bad thing. NTP can (and should where practical) be used to sync with an external timeserver but it is not available early in the boot process and may be unavailable for other reasons. + +The design expectation of \fBfake-hwclock\fP is that it will be run +very late at shutdown and very early at boot. This will ensure that +fsck has a vaguely sensible idea of system time at boot and won't +complain that the last-modified time in the filesystem is not hugely +in the past or future. Some users may not worry about this too use +case, in which case it is possible to modify the init system +configuration to move things earlier/later as appropriate. + .SH DESCRIPTION \fBfake-hwclock\fP sets and queries a fake "hardware clock" which stores the time in a file. This program may be run by the system administrator