mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
nixos/auditd: break ordering cycle (#27577)
auditd creates an ordering cycle by adding wantedBy = [ "basic.target" ], because of this the job job systemd-update-utmp.service/start is deleted. Adding unitConfig.DefaultDependencies = false; to the auditd service unbreaks the cycle. See also #11864
This commit is contained in:
parent
7be40dd899
commit
93965870a8
@ -13,6 +13,7 @@ with lib;
|
||||
unitConfig = {
|
||||
ConditionVirtualization = "!container";
|
||||
ConditionSecurity = [ "audit" ];
|
||||
DefaultDependencies = false;
|
||||
};
|
||||
|
||||
path = [ pkgs.audit ];
|
||||
|
Loading…
Reference in New Issue
Block a user