[systemd-devel] [PATCH] units: disable kmod-static-nodes.service in containers

Kay Sievers kay at vrfy.org
Wed Aug 21 04:06:18 PDT 2013


On Wed, Aug 21, 2013 at 1:00 PM, Tom Gundersen <teg at jklm.no> wrote:
> Regarding <http://cgit.freedesktop.org/systemd/systemd/commit/?id=219061dc524368179b2e65cfe91d4d6b23396ba8>:
>
> Would it make sense to use ConditionCapability=CAP_MKNOD instead? This
> would match what is done in systemd-tmpfiles-setup-dev.service. The
> effect is currently the same (I think), but might as well be
> consistent in case things change in the future.

Yeah, as the service is actually creating device nodes, it seems to fit here.

Kay


More information about the systemd-devel mailing list