Your message dated Sun, 14 Jul 2024 18:19:45 +0000
with message-id <[email protected]>
and subject line Bug#833966: fixed in fake-hwclock 0.14
has caused the Debian Bug report #833966,
regarding fake-hwclock ignores settings in parameter file
(/etc/default/fake-hwclock)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
833966: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833966
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fake-hwclock
Version: 0.8
Severity: normal
Tags: patch
Any configuration settings added to /etc/default/fake-hwclock are not utilised
by the primary fake-hwclock script.
The problem appears to be two-fold. Firstly, the environment variable present
in the parameter file are loaded but not passed to the fake-hwclock script by
the /etc/init.d script,
as the "bin" script is not called with "source" (or "."). Secondly, the
fake-hwclock "binary" call made by cron.hourly does not call the parameter file
at all.
We've solved this issue by moving the parameter file call from the init.d
script into the "binary" script.
We discovered this issue whilst attempting to use a data file other than
/etc/fake-hwclock.data (and yes, we've read bug #782314 and note the
recommendations against doing so).
-- System Information:
Debian Release: 7.8
Architecture: armhf (armv7l)
Kernel: Linux 4.4.11-v7+ (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
Versions of packages fake-hwclock depends on:
ii init-system-helpers 1.18~bpo70+1
fake-hwclock recommends no packages.
Versions of packages fake-hwclock suggests:
ii cron [cron-daemon] 3.0pl1-124
ii ntp 1:4.2.6.p5+dfsg-2+deb7u3
-- Configuration Files:
/etc/default/fake-hwclock changed [not included]
/etc/init.d/fake-hwclock changed [not included]
-- no debconf information
--- etc/init.d/fake-hwclock.orig 2016-08-11 07:57:12.000000000 +1000
+++ etc/init.d/fake-hwclock 2016-08-11 07:20:04.000000000 +1000
@@ -17,11 +17,6 @@ set -e
# Include core init functions if needed
. /lib/lsb/init-functions
-PARAM=/etc/default/fake-hwclock
-if [ -f $PARAM ]; then
- . "$PARAM"
-fi
-
case "${1:-}" in
stop|reload|restart|force-reload)
echo "Stopping fake hwclock: saving system time."
--- sbin/fake-hwclock.orig 2016-08-11 07:56:28.000000000 +1000
+++ sbin/fake-hwclock 2016-08-11 07:19:37.000000000 +1000
@@ -10,6 +10,11 @@
#
# License: GPLv2, see COPYING
+PARAM=/etc/default/fake-hwclock
+if [ -f $PARAM ]; then
+ . "$PARAM"
+fi
+
if [ "$FILE"x = ""x ] ; then
FILE=/etc/fake-hwclock.data
fi
--- End Message ---
--- Begin Message ---
Source: fake-hwclock
Source-Version: 0.14
Done: Steve McIntyre <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fake-hwclock, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve McIntyre <[email protected]> (supplier of updated fake-hwclock package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 14 Jul 2024 17:42:20 +0100
Source: fake-hwclock
Architecture: source
Version: 0.14
Distribution: unstable
Urgency: medium
Maintainer: Steve McIntyre <[email protected]>
Changed-By: Steve McIntyre <[email protected]>
Closes: 833966 908504 1073737
Changes:
fake-hwclock (0.14) unstable; urgency=medium
.
* Fix up remaining things installed outside of /usr.
Closes: #1073737
* Update paths listed in the man page to point to /usr.
* Tweak handling of parameters. Closes: #833966
* Make fake-hwclock-load.service run before
systemd-fsck-root.service. Closes: #908504
Checksums-Sha1:
8b7e4c028581c1682583db0f03879e9323b89190 1572 fake-hwclock_0.14.dsc
81f843fa04b81c01485a967aa76aaf367e4201f1 11900 fake-hwclock_0.14.tar.xz
08d4456b34810036c1c446036a522ace8c084d52 6115
fake-hwclock_0.14_source.buildinfo
Checksums-Sha256:
7803bfeb2818a56c70745e6a3c3ce4e398f292da93168258f8fb6690072f2888 1572
fake-hwclock_0.14.dsc
9f506a6e982e1943263a9c824972320d89f84dc4e52f6ae3fb383b9e7e1eb11b 11900
fake-hwclock_0.14.tar.xz
c70e342fcd2e7deb45dc7cb7bf5220a23503c10127969d27be694d2a02c4ed45 6115
fake-hwclock_0.14_source.buildinfo
Files:
f639cab5439ce5f00bf9ce3207edb530 1572 admin optional fake-hwclock_0.14.dsc
f019ec24f7249556eef0cd7487504048 11900 admin optional fake-hwclock_0.14.tar.xz
2b6ed5dbbb6f23cabefbce8f1c2eb692 6115 admin optional
fake-hwclock_0.14_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAmaUDYsRHDkzc2FtQGRl
Ymlhbi5vcmcACgkQWHl5VzRCaE5MsQ//X2a6QenJIWoDitG231cP1BF6nhcHtJOp
IGWXDNLloSj3h7fe44TpVq4fDbjmhIHq8exXdp0PUJHXF0xa/BBXL/0MW+ovtWsp
3oFNSI2OGG8AtCEjpZXqp4Z4BDRzHsf3Kme12sV6Pc/dQn28PXh1p3KpI/VaiVRC
wIY6D35l/PXOf8taFELqevQ+ueCgeI/73V2RLHAeI1kFkp3CcvmZxcLilZikNjBX
k0viit/OzfIm8iiJ8r1iNtYYaX0ysU+pGmmVHah81lkDSFeJ6ilFaBIxFULUc3ng
hDYO3oauvgc8+svI986dpbQc71dQiI3Oo39ImaaSMwEK0ziU8/HZzXmSY5F1cmX9
hhwPLszEWiZPLSP7jEGHSwm9iQ9CfZ09yLLXqCfDlbhDsOAiXVJlrGyhhcdn2FiZ
gyfL9LseJrdvZmXMWp7rRcUcJICXQGWGe3eCF1BQ9GW6QOFJGHPaZqDUU/NnTwQO
Zb+k5dJiuoSyKuIkfd4J7q4nRaSLBBDrzAptBm5/9K9uhSkZsYGFKJSlkWDe9JoM
x8NJ+9CFkKgC17+UJTqaC+vM3Lk90TNJI+LcJvcTgGJVZkIEMZ4LGNPcEdDpZKAL
NdDzLHujYu4tvOGvmG2+Wiikm3/MKuW9Yl26c/txS2UDz9+/4TOQDktKhkov4rkn
6TNO9OERmbk=
=aH8X
-----END PGP SIGNATURE-----
pgpGR64N6sVlf.pgp
Description: PGP signature
--- End Message ---