-
Notifications
You must be signed in to change notification settings - Fork 250
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
Default install puts zfs-auto-snapshot.sh in unfindable directory. #47
Comments
I just found this as well. Getting e-mails from my server. From: root@dirty.rotten.soy (Cron Daemon) /bin/sh: 1: zfs-auto-snapshot: not found root@dirty:/etc/cron.d# cat zfs-auto-snapshot */15 * * * * root zfs-auto-snapshot -q -g --label=frequent --keep=4 // root@dirty:/etc/cron.d# whereis zfs-auto-snapshot |
Yep, that's the one. My workaround was: Either the link becomes redundant or is overwritten, either way it's harmless. |
Another workaround is installing with
|
Change "zfs-auto-snapshot" to the absolute path when installing Inspired by zfsonlinux#44 Issue zfsonlinux#47
The script is by default placed in /usr/local/sbin, which is not included in the path specified in the included crontab files.
From /etc/cron.d/zfs-auto-snapshot:
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
Either the default install location needs to be changed, or /usr/local/sbin needs to be included in that path...
The text was updated successfully, but these errors were encountered: