Bug#999891: could not run system services within container on debian 11.1 Bullseye

Kannan V kannanv06 at gmail.com
Thu Nov 18 07:00:58 GMT 2021


Package: systemd

Version: 247.3-6

We are recently experimenting the Bullseye11.1 in our environment.
we have deployed kubernetes on Bullseye 11.1.
But we faced the issue when we run the application with container.
Application will start as a system service within container.
But in Bullseye 11.1 , we could not start the system service within
container.
we are getting the following issue.
following is the when we run with docker run command.
==============
Welcome to Debian GNU/Linux 11 (bullseye)!

Set hostname to <dc0fbafd2168>.
Failed to create /init.scope control group: No such file or directory
Failed to allocate manager object: No such file or directory
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...
==================
This issue is appeared only on 11.1 But it is not present on
10.10(Buster)...
Reproduce Steps:
==============
docker run    -it  --tmpfs /run --tmpfs /run/lock --tmpfs /tmp --cap-add
SYS_ADMIN    --privileged  -v /etc/:/etc -v /sys/fs/cgroup:/sys/fs/cgroup
 -p 8082:80    -t  centos /sbin/init

In Buster, it is working fine. But in Bullseye, it is failing
Please solve this issue asap as so many were blocked due to this issue

Thanks,
Kannan V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20211118/50c38f9a/attachment-0001.htm>


More information about the Pkg-systemd-maintainers mailing list