[systemd-devel] Using systemd and cgroups for controlling access to a device

Lennart Poettering lennart at poettering.net
Fri Apr 1 09:43:25 UTC 2016


On Fri, 01.04.16 15:11, Omkar Panse (omkarpanse at gmail.com) wrote:

> Hi,
> 
> I am trying to use systemd and cgroups to control access to device nodes.
> However it doesn't seem to be working. The target is based on ARM.
> 
> I have configured systemd for cgroups, created slices and also enabled
> required configuration in the kernel.
> 
> What am I missing?

For starters, which systemd and kernel version do you use? Do you see
changes made to /sys/fs/cgroup/devices/… in the right dir and
attribute files?

Note that nspawn makes use of this by default, hence this is actually
pretty well tested and should work.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list