pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Mack <mack@ips.cs.tu-bs.de>
To: pgsql-sql@postgresql.org
Subject: Re: postmaster: init.d/start
Date: Tue, 13 Jun 2000 09:23:08 +0200 (MET DST)
Message-ID: <200006130723.JAA16409@infbsdb1.idb.cs.tu-bs.de> (raw)

>Hi Daniel,
>
>thank you for your reply.
>
>There are some unanswered questions.
>Why does one have to consider multiple run levels? Doesn't run level 3
>(network + X) implicate run level 2 (network)?

Not on SuSE Linux. On SOlaris for example, you will find in /etc/inittab
an entry like:

s2:23:wait:/sbin/rc2

with the meaning that /sbin/rc2 will be executed in runlevel 2 AND 3 as
well. So all the scripts in rc2.d will be started in runlevel 3 as well
(on Solaris).

In SuSE you find:

l2:2:wait:/sbin/init.d/rc 2
l3:3:wait:/sbin/init.d/rc 3

So each runlevel just starts its scripts only.

>So if I don't use XDM (or equivalent) and the system starts with a login
>shell only, it would start run level 2 services. And if I use XDM and
>the system starts using X it would also load run level 2 services?
>
No, not on SuSE. But you can change your /etc/inittab, if you like to have
this behaviour. Actually, you will find (almost?) all scripts from
/sbin/init.d/rc2.d doubled in /sbin/init.d/rc3.d for the reason, that
runlevel 3 does NOT start the scripts for runlevel 2.


Thomas Mack
TU Braunschweig, Abt. Informationssysteme



view thread (5+ messages)

Message-ID: <200006130723.JAA16409@infbsdb1.idb.cs.tu-bs.de>
Permalink:  ../200006130723.JAA16409@infbsdb1.idb.cs.tu-bs.de/
Also on:    postgresql.org/message-id/200006130723.JAA16409@infbsdb1.idb.cs.tu-bs.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: mack@ips.cs.tu-bs.de
  Subject: Re: postmaster: init.d/start
  In-Reply-To: <200006130723.JAA16409@infbsdb1.idb.cs.tu-bs.de>
  References: <200006130723.JAA16409@infbsdb1.idb.cs.tu-bs.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox