| Summary: | Gentoo+Virtuozzo+clock init script | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | John Skopis <jskopis> |
| Component: | [OLD] baselayout | Assignee: | Roy Marples (RETIRED) <uberlord> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | CC: | dev, jskopis, kir |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Simple fix
A bit more proper fix |
||
|
Description
John Skopis
2006-05-13 22:45:56 UTC
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 |