From af4afcb5d4bce121c81f21b68f85b7715d34ca5e Mon Sep 17 00:00:00 2001 From: david Date: Thu, 29 Mar 2018 13:25:11 +0200 Subject: [PATCH] mxgrub: add kernel option audit=0 to disable audit dmesg messages: [240814.657807] audit: type=1006 audit(1522322245.903:219): pid=32116 uid=0 old-auid=4294967295 auid=5252 tty=(none) old-ses=4294967295 ses=218 res=1 audit wurde aktiviert durch das hinzukommen von journald beim update vom systemd notes: https://github.com/systemd/systemd/issues/959 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773528 --- mxgrub/mxgrub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mxgrub/mxgrub b/mxgrub/mxgrub index 799d7c8..d784dd2 100755 --- a/mxgrub/mxgrub +++ b/mxgrub/mxgrub @@ -233,7 +233,7 @@ sub update_grub_cfg { for my $label (@MARIUX) { my $image=label_to_image($label); - $kernellist.="\tmenuentry \"$label\" --unrestricted { save_env chosen ; linux /boot/$image crashkernel=256M root=LABEL=root ro console=ttyS1,115200n8 console=tty0 init=/bin/systemd ; initrd /boot/grub/initramfs.igz }\n"; + $kernellist.="\tmenuentry \"$label\" --unrestricted { save_env chosen ; linux /boot/$image crashkernel=256M root=LABEL=root ro console=ttyS1,115200n8 console=tty0 init=/bin/systemd audit=0 ; initrd /boot/grub/initramfs.igz }\n"; } my $GRUB_CFG_NEW=<<"EOF"; @@ -247,7 +247,7 @@ set default="$MARIUX_DEFAULT" load_env if [ -e /etc/local/USB.usb ]; then set default="mariuxUSB" - menuentry "mariuxUSB" --unrestricted { save_env chosen ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=rootusb ro init=/bin/systemd ; initrd /boot/grub/initramfs.igz } + menuentry "mariuxUSB" --unrestricted { save_env chosen ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=rootusb ro init=/bin/systemd audit=0 ; initrd /boot/grub/initramfs.igz } else menuentry "$MARIUX_DEFAULT" --unrestricted { set chosen="$submenu>$MARIUX_DEFAULT" ; save_env chosen ; linux /boot/bzImage.x86_64 crashkernel=256M root=LABEL=root ro console=ttyS1,115200n8 console=tty0 init=/bin/systemd ; initrd /boot/grub/initramfs.igz }