Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

auditd not doing anything

Featured Replies

I am not shure if this is board specific so I post it here and hope that you might be willing to try this on your board:

 

- I installed audit:

apt install auditd

 

- I set up a rule for a file audit should watch:

auditctl -w /boot/armbianEnv.txt -p wa

 

- I change or touch the file being watched:

touch /boot/armbianEnv.txt

 

- I have a look at the log of audit:

cat /var/log/audit/audit.log

 

And then ––– I see nothing... Any hints what's going wrong? My guess is that the kernel might be lacking the audit module?!

Edited by barish

  • Author

Found this in /var/log/kern.log :

Jun 28 09:14:51 localhost kernel: [    0.026499] audit: initializing netlink subsys (disabled)
Jun 28 09:14:51 localhost kernel: [    0.026793] audit: type=2000 audit(0.024:1): state=initialized audit_enabled=0 res=1

 

And I tried auditd on another board of mine (Olinuxino micro) also running Buster, where it is working fine. So either it is a board topic or it's a stupid user topic... 😕

audit seems enabled in mvebu64 current: https://github.com/armbian/build/blob/master/config/kernel/linux-mvebu64-current.config

So hard to tell...

 

Edit: is SELINUX enabled? Seems like this or similar is necessary to make use of audit:#

Quote

Enable auditing infrastructure that can be used with another kernel subsystem, such as SELinux (which requires this for logging of avc messages output). System call auditing is included on architectures which support it.

 

  • Author

Thanks @Werner, as I understand it, audit is a component of SELinux, but can be activated standalone, too. I don't know how to troubleshoot this, all output (systemctl status auditd) is identical to a working auditd on other board, just the log file stays empty.

 

For the record, I am running Armbian 21.02.3 Espressobin Debian buster current, kernel is 5.10.21-mvebu64 .

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.