-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Incorrect ZPOOL_CACHE automake substitution in the init scripts #370
Comments
Your of course right. Sorry, I wasn't thinking when I made this change... I'll revert these bits. As an aside, how do you feel about throwing your init script for ubuntu in with the others? If you'ld rather maintain it yourself that's fine but it might be nice to have them all in one place. For example, the 'zfs share -a' change would have automatically made it in then. |
I must check whether dh_installinit can use a file produced by an install rule. If yes, then an init script for Ubuntu should be added to the others. (It is unusual that ZFS changes /etc/init.d during an unmanaged installation. None of the major projects in distro do this for a local install.) The existing init scripts for ZFS have races and dependency cycles in the Ubuntu init stack. I tried a variety of non-invasive fixes, but it looks like patching |
Yes, having the upstream package provide any real packaging/init scripts/udev rules is a little odd. Typically this is all handled by each downstream distribution since things vary so widely between distributions. Unfortunately, until the package get's an official maintainer for a distribution I feel compelled to provide something.
Issues exactly like this. :) |
zfsonlinux/spl#bcb15891ab394e11615eee08bba1fd85ac32e158 implemented Linux 3.6+ support by adding duplicate vn_rename and vn_remove functions. The new ones were cleaner, but the duplicate functions made the codebase less maintainable. This adds some compatibility shims that allow us to retire the older vn_rename and vn_remove in favor of the new ones on old kernels. The result is a net 143 line reduction in lines of code and a cleaner codebase. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#370
Commit aa2b489 moves the zpool.cache file from /etc/zfs to /etc/init.d like this:
Automake sets this default in the top Makefile:
This results in:
The text was updated successfully, but these errors were encountered: