From: Joe MacDonald <joe@deserted.net>
To: Philip Tricca <flihp@twobit.us>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-selinux] Add util-linux-agetty to core-image-selinux IMAGE_INSTALL.
Date: Fri, 27 Sep 2013 13:56:10 -0400 [thread overview]
Message-ID: <20130927175608.GC7238@deserted.net> (raw)
In-Reply-To: <20130926045827.GA1541@longhaul.twobit.us>
[-- Attachment #1: Type: text/plain, Size: 1198 bytes --]
Merged, thanks.
-J.
[[yocto] [meta-selinux] Add util-linux-agetty to core-image-selinux IMAGE_INSTALL.] On 13.09.26 (Thu 04:58) Philip Tricca wrote:
> Currently logins to core-image-selinux images through a getty (serial)
> fail. This is caused by the use of the busybox getty. SELinux depends
> on executable files and their labels to transition between types.
> The symlink to busybox is not sufficient to cause the getty processes
> to transition to the right SELinux context. Using a getty binary
> like the one provided by util-linux fixes this.
>
> Signed-off-by: Philip Tricca <flihp@twobit.us>
> ---
> recipes-security/images/core-image-selinux.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/recipes-security/images/core-image-selinux.bb b/recipes-security/images/core-image-selinux.bb
> index 0109933..1ec7b08 100644
> --- a/recipes-security/images/core-image-selinux.bb
> +++ b/recipes-security/images/core-image-selinux.bb
> @@ -6,6 +6,7 @@ LICENSE = "MIT"
>
> IMAGE_INSTALL = "\
> ${CORE_IMAGE_BASE_INSTALL} \
> + util-linux-agetty \
> packagegroup-core-basic \
> packagegroup-core-selinux \
> "
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
prev parent reply other threads:[~2013-09-27 17:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 4:58 [meta-selinux] Add util-linux-agetty to core-image-selinux IMAGE_INSTALL Philip Tricca
2013-09-26 12:47 ` Joe MacDonald
2013-09-27 17:56 ` Joe MacDonald [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=20130927175608.GC7238@deserted.net \
--to=joe@deserted.net \
--cc=flihp@twobit.us \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.