Source: openntpd
Version: 1:6.2p3-4.2
Severity: important
Tags: patch
X-Debbugs-Cc: [email protected]
Enclosed.
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.74+deb13+1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
#!/bin/sh
set -e
case "${1}" in
configure)
if ! getent passwd ntpd >/dev/null 2>&1; then
adduser --quiet --system --group --no-create-home --home
/var/run/openntpd ntpd
fi
;;
abort-upgrade | abort-remove | abort-deconfigure) ;;
*)
echo "postinst called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
#!/bin/sh
set -e
case "${1}" in
purge)
if [ -x deluser ]; then
deluser --quiet ntpd >/dev/null || true
fi
rm -f /var/lib/openntpd/db/ntpd.drift
rm -f /var/lib/openntpd/run/ntpd.sock
;;
remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear)
;;
*)
echo "postrm called with unknown argument \`${1}'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
#!/bin/sh
set -e
#DEBHELPER#
exit 0
rm_conffile /usr/lib/systemd/ntp-units.d/openntpd.list 1:5.7p4-1
rm_conffile /etc/apparmor.d/usr.sbin.ntpd 1:5.7p4-1