-
Notifications
You must be signed in to change notification settings - Fork 28
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
Rocky linux 8.6 configure script installs into new weird locations #276
Comments
@syleishere Thanks for your opinion. @atheik Any opinion about this ? |
Well looking at configure.log how runstatedir gets set: seems to be the culprit as prefix by default gets set to /usr/local Quick fix from what I can see since I cannot see anywhere else localstatedir is used other than runstatedir is just setting: or: and can get rid of localstatedir completely. |
ksmbd-tools provides the If you run
If |
Looks like both Rocky Linux 8.6 and 9.0 have GNU autoconf 2.69, but only Rocky Linux 9.0 has the backported |
Alright, thank-you for responses, perhaps make file could check presence of runstatedir then, if doesn't exist run a mkdir -p against it then so noone else runs up against this issue wondering why ksmd.mount not running if possible. |
No, the directory should not be created in the install target since nothing is installed there. Also, it cannot be created since it should be under a tmpfs filesystem. Giving some sort of warning message if it does not exist and when You could have avoided this issue entirely if you had read |
One more thing. This configuration that you ended up with is pretty unusual: ./configure --with-rundir=/var/run --sysconfdir=/etc It almost follows FHS, but not quite, since the utilities ( Rocky Linux actually ships with ./configure --prefix=/usr With this I hope this cleared things up for you. Please close this issue if it did. |
After upgrading tools the run directory and sysconfdir have changed
./configure --with-rundir=/var/run --sysconfdir=/etc
is only way I could get it to work again....
where it use to be /etc/ksmbd it is now /usr/local/etc/ksmbd by default, which is not a big deal but the rundir has issues:
tries to use lock files in /usr/local/var/run instead of /var/run, which will prevent ksmbd from starting.
The text was updated successfully, but these errors were encountered: