Hello, A Gentoo-based VPS server will fail to start under Virtuozzo. I have tracked the problem down to the "clock" script. I noticed that there is support for Xen and seemingly other virtualization technologies in /etc/init.d/clock. I am referring to fakeit=1.
Created attachment 86731 [details, diff] Simple fix I think virtuozzo is the only linux distro that uses /proc/user_beancounters. This resolved the issue for me.
it is better to check for [ -d /proc/vz ]
Created attachment 86795 [details, diff] A bit more proper fix This fix takes into account Kirill Korotaev's proposal of checking for /proc/vz instead of /proc/user_beancounters. It also changes 'Virtuozzo' to 'VZ' so it will be suitable for both Virtuozzo and OpenVZ. Please apply.
Sorry, my patch #2 is against baselayout-1.11.14-r8
Fixed in baselayout-1.12.0-r1