From: Shaochun Wang <scwang@ios.ac.cn>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] Does strict policy work?
Date: Tue, 3 Feb 2009 23:11:48 +0800 [thread overview]
Message-ID: <20090203151148.GA25850@localhost> (raw)
In-Reply-To: <1233671025.3321.15.camel@defiant.pebenito.net>
Now I changed to targeted policy, and it seems more easy to tame than
strict policy. Becuase I use LVM to manage my disk and the
filesystem's root is on an LVM partition, I need to use initramfs to
make the kernel to recognize my root partiton. Without SELinux
enforcing, everything works; but with it, system hangs with the
following message:
* Filesystem couldn't be fixed :(
Give root password for maintenance
...
After giving the root password, I got a shell. Executing df command, I
found my root is mounted on two devices:
Filesystem ... Mounted on
rootfs /
/dev/vg0/slash /
I use busybox in my initramfs. The initramfs of my system can be
downloaded from http://lcs.ios.ac.cn/~scwang/docs/initramfs.tar.gz
Any help on initramfs with SELinux support?
BTW, it seems that SELinux support of Gentoo is dying!
On Tue, Feb 03, 2009 at 09:23:45AM -0500, Chris PeBenito wrote:
> On Mon, 2009-02-02 at 14:40 +0800, Shaochun Wang wrote:
> > I tried to work with strict policy on enforcing mode. And almost all
> > services can't function as expected. Any help?
>
> You'll have to be more specific. But one thing to note is that it
> hasn't been updated for baselayout-2 (which should be masked on the
> selinux profiles).
>
> --
> Chris PeBenito
> <pebenito@gentoo.org>
> Developer,
> Hardened Gentoo Linux
>
> Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
> Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243
--
Shaochun Wang <scwang@ios.ac.cn>
Jabber: fungusw@jabber.org
next prev parent reply other threads:[~2009-02-03 15:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 6:40 [gentoo-hardened] Does strict policy work? Shaochun Wang
2009-02-03 12:28 ` Ошурков Евгений Сергеевич
2009-02-03 14:23 ` Chris PeBenito
2009-02-03 15:11 ` Shaochun Wang [this message]
2009-02-03 20:09 ` Chris PeBenito
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=20090203151148.GA25850@localhost \
--to=scwang@ios.ac.cn \
--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