-
Notifications
You must be signed in to change notification settings - Fork 336
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
Individual init scripts don't restart correctly on Centos #1901
Comments
change line 67 and 68 SOLVED! Issue |
The same init script is used on Debian systems, your fix will result in a broken init script on that platform. The change was made in commit 55bb897 , from which it is reasonable to assume it is supposed to decouple the directories from /usr/local/. 55bb897#diff-c29ab6c44241bcf83345e349892e0cc6L37 I suggest that the correct fix is one or both of:
|
I do not know if the solution that applies solve on debian systems since I use centos, but if I think you should use the option of systemd or make the configuration chkconfig as they say. |
Or you can use script in directory for_fedora... Centos/EPEL and Fedora
Init or Systemd script work fine.
2017-06-01 21:37 GMT+02:00 Victor Pereira <notifications@github.com>:
… I do not know if the solution that applies solve on debian systems since I
use centos, but if I think you should use the option of systemd or make the
configuration chkconfig as they say.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1901 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAwrYPPF94BGJIhRaZc-WQ4Ne5B2Bmq4ks5r_xMGgaJpZM4M-nLQ>
.
--
David Hannequin
|
@hvad do you think it would be feasible to install that init script / systemd unit on Centos by default? |
@goetzk that i do on rpm package. |
Hi,
I had a quick look for existing issues so apologies if this has already been reported.
OS:
Shinken:
This is from a test run
It appears to be the result of init.d being a symlink.
The root cause appears to be in /etc/rc.d/init.d/shinken where it has
These paths are not defined yet when run via the arbiter, so /var and /etc/ cause errors. /bin/ succeeds by pure chance - the /bin has been left off the path so due to that bug there is no error in the test.
The text was updated successfully, but these errors were encountered: