-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File zed-functions.sh is missing from zfs-zed_0.6.5.3-1~trusty_amd64.deb #180
Comments
Need any help testing?
|
I'm also affected by this issue, I've been unable to generate any output from zed, I'm happy to assist if possible. Adding the newest I've tried enabling debugging by uncommenting The configuration file
Some side notes; I don't understand why the package doesn't replicate the structure from zed ie. configuration and zedlets all in the same |
Here is how I had configured my setup (that works). Only all-syslog.sh is enabled (i.e. zed is only used to log events). No changes were necessary in /etc/zfs/zed.d/zed.rc, but they may be needed if you use other zedlets. apt-get install zfs-zed Download missing zed-functions.sh: service zed restart |
Hi @mpuzio, Thanks for your clarification. I'm running a headless ZFS file-repo, so an email alert would match the rest of the alerts I've configured (S.M.A.R.T., temperature etc.).
Progress since last post, a file owned by root is now created at /tmp/zed.debug.log, and contains some log - containing ex. this nugget With the above setup a email was attempted to be sent to [email protected], zed is seemingly also ignoring the Changing to So far not completely there, I'll try digging a little into the zedlets in-order to make the email hit the configured address. |
File zed-functions.sh file is necessary for running zedlets included in /usr/lib/zfs-linux/zfs/zed.d/. When absent, daemon fails do run any zedlet scripts and as a result does nothing.
Quick workaround:
cd /etc/zfs/zed.d/
wget https://raw.githubusercontent.com/zfsonlinux/zfs/master/cmd/zed/zed.d/zed-functions.sh
chmod a+x zed-functions.sh
The text was updated successfully, but these errors were encountered: