Page 1 of 1

Dependency on homebrew?

PostPosted: Sun Feb 18, 2018 7:32 pm
by adrianb
While trying to mount a failing volume on my Mac, I looked in the console log and noticed this:

Code: Select all
Feb 19 15:22:02 clover zed[43180]: error: data-notify.sh: eid=63: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: /opt/homebrew/bin/flock: No such file or directory
Feb 19 15:22:02 clover zed[43182]: eid=64 class=data pool=Development


I don't have homebrew installed, so flock is missing on my system... is this a problem?

I'm running the High Sierra version (1.7.0).

Re: Dependency on homebrew?

PostPosted: Tue Feb 27, 2018 3:51 am
by lundman
I've yet to find "flock" for osx, but I'm not entirely sure it is required. They seem to want to serialise the zedlets executing, but I think it would have been nicer to do inside ZED itself.

But really it just means that zedlet has not yet been ported from ZOL to OSX properly. Feel free to remove the flock line and see if it runs better.

Re: Dependency on homebrew?

PostPosted: Fri Nov 08, 2019 1:40 pm
by whizzrd
lundman wrote:I've yet to find "flock" for osx


After getting logspammed
Code: Select all
error: data-notify.sh: eid=*: failed to unlock "/var/run/zed.zedlet.state.lock": /etc/zfs/zed.d/zed-functions.sh: line 166: /opt/homebrew/bin/flock: No such file or directory


I did some googling and found https://github.com/discoteq/flock with ISC License