matterhorn_init_d.sh does not support chkconfig (Redhat)

Steps to reproduce

cp matterhorn_init_d.sh /etc/init.d/matterhorn
chkconfig matterhorn on

service matterhorn does not support chkconfig

Activity

Show:
Rubén Pérez
March 21, 2011, 6:21 PM

I'm wondering if these two lines can be safely added to the general matterhorn_init_d.sh file without breaking the file for using in debian or ubuntu.
Do these lines need to be the first lines in the file? I could try and add the lines and see if it still starts (in Debian / Ubuntu).

Walter Schwarz
March 22, 2011, 1:10 PM

No, these do not need to be the first lines in the file.

This will work just fine with Debian / Ubuntu. Redhat ignores the # lines which are specific to other distros just as they ignore # lines specific to it.

A
April 5, 2011, 11:44 PM
Edited

Ruben can you confirm that these additions do not break Debian?
Ruediger can you confirm that these additions do not break Ubuntu and CentOS?

Rubén Pérez
April 7, 2011, 11:20 AM

Confirmed this doesn't break Debian nor Ubuntu

A
April 11, 2011, 3:58 AM

I committed the fix

Assignee

Rubén Pérez

Reporter

Walter Schwarz

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure