[Yum-devel] [PATCH] Add return_pids to return_running_packages, so we can lookup proc info.

seth vidal skvidal at fedoraproject.org
Tue Jun 22 05:08:26 UTC 2010


On Tue, 2010-06-22 at 01:03 -0400, James Antill wrote:
> On Mon, 2010-06-21 at 17:36 -0400, seth vidal wrote:
> > On Mon, 2010-06-21 at 17:29 -0400, James Antill wrote:
> > > ---
> > >  yum/rpmsack.py |    8 ++++++--
> > >  1 files changed, 6 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/yum/rpmsack.py b/yum/rpmsack.py
> > > index f59abf9..b759d52 100644
> > > --- a/yum/rpmsack.py
> > > +++ b/yum/rpmsack.py
> > > @@ -1305,15 +1305,19 @@ class RPMDBPackageSack(PackageSackBase):
> > >          # XXX deprecate?
> > >          return [po.pkgtup for po in self.getRequires(name, flags, version)]
> > >  
> > > -    def return_running_packages(self):
> > > +    def return_running_packages(self, return_pids=False):
> >
> > What is this going to be used for?
> 
>  I have a "ps" command plugin, I've been playing with:
> 
> http://james.fedorapeople.org/yum/patches/yum-ps.patch
> 


Is there a group of admins who need this over what needs-restarting
already offers? 

-sv





More information about the Yum-devel mailing list