Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228135 - sys-cluster/util-vserver-0.30.215 error reporting fix and hppa support
Summary: sys-cluster/util-vserver-0.30.215 error reporting fix and hppa support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 221951
  Show dependency tree
 
Reported: 2008-06-18 19:01 UTC by Luca Lesinigo
Modified: 2009-03-24 09:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
backport of changeset 2718 to fix mmap() error reporting (util-vserver-0.30.215-2718.patch,3.02 KB, patch)
2008-06-18 19:02 UTC, Luca Lesinigo
Details | Diff
patch to link h2ext and check-unixfile to glibc to workaround dietlibc's mmap() bug (util-vserver-0.30.215-dietmmap.patch,2.12 KB, patch)
2008-06-18 19:03 UTC, Luca Lesinigo
Details | Diff
modified ebuild to apply my two patches (util-vserver-0.30.215.ebuild,3.91 KB, text/plain)
2008-06-18 19:05 UTC, Luca Lesinigo
Details
modified ebuild to apply my two patches (util-vserver-0.30.215-r1.ebuild,3.93 KB, text/plain)
2008-09-16 21:06 UTC, Luca Lesinigo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Lesinigo 2008-06-18 19:01:41 UTC
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).
Comment 1 Luca Lesinigo 2008-06-18 19:02:30 UTC
Created attachment 157485 [details, diff]
backport of changeset 2718 to fix mmap() error reporting
Comment 2 Luca Lesinigo 2008-06-18 19:03:41 UTC
Created attachment 157487 [details, diff]
patch to link h2ext and check-unixfile to glibc to workaround dietlibc's mmap() bug
Comment 3 Luca Lesinigo 2008-06-18 19:05:47 UTC
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.
Comment 4 Luca Lesinigo 2008-09-15 14:27:03 UTC
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.
Comment 5 Luca Lesinigo 2008-09-16 21:06:09 UTC
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.
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2009-03-24 09:25:42 UTC
(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