* [gentoo-hardened] How openrc check the state of services?
@ 2011-05-16 0:49 "Tóth Attila"
2011-05-16 5:44 ` Sven Vermeulen
0 siblings, 1 reply; 2+ messages in thread
From: "Tóth Attila" @ 2011-05-16 0:49 UTC (permalink / raw
To: gentoo-hardened
Just switched to openrc + baselayout2.
Using grsecurity RBAC.
During the shutdown process I see endless countdowns for each service
waiting for others. It is obvious, that something prevents the rc system
to detect if a service is stopped or not.
I have to insert a rule for a binary. The question is that which binary
checks dependent services running and what it tries to do?
Anyone have a clue?
Thx:
Dw.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-hardened] How openrc check the state of services?
2011-05-16 0:49 [gentoo-hardened] How openrc check the state of services? "Tóth Attila"
@ 2011-05-16 5:44 ` Sven Vermeulen
0 siblings, 0 replies; 2+ messages in thread
From: Sven Vermeulen @ 2011-05-16 5:44 UTC (permalink / raw
To: gentoo-hardened
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
It is the /sbin/rc binary which uses the information in /lib64/rc/init.d (a
tmpfs mount). The tmpfs location has directories like "started" in which
symlinks exist to the files in /etc/init.d.
Wkr,
Sven Vermeulen
On Mon, May 16, 2011 at 2:49 AM, "Tóth Attila" <atoth@atoth.sote.hu> wrote:
> Just switched to openrc + baselayout2.
> Using grsecurity RBAC.
>
> During the shutdown process I see endless countdowns for each service
> waiting for others. It is obvious, that something prevents the rc system
> to detect if a service is stopped or not.
>
> I have to insert a rule for a binary. The question is that which binary
> checks dependent services running and what it tries to do?
>
> Anyone have a clue?
>
> Thx:
> Dw.
> --
> dr Tóth Attila, Radiológus, 06-20-825-8057
> Attila Toth MD, Radiologist, +36-20-825-8057
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1224 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-16 6:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 0:49 [gentoo-hardened] How openrc check the state of services? "Tóth Attila"
2011-05-16 5:44 ` Sven Vermeulen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox