mask systemd-journald-audit.socket

won't work in unpriv CTs and mark the systemctl status as failed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-11-11 16:39:40 +01:00
parent 03406f3e36
commit acef423b96
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ sub bootstrap {
$self->ve_command(['pacman', '-S', '--needed', '--noconfirm', '--', @$packages]); $self->ve_command(['pacman', '-S', '--needed', '--noconfirm', '--', @$packages]);
print "Masking problematic systemd units...\n"; print "Masking problematic systemd units...\n";
for my $unit (qw(sys-kernel-config.mount sys-kernel-debug.mount)) { for my $unit (qw(sys-kernel-config.mount sys-kernel-debug.mount systemd-journald-audit.socket)) {
$self->mask_systemd_unit($unit); $self->mask_systemd_unit($unit);
} }
} }