X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fupgrade-to-buster.mdwn;h=9bdf9f1d3ff5aa7083aa430282199a6d66f0105b;hb=0005b5d0b23ab73cb26f508733fbc3c6d54de56b;hp=5b58b416f141d723a867575618db8f315181b4ae;hpb=51ab52f30e230edbcbe98026a2ff1c43fb8e368b;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/upgrade-to-buster.mdwn b/input/howto/upgrade-to-buster.mdwn index 5b58b41..9bdf9f1 100644 --- a/input/howto/upgrade-to-buster.mdwn +++ b/input/howto/upgrade-to-buster.mdwn @@ -10,13 +10,13 @@ upgrade stuff: * say no to other other questions. first re-enable module loading, as new modules are needed to restart ferm (due to nftables): + sed -i "s#echo 1#echo 0#" /etc/rc.local && reboot < /dev/null commands: sed -i "s#stretch#buster#g" /etc/apt/sources.list.d/debian.list /etc/apt/sources.list.d/security.list && - sed -i "/backports/d" /etc/apt/sources.list.d/debian.list && dpkg --clear-avail && apt-get update && service samhain stop && @@ -24,6 +24,7 @@ commands: apt-get install dpkg apt samhain && service samhain stop && apt-get dist-upgrade && + service samhain stop && rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file && samhain --foreground -t init -p none -s none -l none -m none && (puppet agent -t || true) &&