<p dir="ltr"><br>
On 12 Jul 2013 08:28, "Oleksii Shevchuk" <<a href="mailto:alxchk@gmail.com">alxchk@gmail.com</a>> wrote:<br>
><br>
> Latest innovation with kmod-static-nodes.service introduce next issues with<br>
><br>
> 1. default distro paths<br>
> 2. interacting with rest configuration<br>
><br>
> So, what is the problem.<br>
><br>
> <a href="http://kmod-static-nodes.service.in">kmod-static-nodes.service.in</a>:<br>
><br>
> ExecStartPre=/usr/bin/mkdir -p /run/tmpfiles.d<br>
><br>
> > /usr/bin/mkdir<br>
> zsh: no such file or directory: /usr/bin/mkdir</p>
<p dir="ltr">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 time.</p>
<p dir="ltr">> The next one - kmod doesn't care about udev rules. So, I have something<br>
> like this in udev rules:<br>
> KERNEL=="fuse", MODE="0666"<br>
><br>
> and in autogenerated with kmod:<br>
> c /dev/fuse 0600 - - - 10:229<br>
><br>
> The last one has priority. So, either kmod-static-nodes.service should<br>
> be started before udev, or some new logic should be introduces somewhere<br>
> to prevent that destructive behavior.</p>
<p dir="ltr">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.</p>
<p dir="ltr">Cheers,</p>
<p dir="ltr">Tom</p>