Open fdegir opened 2 months ago
@fdegir Can you confirm if this is still an issue? Sounds like there was a discussion about it but I don't want to close it without confirming.
One possibility of a resolution to this will be to have EIB output a warning if SELinux is enabled certain services may or may not be disabled.
The snippet below belongs to an EIB ISO definition file used for building an image using
EIB 1.1 RC2
andSL Micro 6.0
to provision a system with in an automated manner. As it can be seen in the snipped, systemd servicerebootmgr
is disabled andrsyncd
service is enabled.The script
14-systemd.sh
located undercombustion
folder in the build directory contains correctsystemctl
commands forrebootmgr
andrsyncd
services.However when the system completes the initial boot, the
rebootmgr
service staysactive/enabled
andrsyncd
service staysinactive/disabled
as oppose to what is configured in the EIB ISO definition file.The reason for why
rsyncd
service is not started is perhaps because SELinux preventing it.For
rebootmgr
, it seems the service gets disabled during the initial boot as configured in the EIB ISO definition file but then it gets started again.