Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Commit

Permalink
sysinit.target: Don't depend on systemd-tmpfiles-setup.service
Browse files Browse the repository at this point in the history
systemd-tmpfiles-setup.service pulls in local-fs.target, which
interferes with NixOps' send-keys feature (since sshd.service depends
indirectly on sysinit.target). Since in NixOS we don't use
systemd-tmpfiles for creating files (that's done by activation scripts
and preStart scripts), it's not a problem to start it a bit later.
  • Loading branch information
edolstra committed May 25, 2016
1 parent d7757c1 commit 9212052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion units/systemd-tmpfiles-setup.service.in
Expand Up @@ -11,7 +11,7 @@ Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
DefaultDependencies=no
Conflicts=shutdown.target
After=local-fs.target systemd-sysusers.service
Before=sysinit.target shutdown.target
Before=shutdown.target
RefuseManualStop=yes

[Service]
Expand Down
2 changes: 1 addition & 1 deletion units/systemd-update-utmp.service.in
Expand Up @@ -11,7 +11,7 @@ Documentation=man:systemd-update-utmp.service(8) man:utmp(5)
DefaultDependencies=no
RequiresMountsFor=/var/log/wtmp
Conflicts=shutdown.target
After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service
After=systemd-remount-fs.service auditd.service
Before=sysinit.target shutdown.target

[Service]
Expand Down

0 comments on commit 9212052

Please sign in to comment.