mirror of
https://git.proxmox.com/git/mirror_zfs-debian
synced 2025-08-14 11:18:28 +00:00
33 lines
1007 B
Diff
33 lines
1007 B
Diff
Description: Fix the path to the zed binary on the systemd unit.
|
|
We install zed into /usr/sbin manually meanwhile the upstream default
|
|
is installing it into /sbin.
|
|
Ubuntu packages also install zed to /usr/sbin, but they ship their own
|
|
zfs-zed unit.
|
|
Author: Carlos Alberto Lopez <clopez@igalia.com>
|
|
Author: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
|
Author: Chris Dos <chris@chrisdos.com>
|
|
Bug-Debian: https://bugs.debian.org/849813
|
|
Bug-Debian: https://bugs.debian.org/826994
|
|
Forwarded: no
|
|
--- a/etc/systemd/system/zfs-zed.service.in
|
|
+++ b/etc/systemd/system/zfs-zed.service.in
|
|
@@ -5,7 +5,7 @@ After=zfs-import-cache.service
|
|
After=zfs-import-scan.service
|
|
|
|
[Service]
|
|
-ExecStart=@sbindir@/zed -F
|
|
+ExecStart=/usr/sbin/zed -F
|
|
Restart=on-abort
|
|
|
|
[Install]
|
|
--- a/etc/init.d/zfs-functions.in
|
|
+++ b/etc/init.d/zfs-functions.in
|
|
@@ -89,7 +89,7 @@
|
|
|
|
# Paths to what we need
|
|
ZFS="@sbindir@/zfs"
|
|
-ZED="@sbindir@/zed"
|
|
+ZED="/usr/sbin/zed"
|
|
ZPOOL="@sbindir@/zpool"
|
|
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|