[pkg-ntp-maintainers] Bug#892965: ntpdate: unconditionally removes /var/lib/ntpdate on purge, even if ntpsec-ntpdate is installed

Julian Gilbey jdg at debian.org
Wed Mar 14 22:36:37 UTC 2018


Package: ntpdate
Version: 1:4.2.8p10+dfsg-6
Severity: important

In the postrm, ntpdate does an unconditional rm -rf /var/lib/ntpdate
without checking whether ntpsec-ntpdate is installed (which also uses
the same directory).  It should protect the rm -rf with some sort of
test for whether ntpsec-ntpdate is installed (even if only in
config-files only state).

Best wishes,

   Julian



More information about the pkg-ntp-maintainers mailing list