[systemd-devel] ConditionKernelCommandLine not working?
Michal Schmidt
mschmidt at redhat.com
Tue Aug 16 06:48:06 PDT 2011
On 08/15/2011 01:27 PM, Albert Strasheim wrote:
> [ 0.000000] Command line: selinux=0 systemd.log_level=debug autorelabel
You cannot relabel with SELinux disabled ("selinux=0").
Perhaps you wanted to use "enforcing=0" instead?
> [ 4.512418] systemd[1]: Starting of fedora-autorelabel.service
> requested but condition failed. Ignoring.
It's not the ConditionKernelCommandLine that failed, but
ConditionSecurity, which is a non-triggering condition:
> ConditionSecurity=selinux
> ConditionKernelCommandLine=|autorelabel
> ConditionPathExists=|/.autorelabel
If a non-triggering condition is false, the unit is not executed.
Michal
More information about the systemd-devel
mailing list