Unverified Commit 38d73e0c authored by r-vdp's avatar r-vdp
Browse files

auditd: add a dependency on systemd-tmpfiles-setup

This is needed so that:
- users have been created (when using systemd-sysusers or userborn)
- /run and /var/run exist
parent 544c9722
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -15,8 +15,15 @@

    systemd.services.auditd = {
      description = "Linux Audit daemon";
      wantedBy = [ "basic.target" ];
      before = [ "shutdown.target" ];
      wantedBy = [ "sysinit.target" ];
      after = [
        "local-fs.target"
        "systemd-tmpfiles-setup.service"
      ];
      before = [
        "sysinit.target"
        "shutdown.target"
      ];
      conflicts = [ "shutdown.target" ];

      unitConfig = {