postinst: bootlogd is not used under systemd

"Note that not all init systems print messages to the system console,
so that the logfile may remain empty; this is the case with systemd
(the default init system). Try "journalctl -b" instead."
-- https://packages.debian.org/stretch/bootlogd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-03-12 14:13:58 +01:00 committed by Fabian Grünbichler
parent a1ed4d5c75
commit b0e70271e5

3
debian/postinst vendored
View File

@ -67,9 +67,6 @@ EOF
echo '|/usr/bin/pvemailforward' >/root/.forward
fi
# disable fancy init messages (bad with bootlogd)
test -f /etc/lsb-base-logging.sh || echo "FANCYTTY=0" >/etc/lsb-base-logging.sh
if [ -f /etc/systemd/system/ceph.service ]; then
md5=$(md5sum /etc/systemd/system/ceph.service)
if [[ "$md5" == "21b2e7a7c4ffcf92ad0ec2c905e88e5b /etc/systemd/system/ceph.service" ]]; then