From: Thomas Lamprecht Date: Sat, 25 Apr 2020 14:54:54 +0000 (+0200) Subject: mask sys-kernel-config.mount: fails and makes no sense in CT X-Git-Url: https://git.proxmox.com/?p=dab.git;a=commitdiff_plain;h=29e1552693afa99a24b88241da96a231e5424f8b mask sys-kernel-config.mount: fails and makes no sense in CT If it somehow really makes sense a user can just unmask it again, this is just setting the default, nothing permanent Signed-off-by: Thomas Lamprecht --- diff --git a/DAB.pm b/DAB.pm index c8b650a..7604e87 100644 --- a/DAB.pm +++ b/DAB.pm @@ -1576,6 +1576,10 @@ EOD $filelist .= " $rootdir/etc/sysctl.d/10-network-security.conf"; $self->run_command ("rm $filelist"); } + + if (-e "$rootdir/lib/systemd/system/sys-kernel-config.mount") { + $self->ve_command ("ln -s /dev/null /etc/systemd/system/sys-kernel-debug.mount"); + } } sub enter {