[Openswan dev] disabling the ispec service in "make programs install"

Paul Wouters paul at xelerance.com
Tue Oct 26 14:46:57 EDT 2010


On Tue, 26 Oct 2010, Simon Deziel wrote:

> This change makes update-rc.d complains like this :
>
> update-rc.d: warning: ipsec start runlevel arguments (2 3 4 5) do not
> match LSB Default-Start values (none)

I understand.

> I keep thinking the right solution is to leave the Default-Start line as
> it was

We can't. It would enable the service on reboot on Fedora.

> and simply not call update-rc.d/chkconfig in the packaging

chkconfig --add is suppsed to be called when you install the package.

http://fedoraproject.org/wiki/Packaging/SysVInitScript

> recipes. I have build a test rpm by removing all calls to chkconfig in
> the .spec and ipsec is not configured to auto start even if the
> Default-Start is set to 2 3 4 5.

But now any tools manipulating starting daemons do not have information to
start/stop. For instance, when you run "ntsysv", the ipsec service will no
longer show up to toggle on/off.

> I think this proves the problem
> reported on Red Hat's bugzilla is caused by a bad .spec file. The LSB
> header is interpreted right by Debian _and_ Red Hat.

I don't think so.

> P.S.: To please all customers, the deb package is already configured to
> not call update-rc.d in post install except if requested during the
> installation.

Thanks :)


More information about the Dev mailing list