Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304447

Summary: net-analyzer/munin: ifx_concurrent_sessions_ plugin hardcodes /usr/bin/ps
Product: Gentoo Linux Reporter: Doug Goldstein (RETIRED) <cardoe>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: netmon
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Doug Goldstein (RETIRED) gentoo-dev 2010-02-11 00:03:18 UTC
A few munin plugins installed with the base net-analyzer/munin assume ps is in /usr/bin/ps but really on Gentoo we've got it in /bin/ps
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-11 00:47:38 UTC
Just one that I can see.

%% grep "usr/bin/ps" *
ifx_concurrent_sessions_:    my $pscmd = '/usr/bin/ps -p `/usr/bin/pgrep -P1 oninit -d,` -o ppid= -o args=';
ifx_concurrent_sessions_:    $pscmd = 'UNIX95= /usr/bin/ps -C oninit -o ppid= -o args='
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-02-11 01:04:12 UTC
Ah, the same exact thing is in 1.3.4 too. I'm not a user of this plugin and it isn't a regression. Sorry, I'm not interested in fixing it so I'm removing myself from CC.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-03-16 06:29:44 UTC
Fixed in 1.4.5-r2