Public bug reported:

cpuset is searching for (here on a 12.04 3.2.0.24)
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

** Affects: cpuset (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Description changed:

- cpuset is searching for
+ cpuset is searching for (here on a 12.04 3.2.0.24)
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028933

Title:
  CPUSet is no more working on 3.2.0.26+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1028933/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to