Page 1 of 1

BUG: Wrong symlinks to zed.d scripts in2.1.6

PostPosted: Tue Jan 03, 2023 12:46 pm
by mike0810
I found a bug causing the log errors described above in the zed.err log:

The aliases point to the wrong file names:
ls /etc/zfs/zed.d/
lrwxr-xr-x 1 root wheel 47B Jan 2 15:05 zvol.create.sh -> /usr/local/zfs/libexec/zfs/zed.d/zvol.create.sh
lrwxr-xr-x 1 root wheel 47B Jan 2 15:05 zvol.remove.sh -> /usr/local/zfs/libexec/zfs/zed.d/zvol.remove.sh

ls /usr/local/zfs/libexec/zfs/zed.d/
-rwxr-xr-x 1 root wheel 1.0K Dec 1 12:23 zvol_create.sh
-rwxr-xr-x 1 root wheel 784B Dec 1 12:23 zvol_remove.sh

Re: BUG: Wrong symlinks

PostPosted: Tue Jan 03, 2023 1:58 pm
by nadigo
thanks a lot mike0810!
I can confirm that after manually changing the links manually things are working as expected.

Code: Select all
sudo ln -sfn /usr/local/zfs/libexec/zfs/zed.d/zvol_remove.sh /etc/zfs/zed.d/zvol.remove.sh
sudo ln -sfn /usr/local/zfs/libexec/zfs/zed.d/zvol_create.sh /etc/zfs/zed.d/zvol.create.sh

Re: BUG: Wrong symlinks to zed.d scripts in2.1.6

PostPosted: Wed Feb 15, 2023 6:56 pm
by lundman

Re: BUG: Wrong symlinks to zed.d scripts in2.1.6

PostPosted: Sat Mar 04, 2023 7:44 am
by mike0810
lundman wrote:https://github.com/openzfsonosx/openzfs-fork/commit/a83610d2d3ba5ab5fa64c575bb3e22285bb22299


Great! Thank you!