From 976062ed2981033272847c3ee910848df5774f69 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 8 Aug 2021 22:12:24 +0200 Subject: Debian: T3641: drop dead symlink file in /etc/init.d --- debian/vyos-1x.postinst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index a17fe351c..4b4c4c13e 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -76,3 +76,10 @@ if [ ! -x $POSTCONFIG_SCRIPT ]; then EOF fi +# symlink destination is deleted during ISO assembly - this generates some noise +# when the system boots: systemd-sysv-generator[1881]: stat() failed on +# /etc/init.d/README, ignoring: No such file or directory. Thus we simply drop +# the file. +if [ -L /etc/init.d/README ]; then + rm -f /etc/init.d/README +fi -- cgit v1.2.3