summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-04-04 10:53:02 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-04-04 10:57:27 +0000
commitbff83d0cfe203a26976ceecd2dd29461c00a91b6 (patch)
treeacab92489493be0697e8281176b1102b5ae5fd99 /data/live-build-config
parent92de97acf48ea05e56e2bac90ede8b25545ac410 (diff)
downloadvyos-build-bff83d0cfe203a26976ceecd2dd29461c00a91b6.tar.gz
vyos-build-bff83d0cfe203a26976ceecd2dd29461c00a91b6.zip
T5142: systemd-journald-audit must not show logs from auditd
auditd logs must no be displayed for journalctl mask it
Diffstat (limited to 'data/live-build-config')
-rwxr-xr-xdata/live-build-config/hooks/live/18-enable-disable_services.chroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/18-enable-disable_services.chroot b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
index 2cc525aa..c62b0d58 100755
--- a/data/live-build-config/hooks/live/18-enable-disable_services.chroot
+++ b/data/live-build-config/hooks/live/18-enable-disable_services.chroot
@@ -71,3 +71,6 @@ systemctl enable ssh-session-cleanup.service
systemctl enable vyos-hostsd.service
systemctl enable acpid.service
systemctl enable vyos-configd.service
+
+echo I: Masking services
+systemctl mask systemd-journald-audit.socket