[systemd-devel] SYSTEMD_WANTS and oneshot services

Lennart Poettering lennart at poettering.net
Tue Aug 23 09:09:06 PDT 2011


On Sun, 21.08.11 14:01, Albert Strasheim (fullung at gmail.com) wrote:

> Is there a way to always get this behavior? I'd like my network
> interfaces to be brought up regardless of how and when their modules
> are loaded.

Hmm, can you run "systemctl status ...." on the service before you
reload the kmod and paste the output here? Just to verify that the
service is properly stopped. Then, please set "systemd.log_level=debug
systemd.log_target=kmsg" when reloading it. This will cause the
transaction to be written to kmsg, please paste that as well. This
shouöld tell us what is included in the triggered transaction.

> P.S. With biosdevname in F15, I'm not sure that
> ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/%k" is the most useful
> thing. Users might want $name instead of %k?

Hmm, good point. I have changed all references of %k now.

Thanks,

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list