-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
audit: 4.1.1-unstable-2025-08-01 -> 4.1.2, cleanup #441506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d7b5e33 to
d5b50d8
Compare
d5b50d8 to
53a5643
Compare
previously, audit would attempt to execute the hostPlatform python to gather extra info, which broke on cross. This was fixed upstream in linux-audit/audit-userspace@8f6095a, so the audit python module just works, even on cross. Python support is still disabled on static, because the module wouldn't be importable anyways.
…with the upstream unit
The default path of the audisp socket was chanegd in linux-audit/audit-userspace@4ade146
53a5643 to
d4ebfe3
Compare
|
I still need to run testing on this, but i made use of the upstream unit, switched to unstable instead of patch, and cleaned up the opensnitch socket path stuff. |
|
VM and passthru tests all passed on x86_64-linux, running some final tests on aarch64 (opensnitch VM test is known-broken there, on master too) but this looks about ready now |
|
I also opened two PRs upstream to hopefully drop some of the patches done here: |
|
I'm not convinced that it is a particularly good idea to rely more on upstream:
|
|
|
Auditd is implemented as a classic self-forking daemon and uses forking for readiness notification that audit logging is setup and working. The contract is that if you order after the audit service that audit logging is working. With Type=exec and simple you dont get that guarantee An alternative would be Type=notify but they don't have integration with sd_notify (at the moment). |
nikstur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. Thank you for taking the time to answer my concerns. I'm convinced.
systemd-tmpfiles-setup.servicedoCheck = true(required patching a#! /usr/bin/envshebang)pythonImportsCheckHookThings done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.