Dependency on homebrew?

All your general support questions for OpenZFS on OS X.

Dependency on homebrew?

Postby adrianb » Sun Feb 18, 2018 7:32 pm

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).
adrianb
 
Posts: 4
Joined: Thu Aug 18, 2016 3:20 am
Location: Nottinghamshire

Re: Dependency on homebrew?

Postby lundman » Tue Feb 27, 2018 3:51 am

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.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Dependency on homebrew?

Postby whizzrd » Fri Nov 08, 2019 1:40 pm

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
whizzrd
 
Posts: 1
Joined: Fri Nov 08, 2019 1:25 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 18 guests

cron