]> git.proxmox.com Git - mirror_zfs.git/commit
Use ExecStartPre to load zfs modules
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 26 May 2015 21:06:36 +0000 (14:06 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 26 May 2015 23:18:50 +0000 (16:18 -0700)
commit544f7184f8541bbfd7c739f7e01fc9b5b6e57c5e
treebd65e7bb4e165fca1b960212afcecfa760664af7
parent65037d9b25c2bfa98d0aa5c9e34678127c03b345
Use ExecStartPre to load zfs modules

Commit 87abfcb broke the systemd import service by treating the
ExecStart line as if it were a shell command that could be executed.
This isn't the way systemd works and the correct way to handle this
case is with ExecStartPre.  This patch updates the zfs import service
files accordingly,

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Chris Siebenmann <cks.git01@cs.toronto.edu>
Closes #3440
etc/systemd/system/zfs-import-cache.service.in
etc/systemd/system/zfs-import-scan.service.in