audit-userspace icon indicating copy to clipboard operation
audit-userspace copied to clipboard

Remove systemd as runtime dependecy

Open lzkof opened this issue 1 year ago • 2 comments

Auditd does not depend on systemd for building and running. It only depends on systemd if systemd service files are used to start auditd. But auditd can be started by other init systems e.g. OpenRC as well. As done in Alpine Linux (https://git.alpinelinux.org/aports/tree/main/audit/auditd.initd)

Therefore stating systemd as runtime dependency is misleading.

lzkof avatar May 21 '24 12:05 lzkof

I've delayed responding to this to gather my thoughts. I've had my arguments with systemd developers here and in their issue tracker. At this point, I'm tired of it. I cannot accept this patch in it's current form because this repo literally provides systemd support. Not that I am an enthusiast, but it's reality.

What I am willing to accept is a statement that says something to the effect that auditd can be run by other init systems with a link to supporting documents and a link to an example file used by said init system that users of auditd would find useful. I want to find a middle ground that I publish useful information to auditd users without getting bogged down in systemd's merits.

In other words, let's make systemd an "or". Provide a modest description so that other maintainers who might be switching init systems have something to work with. Maybe eventually supply the file and update configure.ac/Makefile.am to accept a switch that installs the right init script for OpenRC.

I'm open to that, not deleting systemd. I hope you understand.

stevegrubb avatar May 27 '24 03:05 stevegrubb

That sounds reasonable. I implemented the changes. LMK what you think.

lzkof avatar May 27 '24 10:05 lzkof