[Bug 1594738] [NEW] systemctl not working inside chroot
Olaf Dietsche
olaf--mail.launchpad at olafdietsche.de
Tue Jun 21 09:24:20 UTC 2016
Public bug reported:
AFAIU, Ubuntu switched to systemd as its service management system.
Therefore I expect it to start services even in a chroot environment.
Using "service apache2 start" instead works without any problems.
1)
Description: Ubuntu 16.04 LTS
Release: 16.04
2)
systemd:
Installed: 229-4ubuntu4
Candidate: 229-4ubuntu6
Version table:
229-4ubuntu6 500
500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
*** 229-4ubuntu4 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
3)
"systemctl start apache2" should start Apache webserver.
4)
"systemctl start apache2" does not start Apache webserver.
Instead it says
>Running in chroot, ignoring request.
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1594738
Title:
systemctl not working inside chroot
Status in systemd package in Ubuntu:
New
Bug description:
AFAIU, Ubuntu switched to systemd as its service management system.
Therefore I expect it to start services even in a chroot environment.
Using "service apache2 start" instead works without any problems.
1)
Description: Ubuntu 16.04 LTS
Release: 16.04
2)
systemd:
Installed: 229-4ubuntu4
Candidate: 229-4ubuntu6
Version table:
229-4ubuntu6 500
500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
*** 229-4ubuntu4 500
500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
3)
"systemctl start apache2" should start Apache webserver.
4)
"systemctl start apache2" does not start Apache webserver.
Instead it says
>Running in chroot, ignoring request.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1594738/+subscriptions
More information about the foundations-bugs
mailing list