On Mon, 25 Dec 2017, Stefan Fritsch wrote:
Hi Matthew,
I don't know libvirt lxc containers at all, but ...
On Tue, 14 Nov 2017, Matthew Gabeler-Lee wrote:
Nov 14 14:38:33 hostname systemd[1]: Reloading The Apache HTTP Server.
Nov 14 14:38:33 hostname systemd[11798]: apache2.service: Failed at step
NAMESPACE spawning /usr/sbin/apachectl: No such file or directory
this seems to say that /usr/sbin/apachectl is missing in your container. I
guess this is a configuration problem in your container config. I don't
think there is anything that can be done from the apache side.
I'm pretty sure that's actually _not_ what it's saying, or at least it's
an overly literal interpretation.
For one, the container is a full debian OS container. If apachectl
wasn't there, apache would never _start_, much less fail to _restart_.
Second, when looking into the code, the "Failed at step NAMESPACE" is, I
think, the crux of the issue. It's failing at a step related to setting
up the namespaces to run apachectl, not finding the binary.
Either way, apachectl is very definitely in the container.
--
-Matt
"Reality is that which, when you stop believing in it, doesn't go away".
-- Philip K. Dick
GPG fingerprint: 0061 15DF D282 D4A9 57CE 77C5 16AF 1460 4A3C C4E9