util-vserver-0.30.215 has broken error reporting and will segfault when mmap() fails in some of its utilities. already reported upstream and fixed in changeset 2718. at least two tools in util-vserver rely, usually statically linked to dietlibc, rely on mmap() to work and that's not always the case (bug #227793) and this prevents running the whole Linux-VServer on HPPA. When dynamically linked to glibc they work without apparent side effects. upstream knows about this (but it's not their fault).
Created attachment 157485 [details, diff] backport of changeset 2718 to fix mmap() error reporting
Created attachment 157487 [details, diff] patch to link h2ext and check-unixfile to glibc to workaround dietlibc's mmap() bug
Created attachment 157489 [details] modified ebuild to apply my two patches With this ebuild and my two patches, util-vserver-0.30.215 will work on HPPA. I would suggest to apply changeset 2718 to all archs until a new stable release comes from upstream including the fix. I would also suggest to apply the linking patch when building for HPPA until dietlibc gets fixed.
I see util-vserver-0.30.215-r1 came out with some patches for other stuff. Any reason not to add the two patches attached to this? One is directly from an acknoledged upstream bug and the other would be applied only on HPPA to workaround the dietlibc hppa mmap() bug so it won't affect other archs - and vserver does not work at all without this on hppa so it certainly can't get worse.
Created attachment 165587 [details] modified ebuild to apply my two patches I updated the 0.30.215-r1 ebuild with the fixes. *please* include this in a future ebuild, if any.
(In reply to comment #5) > I updated the 0.30.215-r1 ebuild with the fixes. not in my tree? > *please* include this in a future ebuild, if any. added to 0.30.215-r3, thanks