Package: chrony
Version: 1.30-1+b1
Severity: minor
Tags: patch
Hi,
Currently, the value of the 'UTC' variable from the 'rcS' conffile is parsed
in the post-install script, but the support for this variable has been
dropped in 2012 in favour of the 'UTC|LOCAL' variables in '/etc/adjtime' which
is
also parsed in this script to {un}comment the 'rtconutc' setting in
'chrony.conf'.
Thus, It seems now safe to remove the parsing logic from the script.
Cheers,
Vincent
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages chrony depends on:
ii install-info 5.2.0.dfsg.1-6
ii libc6 2.19-13
ii libedit2 3.1-20140620-2
ii libtomcrypt0 1.17-6
ii lsb-base 4.1+Debian13+nmu1
ii net-tools 1.60-26+b1
ii timelimit 1.8-1
ii ucf 3.0030
Versions of packages chrony recommends:
ii udev 215-11
chrony suggests no packages.
-- no debconf information
diff --git a/devel/a/chrony/debian/postinst b/devel/b/chrony/debian/postinst
index bb13102..9b332a1 100644
--- a/devel/a/chrony/debian/postinst
+++ b/devel/b/chrony/debian/postinst
@@ -17,15 +17,6 @@ case "$1" in
# look for real-time clock
if [ -f /etc/adjtime ]; then
TZONE=$(grep -E "UTC|LOCAL" /etc/adjtime)
-
- elif [ -f /etc/default/rcS ]; then
- . /etc/default/rcS
- case "$UTC" in
- no|"") TZONE="LOCAL"
- ;;
- yes) TZONE="UTC"
- ;;
- esac
fi
# set rtconutc for chrony