zfs/etc/systemd/system
Richard Laager 6bf3f4dfe5 Fix a dependency loop
When generating units with zfs-mount-generator, if the pool is already
imported, zfs-import.target is not needed.  This avoids a dependency
loop on root-on-ZFS systems:
  systemd-random-seed.service After (via RequiresMountsFor)
  var-lib.mount After
  zfs-import.target After
  zfs-import-{cache,scan}.service After
  cryptsetup.service After
  systemd-random-seed.service

Reviewed-by: Antonio Russo <antonio.e.russo@gmail.com>
Reviewed-by: InsanePrawn <insane.prawny@gmail.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #10388
2020-08-30 14:18:41 -07:00
..
.gitignore Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00
50-zfs.preset.in New service that waits on zvol links to be created 2019-07-17 15:33:05 -07:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00
zfs-import-cache.service.in Verify zfs module loaded before starting services 2020-08-01 17:13:15 -07:00
zfs-import-scan.service.in Verify zfs module loaded before starting services 2020-08-01 17:13:15 -07:00
zfs-import.target.in Cleanup systemd dependencies 2017-11-08 09:39:15 -08:00
zfs-mount.service.in Fix a dependency loop 2020-08-30 14:18:41 -07:00
zfs-share.service.in Remove dependency on sharetab file and refactor sharing logic 2020-07-13 09:19:18 -07:00
zfs-volume-wait.service.in New service that waits on zvol links to be created 2019-07-17 15:33:05 -07:00
zfs-volumes.target.in New service that waits on zvol links to be created 2019-07-17 15:33:05 -07:00
zfs-zed.service.in Add kernel module auto-loading 2018-03-13 10:45:55 -07:00
zfs.target.in Systemd configuration fixes 2016-05-27 11:54:29 -07:00