[systemd-devel] ConditionKernelCommandLine not working?
Lennart Poettering
lennart at poettering.net
Thu Aug 18 03:44:16 PDT 2011
On Mon, 15.08.11 13:27, Albert Strasheim (fullung at gmail.com) wrote:
> Hello all
>
> Does ConditionKernelCommandLine work in systemd-26-5.fc15.x86_64?
>
> I've tested it with my own units and with the Fedora
> fedora-autorelabel.service, but no luck.
>
> Here's the dmesg:
>
> [ 0.000000] Command line: selinux=0 systemd.log_level=debug autorelabel
> [ 0.000000] Kernel command line: selinux=0 systemd.log_level=debug
> autorelabel
> [ 3.215830] systemd[1]: Installed new job
> fedora-autorelabel.service/start as 55
> [ 3.229562] systemd[1]: Installed new job
> fedora-autorelabel-mark.service/start as 59
> [ 4.512418] systemd[1]: Starting of fedora-autorelabel.service
> requested but condition failed. Ignoring.
Can you please elaborate on what does not work you expect to work, and
what happens what you didn't expect? Given that you pass selinux=0 it
appears to me that everything is working correctly.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list