Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291091 - [ebuild] sys-process/htop-0.8.2: openvz support
Summary: [ebuild] sys-process/htop-0.8.2: openvz support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Thomas Anderson (tanderson) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-30 01:39 UTC by Richard H.
Modified: 2010-05-03 18:45 UTC (History)
3 users (show)

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


Attachments
ebuild to enable OpenVZ support via USE-Flag (htop-0.8.2-r1.ebuild,1.56 KB, text/plain)
2009-10-30 01:40 UTC, Richard H.
Details
patch against htop-0.8.3.ebuild (htop-0.8.3-r1.ebuild.patch,545 bytes, patch)
2010-01-08 00:09 UTC, Dennis Schridde
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard H. 2009-10-30 01:39:32 UTC
I know it is not stable yet, but I have openvz running and htop gets confusing when running multiple containers. Soon I found out htop supports showing the container id, so I went forward and tried adding the configure flag, tied it to a USE-Flag also.

Note: This won't work for 0.8.1 series, VEID has been renamed to CTID, backport patch would be needed.

Note2: There is more support like vserver etc, but as I am not using it, and can't test therefore, I haven't added it. Please feel free to do so if you can test :)

Reproducible: Always

Steps to Reproduce:
1. emerge htop
2. start it
3. search vor CTID in the columns list

Actual Results:  
not there with the stock ebuild

Expected Results:  
CTID being selectible.
Comment 1 Richard H. 2009-10-30 01:40:48 UTC
Created attachment 208690 [details]
ebuild to enable OpenVZ support via USE-Flag
Comment 2 Joakim 2009-11-03 19:05:47 UTC
why htop-0.8.2 and not htop-0.8.3 which are the latest and been around already for 2 months? or both maybe, they are both ~arch
Comment 3 Richard H. 2009-11-03 20:33:51 UTC
Joakim: if you meant me, I am usually cautios when it comes to keywords, and even more on a production system. So I picked the lowest possible. But it should also work with 0.8.3, I can try if it is desired...
Comment 4 .:deadhead:. 2009-12-02 10:35:26 UTC
Could be nice to test it on 0.8.3 .

Have you already tried to submit this patch directly to upstream ?
Comment 5 Dennis Schridde 2010-01-08 00:09:53 UTC
Created attachment 215613 [details, diff]
patch against htop-0.8.3.ebuild

Works fine for me, thanks for the tip!
Comment 6 Dennis Schridde 2010-01-08 00:11:07 UTC
(In reply to comment #4)
> Have you already tried to submit this patch directly to upstream ?
The patch is for the ebuild, not for htop. htop already supports a CTID column since a while, it just was not available in Gentoo until now.
Comment 7 Enchant 2010-03-12 08:50:23 UTC
Good work. I think it is very necessary features for OpenVZ HN system. And the patch should be included to main portage tree.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-05-03 18:45:16 UTC
+*htop-0.8.3-r1 (03 May 2010)
+
+  03 May 2010; Samuli Suominen <ssuominen@gentoo.org> +htop-0.8.3-r1.ebuild,
+  metadata.xml:
+  Experimental USE flags openvz and vserver wrt #291091.