Gentoo Archives: gentoo-hardened

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] How openrc check the state of services?
Date: Mon, 16 May 2011 06:03:31
Message-Id: BANLkTimfgyTTc6uVt3zZMOwuS+PF1hmq_g@mail.gmail.com
In Reply to: [gentoo-hardened] How openrc check the state of services? by "Tóth Attila"
1 It is the /sbin/rc binary which uses the information in /lib64/rc/init.d (a
2 tmpfs mount). The tmpfs location has directories like "started" in which
3 symlinks exist to the files in /etc/init.d.
4
5 Wkr,
6 Sven Vermeulen
7
8 On Mon, May 16, 2011 at 2:49 AM, "Tóth Attila" <atoth@××××××××××.hu> wrote:
9
10 > Just switched to openrc + baselayout2.
11 > Using grsecurity RBAC.
12 >
13 > During the shutdown process I see endless countdowns for each service
14 > waiting for others. It is obvious, that something prevents the rc system
15 > to detect if a service is stopped or not.
16 >
17 > I have to insert a rule for a binary. The question is that which binary
18 > checks dependent services running and what it tries to do?
19 >
20 > Anyone have a clue?
21 >
22 > Thx:
23 > Dw.
24 > --
25 > dr Tóth Attila, Radiológus, 06-20-825-8057
26 > Attila Toth MD, Radiologist, +36-20-825-8057
27 >
28 >
29 >
30 >
31 >