[systemd-devel] systemctl daemon-reexec forgets running services and starts everything new

Mantas Mikulėnas grawity at gmail.com
Mon Apr 10 07:45:45 UTC 2023


On Tue, Apr 4, 2023 at 11:33 AM Wasser, Erik <ewasser at maxcluster.de> wrote:

> # Some details to the hardware #
>
> Our metal runs OpenVZ/Virtuozzo with this kernel (without any problems):
>
> > Linux FQDN_REDACTED 3.10.0-1127.18.2.vz7.163.46 #1 SMP Fri Nov 20
> 21:47:55 MSK 2020 x86_64 x86_64 x86_64 GNU/Linux
>
> The container with the `systemctl daemon-reexec` problem reports the
> following kernel:
>
> Linux FQDN_REDACTED 5.4.0 #1 SMP Thu Apr 22 16:18:59 MSK 2021 x86_64
> x86_64 x86_64 GNU/Linux
>

Hold on a moment – if it is actually an *OpenVZ container*, not a VM,
how/why is it even reporting a different kernel than the host OS? Isn't the
entire point of OpenVZ to share a single kernel with the guest containers?
Is it actually 3.10 **pretending** to be 5.4 just to make it pass systemd's
kernel version checks?

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230410/07e39957/attachment.htm>


More information about the systemd-devel mailing list