Fixed
Created: Mar 4, 2016
Updated: Dec 3, 2018
Resolved Date: May 2, 2016
Found In Version: 8.0
Fix Version: 8.0.0.5
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace
root@SDP_Wildcat_Pass-3-C1:~# seedit-init
...
/usr/sbin/semodule -b /usr/share/seedit/sepolicy/base.pp -s seedit -n
The --base option is deprecated. Use --install instead.
libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp failed with code: 1. (No such file or directory).
base: libsemanage.semanage_pipe_data: Unable to execute /usr/libexec/selinux/hll/pp : No such file or directory
base: (No such file or directory).
libsemanage.semanage_direct_commit: Failed to compile hll files into cil files.
(No such file or directory).
/usr/sbin/semodule: Failed!
Makefile:47: recipe for target 'install' failed
make: *** [install] Error 1
Error!:Detail is here..
m4 -s /etc/seedit/policy/*.sp >/etc/seedit/policy/all.spauditfilter: audit rule for LSM 'dhclient_t' is invalid
;
/usr/bin/seedit-converter -i /etc/seedit/policy/all.sp -o /usr/share/seedit/sepolicy -b /usr/share/seedit/base_policy -I /etc/seedit/policy/include ;
Warning label name conflict is detected.Label for /dev was dev_t but replaced by dev_tauditfilter: audit rule for LSM 'mcstransd_t' is invalid
_t.
if [ -e /usr/share/seedit/base_policy/dynamic_contexts ]; then \
cat /usr/share/seedit/base_policy/dynamic_contexts >> /usr/share/seedit/sepolicy/file_contexts.m4;\
fi;
m4 -D enable_mcs -Imacros -s /usr/share/seedit/macros/*.te /usr/share/seedit/sepolicy/generated.conf > /usr/share/seedit/sepolicy/policy.conf;
m4 -D enable_mcs -Imacros -s /usr/share/seeauditfilter: audit rule for LSM 'samba_t' is invalid
dit/macros/mcs_macros.te /usr/share/seedit/sepolicy/file_contexts.m4 > /usr/share/seedit/sepolicy/file_contexts;
m4 -D enable_mcs -D out_dummy -Imacros -s /usr/share/seedit/macros/mcs_macros.te /usr/share/seedit/sepolicy/file_contexts.m4 > /usr/share/seedit/sepolicy/file_contexts.base;
m4 -D enable_mcs -Imacros -s /usr/share/seedit/macros/mcs_macros.te /usr/share/seedit/sepolicy/userhelper_context.m4 > /usr/share/seedit/sepolicy/userhelper_context.tmp;
grep system_u /usr/share/seedit/sepolicy/userhelper_context.tmp > /usr/share/seedit/sepolicy/userhelper_context
rm /usr/share/seedit/sepolicy/userhelper_context.tmp
/usr/bin/checkmodule /usr/share/seedit/sepolicy/policy.conf -M -o /usr/share/seedit/sepolicy/base.mod
/usr/bin/checkmodule: loading policy configuration from /usr/share/seedit/sepolicy/policy.conf
/usr/bin/checkmodule: policy configuration loaded
/usr/bin/checkmodule: writing binary representation (version 17) to /usr/share/seedit/sepolicy/base.mod
/usr/bin/semodule_package -m /usr/share/seedit/sepolicy/base.mod -f /usr/share/seedit/sepolicy/file_contexts.base -o/usr/share/seedit/sepolicy/base.pp
cp /usr/shareauditfilter: audit rule for LSM 'dhclient_t' is invalid
/seedit/sepolicy/file_contexts /etc/selinux/seedit/contexts/files/
cp /usr/share/seedit/sepolicy/file_contexts.m4 /etc/selinux/seedit/contexts/files/
if [ ! -e /usr/share/seedit/sepolicy/file_contexts.m4.old ] ; then \
cp /usr/share/seedit/sepolicy/file_contexts.m4 auditfilter: audit rule for LSM 'mcstransd_t' is invalid
/usr/share/seedit/sepolicy/file_contexts.m4.old;\
cp /usr/share/seedit/sepolicy/file_contexts.m4.old /etc/selinux/seedit/contexts/files;\
fi;
cp /usr/share/seedit/sepolicy/customizable_types /etc/selinux/seedit/contexts
cp /usr/share/seedit/sepolicy/userhelper_context /etc/selinux/seedit/contexts
cp -r /usr/share/seedit/base_policy/contexts/* /etc/selinux/seedit/contextsauditfilter: audit rule for LSM 'samba_t' is invalid
echo "" > /etc/selinux/seedit/contexts/files/file_contexts.homedirs
echo "" > /etc/selinux/seedit/contexts/files/file_contexts.local
echo "" > /etc/selinux/seedit/users/system.users
echo "" > /etc/selinux/seedit/users/local.users
/usr/sbin/semodule -b /usr/share/seedit/sepolicy/base.pp -s seedit -n
The --base option is deprecated. Use --install instead.
libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp failed with code: 1. (No such file or directory).
base: libsemanage.semanage_pipe_data: Unable to execute /usr/libexec/selinux/hll/pp : No such file or directory
base: (No such file or directory).
libsemanage.semanage_direct_commit: Failed to compile hll files into cil files.
(No such file or directory).
/usr/sbin/semodule: Failed!
Makefile:47: recipe for target 'install' failed
make: *** [install] Error 1
#Error!! check above error message
/sbin/auditctl -d exit,always -S chdir >/dev/null 2>&1
$ configure --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-init=sysvinit
$ make fs
# boot up target with "selinux=1 enforcing=0" and run "seedit-init"
root@SDP_Wildcat_Pass-3-C1:~# seedit-init