Skip to content
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

rpm: Fix installation path of SysV startup script #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jbillingredhat
Copy link

Do not use /etc/init.d for SysV init scripts for RPM-based linux distros. The directory should be /etc/rc.d/init.d.

When using /etc/init.d and no chkconfig or initscripts packages are installed first, this package was creating /etc/init.d as a directory. Unfortunately, if you wanted to later install a package that brought in the chkconfig package, the RPM transaction would fail because it assumes it can create a symlink in /etc/init.d when a directory already exists.

A bug was filed for this here:
osquery/osquery#7949

Do not use /etc/init.d for SysV init scripts for RPM-based
linux distros.  The directory should be /etc/rc.d/init.d.

When using /etc/init.d and no chkconfig or initscripts packages
are installed first, this package was creating /etc/init.d as
a directory.  Unfortunately, if you wanted to later install
a package that brought in the chkconfig package, the RPM
transaction would fail because it assumes it can create
a symlink in /etc/init.d when a directory already exists.

A bug was filed for this here:
osquery/osquery#7949
@linux-foundation-easycla
Copy link

CLA Not Signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant