From: Sven Vermeulen <sven.vermeulen@siphos.be>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] How openrc check the state of services?
Date: Mon, 16 May 2011 07:44:51 +0200 [thread overview]
Message-ID: <BANLkTimfgyTTc6uVt3zZMOwuS+PF1hmq_g@mail.gmail.com> (raw)
In-Reply-To: <d64f9a163592fe2e815fe4427bcd55eb.squirrel@atoth.sote.hu>
[-- 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 --]
prev parent reply other threads:[~2011-05-16 6:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimfgyTTc6uVt3zZMOwuS+PF1hmq_g@mail.gmail.com \
--to=sven.vermeulen@siphos.be \
--cc=gentoo-hardened@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox