-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[FHS] Make zfs instal fhs compatible #247
Comments
Exactly which files do you believe are not FHS compliant? Just the zfs, zpool, and libraries. You can can set --prefix=/ to ensure they are installed in the primary hierarchy. By default configure assumes /usr/local/ and most rpms/debs assume /usr. But you can absolutely override this. ./configure --prefix=/ make make install |
Yeah. But if you do so you will get /libexec /includes and so on. Also udev helpers should be placed under /lib/udev and many other things are fhs incompatible. They may be acceptable on solaris but not on linux. I can make a patch to fix this. |
Things installed to /lib/udev should be managed by the packaging system. Installing to /etc/udev is probably the best default for a local install. I resolved the libexec violation in dajhorn/pkg-zfs@9d8c292 and dajhorn/pkg-zfs@5d633c8 for Debian and Ubuntu. However, per earlier discussion, moving the libexec scripts into a zfs-test package could be an improvement. |
I mean binaryes that called from udev rules such as zvol_id and friends. They should go to /lib/udev since they are udev helpers |
Yes, right. I will apply this change to the deb packaging. |
I think i'll create patch for zfs build system so it will install all things in fhs compatible way |
If you can propose a patch which identifies all the files which are not FHS compliant that's a good starting point. However, I want to ensure that we don't start hard coding any install paths. This probably means splitting off a zfs-test package. This would allow the core utilities/libraries/helpers to be installed in the primary hierarchy with just a --prefix=/. Everything which belongs in the secondary hierarchy which is largely zfs-test could then be configured with --prefix=/usr. |
The provided rpm/deb packaging in master has been updated to install the zfs utilities and helpers in fhs compatible locations. |
…llocator::Slab:free panic, zoa restarts every 4 min during stress/scale test (openzfs#247)
zfs and spl packages should be fhs compatible.
The text was updated successfully, but these errors were encountered: