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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-04-25 16:54:54 +02:00
parent 420b0857de
commit 29e1552693

4
DAB.pm
View File

@ -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 {