Gentoo Archives: gentoo-dev

From: Roy Marples <uberlord@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] /var/lib/init.d/* vs. pidfiles
Date: Mon, 18 Dec 2006 18:09:41
Message-Id: 20061218180548.2d60e764@uberlaptop.development.ltl
In Reply to: [gentoo-dev] /var/lib/init.d/* vs. pidfiles by Enrico Weigelt
1 On Mon, 18 Dec 2006 18:39:06 +0100
2 Enrico Weigelt <weigelt@×××××.de> wrote:
3 >
4 > Hi folks,
5 >
6 >
7 > the bug 139243 shows an possible problem in the init.d system
8 > it stores the service status in /var/lib/init.d/started and
9
10 I'm going to stop you right there.
11 Before claiming design problems in the init system, you could at least
12 have the good grace to try out the most current available in portage
13 where you would know
14
15 1) status is now in /lib/rcscripts/init.d/{started,starting,etc}
16 2) A simple status call to the init script checks running daemons and
17 returns either 0 or 1 appropriately allowing a sys admin to report on
18 crashed services and possible take an automated action.
19
20 This isn't the first time you've done this, but please when you feel
21 the urge to post the next time try searching the archives and or
22 bugzilla where this exact issue has already been discussed.
23
24 Thanks
25
26 Roy
27 --
28 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] /var/lib/init.d/* vs. pidfiles Enrico Weigelt <weigelt@×××××.de>