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

Harald Jenny harald at a-little-linux-box.at
Thu Oct 28 11:09:21 EDT 2010


On Tue, Oct 26, 2010 at 02:46:57PM -0400, Paul Wouters wrote:
> 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.

chkconfig may be used under Debian but it's not the standard tool.

> 
> 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.

Not a good idea...

> 
> > 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.

The header is interpreted right by Debian and Red Hat but both have different
views what should be done ;-).

> 
> > 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.

Maybe I will borrow this for standard Deb ;-).

> 
> Thanks :)

Kind regards
Harald

> _______________________________________________
> Dev mailing list
> Dev at openswan.org
> http://lists.openswan.org/mailman/listinfo/dev


More information about the Dev mailing list