Comment 5 for bug 1405256

Revision history for this message
Ivan (ivanglima) wrote : Re: [Bug 1405256] Re: Package does not contain service file

From what I understand (which is not much) from the link I originally
posted, it seems to me that an older version of the package worked and
contains the necessary files. Isn't it possible to just add these missing
files to the current version of the package?

IMO even if in the next version of Ubuntu this will be replaced, this is
still an LTS version (14.04), so I think it should be fixed.

Thanks!

On Sat, Jan 10, 2015 at 2:23 PM, Serge Hallyn <email address hidden>
wrote:

> So I think long term (i.e. 16.04 and later) this will become a job for
> systemd. What I'm not sure about is whether in the meantime we want
> to implement another generic way of achieving this, or simply show
> how to do it manually. I personally think the simplest thing to do
> would be to create an upstart job that creates the cgroups you want.
> For instances if you want a Web cgroup in the memory, cpuset, and
> freezer hierarchies, owned by uid 100, with certain constraints, and you
> have cgmanager and cgmanager-utils installed, you could create
> /etc/init/setup-cgroups.conf containing (untested):
>
> description "set up initial cgroups"
> task
> start on started cgmanager
>
> script
> cgm movepidabs all / $$
> cgm create freezer Web
> cgm create memory Web
> cgm create cpuset Web
> cgm setvalue cpuset Web cpuset.cpus "0-1"
> cgm setvalue cpuset Web cpuset.mems "0"
> cgm chown freezer Web 1000 1000
> cgm chown memory Web 1000 1000
> cgm chown cpuset Web 1000 1000
> end script
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1405256
>
> Title:
> Package does not contain service file
>
> Status in libcgroup package in Ubuntu:
> Confirmed
>
> Bug description:
> After installing cgroup-bin in Ubuntu 14.04 (LTS) I tried to start the
> service, but there's no service file:
>
> ivan@ivan-ubuntu:~$ sudo service cgconfig status
> cgconfig: unrecognized service
> ivan@ivan-ubuntu:~$
>
> There's an answer in Ask Ubuntu that suggests that the package is broken
> and worked in previous versions, here:
>
> http://askubuntu.com/questions/528258/why-is-cgconfig-conf-not-being-read-on-reboot-on-14-04/529636#529636
>
> Thank you.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/1405256/+subscriptions
>