Comment 0 for bug 1028933

Revision history for this message
Poil (poil) wrote :

cpuset is searching for
ll /cpusets/
total 4
drwxr-xr-x 2 root root 0 Jul 24 11:14 ./
drwxr-xr-x 24 root root 4096 Jul 24 11:14 ../
-rw-r--r-- 1 root root 0 Jul 24 11:14 cgroup.clone_children
--w--w--w- 1 root root 0 Jul 24 11:14 cgroup.event_control
-rw-r--r-- 1 root root 0 Jul 24 11:14 cgroup.procs
-rw-r--r-- 1 root root 0 Jul 24 11:14 cpu_exclusive
-rw-r--r-- 1 root root 0 Jul 24 11:14 cpus
-rw-r--r-- 1 root root 0 Jul 24 11:14 mem_exclusive
-rw-r--r-- 1 root root 0 Jul 24 11:14 mem_hardwall
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_migrate
-r--r--r-- 1 root root 0 Jul 24 11:14 memory_pressure
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_pressure_enabled
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_spread_page
-rw-r--r-- 1 root root 0 Jul 24 11:14 memory_spread_slab
-rw-r--r-- 1 root root 0 Jul 24 11:14 mems
-rw-r--r-- 1 root root 0 Jul 24 11:14 notify_on_release
-rw-r--r-- 1 root root 0 Jul 24 11:14 release_agent
-rw-r--r-- 1 root root 0 Jul 24 11:14 sched_load_balance
-rw-r--r-- 1 root root 0 Jul 24 11:14 sched_relax_domain_level
-rw-r--r-- 1 root root 0 Jul 24 11:14 tasks

But in 3.2.0.26+ we have
ll /cpusets/
total 4
drwxr-xr-x 3 root root 0 Jul 24 17:19 ./
drwxr-xr-x 24 root root 4096 Jul 25 16:14 ../
-rw-r--r-- 1 root root 0 Jul 24 17:19 cgroup.clone_children
--w--w--w- 1 root root 0 Jul 24 17:19 cgroup.event_control
-rw-r--r-- 1 root root 0 Jul 24 17:19 cgroup.procs
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.cpu_exclusive
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.cpus
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mem_exclusive
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mem_hardwall
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_migrate
-r--r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_pressure
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_pressure_enabled
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_spread_page
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.memory_spread_slab
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.mems
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.sched_load_balance
-rw-r--r-- 1 root root 0 Jul 24 17:19 cpuset.sched_relax_domain_level
drwxr-xr-x 4 root root 0 Jul 24 17:20 libvirt/
-rw-r--r-- 1 root root 0 Jul 24 17:19 notify_on_release
-rw-r--r-- 1 root root 0 Jul 24 17:19 release_agent
-rw-r--r-- 1 root root 0 Jul 24 17:19 tasks

So we need to change all path in the cset binary or we have this error
# cset set
cset: /cpusets/libvirt/lxc is not a cpuset directory
cset: **> /cpusets/libvirt/lxc is not a cpuset directory