Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 155531 Details for
Bug 241277
Yum Plugin for sos
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
I find it useful to have 'yum list' as well. Also tidied up the plugin script a bit. Looks good.
yum.py (text/x-python), 1.26 KB, created by
Eugene Teo (Security Response)
on 2007-05-28 04:01:15 UTC
(
hide
)
Description:
I find it useful to have 'yum list' as well. Also tidied up the plugin script a bit. Looks good.
Filename:
MIME Type:
Creator:
Eugene Teo (Security Response)
Created:
2007-05-28 04:01:15 UTC
Size:
1.26 KB
patch
obsolete
>### This program is free software; you can redistribute it and/or modify >## it under the terms of the GNU General Public License as published by >## the Free Software Foundation; either version 2 of the License, or >## (at your option) any later version. > >## This program is distributed in the hope that it will be useful, >## but WITHOUT ANY WARRANTY; without even the implied warranty of >## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >## GNU General Public License for more details. > >## You should have received a copy of the GNU General Public License >## along with this program; if not, write to the Free Software >## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > >import sos.plugintools > >class yum(sos.plugintools.PluginBase): > """This plugin gathers YUM information > """ > > def setup(self): > # Pull all yum related information > self.addCopySpec("/etc/yum") > self.addCopySpec("/etc/yum.repos.d") > self.addCopySpec("/etc/yum.conf") > self.addCopySpec("/var/log/yum.log") > > # Get a list of channels the machine is subscribed to. > self.collectExtOutput("/bin/echo \"repo list\" | /usr/bin/yum shell") > # List various information about available packages > self.collectExtOutput("/usr/bin/yum list") > > return >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 241277
:
155383
| 155531