* [meta-selinux] Add util-linux-agetty to core-image-selinux IMAGE_INSTALL.
@ 2013-09-26 4:58 Philip Tricca
2013-09-26 12:47 ` Joe MacDonald
2013-09-27 17:56 ` Joe MacDonald
0 siblings, 2 replies; 3+ messages in thread
From: Philip Tricca @ 2013-09-26 4:58 UTC (permalink / raw)
To: yocto
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 \
"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-selinux] Add util-linux-agetty to core-image-selinux IMAGE_INSTALL.
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
1 sibling, 0 replies; 3+ messages in thread
From: Joe MacDonald @ 2013-09-26 12:47 UTC (permalink / raw)
To: Xin Ouyang, Mark Hatle; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]
All opposed? If the motion is carried, I'll merge it both into master
and what will soon become master-next.
-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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-selinux] Add util-linux-agetty to core-image-selinux IMAGE_INSTALL.
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
1 sibling, 0 replies; 3+ messages in thread
From: Joe MacDonald @ 2013-09-27 17:56 UTC (permalink / raw)
To: Philip Tricca; +Cc: yocto
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-09-27 17:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.