]> code.ossystems Code Review - openembedded-core.git/commit
sysvinit-inittab: Move start_getty scrip to base_bindir.
authorPhilip Tricca <flihp@twobit.us>
Sat, 20 Feb 2016 17:55:59 +0000 (17:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:34 +0000 (11:32 +0000)
commit826bfea4b7018c7974ef388facc99ca70bb3654f
tree304bd8ab72a6a67e6da0cdad077d8e429818e92c
parent5125dd2a5c2e382c47ddeaf0327fc7dc39482023
sysvinit-inittab: Move start_getty scrip to base_bindir.

When this file is in ${sysconfdir}/init.d, SELinux labels it as a generic
init script (initrc_t). This causes problms at runtime because SELinux
doesn't let the login process execute generic init script. Moving this
helper script to base_bindir results in it being labeled as a generic
binary (bin_t). Nearly every SELinux domain is allowed to execute
generic binaries and the login process is one of them.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb