From 718223498b8866aa999be1246f2c94fa1f0df6b4 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Tue, 11 Jun 2024 01:42:27 +0000 Subject: [PATCH] add more packages to remove in containers --- patches/container/conf | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/patches/container/conf b/patches/container/conf index b9a9367..a0db945 100755 --- a/patches/container/conf +++ b/patches/container/conf @@ -31,8 +31,16 @@ apt-get -y purge $OLD_META_KERNEL $OLD_KERNEL # stop auto-secupdates complaining mkdir -p /lib/modules -# remove ntp, jitterentropy & acpi daemons -apt-get purge -y ntpsec jitterentropy-rngd acpid || true +# remove packages that are problematic, redundant and/or not usable in a +# container +apt-get purge -y \ + ntpsec \ + jitterentropy-rngd \ + acpid \ + fdisk webmin-fdisk \ + lvm2 webmin-lvm \ + webmin-raid webmin-mount \ + || true # disable ssh.socket so that sshd runs reliably - closes #1722 systemctl mask ssh.socket