[systemd-devel] kmod-static-nodes.service doesn't care about udev?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Jul 12 11:22:50 PDT 2013


On Fri, Jul 12, 2013 at 08:16:51PM +0200, Lennart Poettering wrote:
> On Fri, 12.07.13 19:57, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
> 
> > 
> > On Fri, Jul 12, 2013 at 07:08:48PM +0200, Lennart Poettering wrote:
> > > On Fri, 12.07.13 09:28, Oleksii Shevchuk (alxchk at gmail.com) wrote:
> > > 
> > > > Latest innovation with kmod-static-nodes.service introduce next issues with
> > > > 
> > > > 1. default distro paths
> > > > 2. interacting with rest configuration
> > > > 
> > > > So, what is the problem.
> > > > 
> > > > kmod-static-nodes.service.in:
> > > > 
> > > > ExecStartPre=/usr/bin/mkdir -p /run/tmpfiles.d
> > > 
> > > Hmm, why do we need this at all? Where the service file located?
> > > Couldn't find it in the kmod repo? Would like to have a look.
> > units/kmod-static-nodes.service.in :)
> 
> Oh, humm, does the unit file really belong in systemd? Sounds like
> something that should be in kmod, no?
As far as I understand, systemd here is a consumer of a service provided
by kmod (the ability to write something in our tmpfiles.d format). And
kmod is used by/for udevd. So it seems to fit in systemd.

> And I don't really like that we need to invoke /usr/bin/mkdir first... I'd
> prefer if kmod could do that on its own when creating the file?

Zbyszek


More information about the systemd-devel mailing list