How disable AUDIT messages

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

How disable AUDIT messages

Postby ocantodomelro » Tue Oct 09, 2018 7:39 am

hello, I have install archlinux rpi2 in raspberry pi3 V1.2
everything is correct but I don't like to see all time audit messages.
How simple disable permanently Audit messages, (not with "auditctl -e 0")
best regards,
Nelson
ocantodomelro
 
Posts: 6
Joined: Thu Mar 13, 2014 6:54 pm

Re: How disable AUDIT messages

Postby TheSaint » Tue Oct 09, 2018 11:08 am

I think there should be a command to add to the kernel line, to disable that procedure. Also there should be a systemd service to have the same sort.
TheSaint
 
Posts: 242
Joined: Mon Jul 23, 2018 7:57 am

Re: How disable AUDIT messages

Postby graysky » Tue Oct 09, 2018 8:03 pm

Yeah, the audit messages are annoying... on the pi, append audit=0 to the line in /boot/cmdline.txt and reboot. For example:
Code: Select all
root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop audit=0
graysky
 
Posts: 410
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: How disable AUDIT messages

Postby ufo6000 » Wed Oct 10, 2018 3:53 pm

or
Code: Select all
sudo systemctl mask systemd-journald-audit.socket

and reboot
ufo6000
 
Posts: 29
Joined: Fri Jan 22, 2016 7:54 pm

Re: How disable AUDIT messages

Postby TheSaint » Wed Oct 10, 2018 6:52 pm

Using both is guarantee that no more nagging are coming out. Someone said that disabling the systemd service won't suffice.
TheSaint
 
Posts: 242
Joined: Mon Jul 23, 2018 7:57 am

Re: How disable AUDIT messages

Postby ocantodomelro » Fri Oct 12, 2018 6:53 am

Many thanks, work with cmdline.txt
ocantodomelro
 
Posts: 6
Joined: Thu Mar 13, 2014 6:54 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 2 guests