Default Run Level SUSE 11

I am trying to register my service using /sbin/chkconfig –a Sample

BEGIN INIT INFO

My Product Entry

Provides: My Sample

Product Aliases:

Required-Start:

Required-Stop:

Default-Start:

Default-Stop: 0 1 2 4 6

chkconfig:

Description: My Sample

END INIT INFO

Even though my default start is NULL it is taking the runlevel 3 and 5.

Here is my log file.

Sample 0: off 1: off 2: off 3: on 4: off 5: on 6: off
insserv: warning: script ‘’ missing LSB tags and overrides
insserv: warning: script ‘’ missing LSB tags and overrides
insserv: warning: script ‘’ missing LSB tags and overrides
insserv: Default-Start undefined, assuming default start runlevel(s) for script virtual_build.OLD' insserv: warning: script '' missing LSB tags and overrides insserv: warning: script '' missing LSB tags and overrides insserv: warning: current start runlevel(s) (3 5) of script Sample’ overwrites defaults (empty).

On Mon, 30 Apr 2012 06:46:02 +0000, maheshpeddi wrote:

> I am trying to register my service using /sbin/chkconfig –a

What specific SUSE release are you using? You say “SUSE 11”, which to me
(and probably others around here) means SUSE Linux Enterprise [Server|
Desktop], in which case you’ll want to ask over on forums.suse.com.

Otherwise, let us know which version of openSUSE you’re using (11.4 and
12.1 are the versions currently ‘supported’ with updates and patches, and
we’d recommend if you’re using something older than 11.4 that you upgrade.

But it’s important to be specific as openSUSE 12.1 uses systemd by
default and that will probably affect how you configure your service, as
systemd is quite different from sysvinit (which is what chkconfig is used
for).

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C