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

All your general support questions for OpenZFS on OS X.

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

Postby mike0810 » Tue Jan 03, 2023 12:46 pm

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
Last edited by mike0810 on Thu Jan 05, 2023 4:34 am, edited 2 times in total.
mike0810
 
Posts: 55
Joined: Fri Jan 16, 2015 5:17 pm

Re: BUG: Wrong symlinks

Postby nadigo » Tue Jan 03, 2023 1:58 pm

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
nadigo
 
Posts: 5
Joined: Mon Jan 02, 2023 1:11 pm

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

Postby lundman » Wed Feb 15, 2023 6:56 pm

User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

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

Postby mike0810 » Sat Mar 04, 2023 7:44 am

lundman wrote:https://github.com/openzfsonosx/openzfs-fork/commit/a83610d2d3ba5ab5fa64c575bb3e22285bb22299


Great! Thank you!
mike0810
 
Posts: 55
Joined: Fri Jan 16, 2015 5:17 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 28 guests