The "not in container" code is rather old of 2014 added by Serge back then.
Back then systemd-detect-virt wasn't really available.
I think we could just modernize this one and we'd be back working, OTOH I want to understand if there is any chance to ever work in a container to avoid re-fixing it then.
The "not in container" code is rather old of 2014 added by Serge back then.
Back then systemd-detect-virt wasn't really available.
I think we could just modernize this one and we'd be back working, OTOH I want to understand if there is any chance to ever work in a container to avoid re-fixing it then.