Summary: | WITHOUT_AUDIT does not function as expected | ||
---|---|---|---|
Product: | Base System | Reporter: | Ivan Rozhuk <rozhuk.im> |
Component: | conf | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Open --- | ||
Severity: | Affects Many People | CC: | aniketp, asomers, emaste, kpect, rozhuk.im |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | 233046 | ||
Bug Blocks: |
Description
Ivan Rozhuk
2018-05-05 02:26:04 UTC
src.conf(5) documents the *_AUDIT knob as: WITHOUT_AUDIT Set to not build audit support into system programs. It appears to have two effects: - controls whether sshd, su, login, id are built with audit support - controls whether audit, auditd, auditdistd, auditreduce, praudit are built and installed I think rozhuk's complaint is valid, though his test method isn't. There are plenty of other files in etc that are gated by src.conf knobs: ntp, blacklistd, etc. The audit-related files should be so gated, too. However, even if they were, "make delete-old" wouldn't remove them. "make delete-old" only removes files that are no longer needed on any configuration, regardless of src.conf knobs. (In reply to Alan Somers from comment #3) Agreed, my point is just that the description for WITHOUT_AUDIT does not indicate it will remove the audit binaries/files - the documentation will need updating as well if/when this is fixed. (In reply to Alan Somers from comment #3) But it removes bin file, so rc.d script does not work. |