[systemd-devel] kmod-static-nodes.service doesn't care about udev?
teg at jklm.no
Fri Jul 12 00:16:29 PDT 2013
On 12 Jul 2013 08:28, "Oleksii Shevchuk" <alxchk at gmail.com> wrote:
> Latest innovation with kmod-static-nodes.service introduce next issues
> 1. default distro paths
> 2. interacting with rest configuration
> So, what is the problem.
> ExecStartPre=/usr/bin/mkdir -p /run/tmpfiles.d
> > /usr/bin/mkdir
> zsh: no such file or directory: /usr/bin/mkdir
Good catch. The standard path is /bin/mkdir, so we should change it to
that, or if any distribution uses something else we could detect at compile
> The next one - kmod doesn't care about udev rules. So, I have something
> like this in udev rules:
> KERNEL=="fuse", MODE="0666"
> and in autogenerated with kmod:
> c /dev/fuse 0600 - - - 10:229
> The last one has priority. So, either kmod-static-nodes.service should
> be started before udev, or some new logic should be introduces somewhere
> to prevent that destructive behavior.
This should work, but your udev rule must be set up to apply to static
nodes. See how it is done for snd/seq for instance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel