aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Collect ring, coalesce, and pause attributes of interfaces.Jon Stanley2012-06-121-0/+3
| | | | | | These are very useful items to have in general in order to see the configuration of systems. They are performance impacting parameters.
* Change get_interface_name to support arbitrarily named interfacesJon Stanley2012-06-121-5/+10
| | | | | | Due to support for biosdevname, we now have to look at interface types rather than names in order to determine whether an interface is interesting for this plugin.
* Use 'ip -o addr' instead of ifconfig for parseable outputJon Stanley2012-06-121-1/+1
| | | | | | The 'ifconfig' command is deprecated, and the 'ip' command should be used instead for multiple reasons. This is also a more easily parseable format.
* always fall back to just using the uid and gid if pwd and grp won't workJesse Jaggars2012-05-241-2/+2
|
* read files in binary mode when calculating checksums, this ensures equality ↵Jesse Jaggars2012-05-071-1/+1
| | | | across platforms
* Merge branch 'master' of github.com:sosreport/sosreportJesse Jaggars2012-04-053-7/+16
|\
| * Merge pull request #54 from jhjaggars/timeoutsJesse Jaggars2012-03-213-7/+16
| |\ | | | | | | Timeouts
| | * adding timeout to callExtProg as wellJesse Jaggars2012-03-201-3/+2
| | |
| | * using /usr/bin/timeout if it's thereJesse Jaggars2012-03-202-4/+14
| | |
* | | adding more gathering for as7 and fixing an error where trying to add a ↵Jesse Jaggars2012-04-054-2/+15
|/ / | | | | | | unicode filename to a zipfile would fail
* / adding a === to jarinfo.txt to allow for newlines inside of jar manifestsJesse Jaggars2012-03-201-1/+1
|/
* get_jboss_home now properly tries to read from all possible inputsas7.1.2AS7-7.1.2Jesse Jaggars2012-03-161-1/+1
|
* ignoring the dist-build dirJesse Jaggars2012-03-141-1/+1
|
* fixing some python2.5 compatibility issuesJesse Jaggars2012-03-143-10/+30
|
* Squashed commit of the following:Jesse Jaggars2012-03-135-83/+455
| | | | | | | | | | | | | | commit 1c2cf82a424125decda210a557755e8467bf0b2b Author: Jesse Jaggars <jjaggars@redhat.com> Date: Tue Mar 13 15:20:47 2012 -0500 adding regex sub tests and some docstrings commit d72f2f28b364519710f95a53330821138fc40849 Author: Jesse Jaggars <jjaggars@redhat.com> Date: Tue Mar 13 11:13:06 2012 -0500 adding many tests for plugins
* Merge branch 'master' of github.com:sosreport/sosreportJesse Jaggars2012-03-1212-31/+128
|\
| * Merge pull request #48 from battlemidget/featureJesse Jaggars2012-03-0912-31/+128
| |\ | | | | | | Feature - More plugin enhancements and bug fix
| | * sos/plugins/sssd: Typo fix on DebianSssd inheritanceAdam Stokes2012-03-091-1/+1
| | | | | | | | | | | | Signed-off-by: Adam Stokes <hackr@cypherbook.com>
| | * sos/plugins: More cross distribution plugin enhancementsAdam Stokes2012-03-0910-30/+118
| | | | | | | | | | | | Signed-off-by: Adam Stokes <hackr@cypherbook.com>
| | * README: Add help line for making local debian unsignedAdam Stokes2012-03-091-0/+1
| | | | | | | | | | | | | | | | | | package Signed-off-by: Adam Stokes <hackr@cypherbook.com>
| | * sos/plugins/hardware: Address an error of accessing the wrongAdam Stokes2012-03-091-1/+9
| |/ | | | | | | | | | | distro specific class due to an inheritance mis-hap. Signed-off-by: Adam Stokes <hackr@cypherbook.com>
* | Merge branch 'master' of github.com:sosreport/sosreportJesse Jaggars2012-03-091-0/+6
|\|
| * Merge pull request #47 from battlemidget/featureJesse Jaggars2012-03-091-0/+6
| |\ | | | | | | README: Debian/Ubuntu installation steps
| | * README: Debian/Ubuntu installation stepsAdam Stokes2012-03-091-0/+6
| |/ | | | | | | Signed-off-by: Adam Stokes <hackr@cypherbook.com>
* / write a debug message to the log when a non-existent file is encountered by ↵Jesse Jaggars2012-03-081-0/+3
|/ | | | sos.utilities.grep
* Squashed commit of the following:Jesse Jaggars2012-03-0815-45/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 103883b65d0e15310e5349b7e0f3ebb4fe23d9ba Author: Adam Stokes <hackr@cypherbook.com> Date: Thu Mar 8 17:31:13 2012 -0500 sos/plugins/autofs: Make autofs cross distro compatible Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 813b7c90a76438fdb7b6d6f0b6a9a16faaeac271 Author: Adam Stokes <hackr@cypherbook.com> Date: Thu Mar 8 14:48:02 2012 -0500 sos/plugins: Second round of enhancements to several plugins to allow for cross distribution analyzation. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit f9fc1b3402cfa1cefcd822596696b0a52b9921e5 Author: Adam Stokes <hackr@cypherbook.com> Date: Thu Mar 8 14:26:36 2012 -0500 sos/plugins/apache: Make sure tuple knows its a tuple Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit d52eda7e96734ea89ebe05ed63ea68979c7cfb58 Author: Adam Stokes <hackr@cypherbook.com> Date: Thu Mar 8 14:12:18 2012 -0500 sos/plugins: Several plugin enhancements to reflect new plugin heirarchy for multiple distributions Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit a36ed3cac5c557073604d7b0c98e50d1c162b714 Author: Adam Stokes <hackr@cypherbook.com> Date: Thu Mar 8 14:11:12 2012 -0500 sos/plugins: New Apport Plugin Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 168e688448d623b3b222aab1bd5f673e9ebb467c Author: Adam Stokes <hackr@cypherbook.com> Date: Thu Mar 8 14:06:54 2012 -0500 plugins/dhcp: Merge udhcp and dhcp into same plugin Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* fixing fileGrep to pass multiple search paths better and we handle ↵Jesse Jaggars2012-03-083-2/+9
| | | | non-existant files as well
* fixing some local variable abuseJesse Jaggars2012-03-082-8/+10
|
* Makefile: helper routine for `make deb`Adam Stokes2012-03-081-0/+6
| | | | Signed-off-by: Adam Stokes <hackr@cypherbook.com>
* adding a way to share common plugin bits across distrosJesse Jaggars2012-03-076-49/+59
|
* sos/sosreport: Fix failure when attempting to import non-existent compress ↵Adam Stokes2012-03-051-1/+1
| | | | | | method Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* Makefile: make sure to copy $(GPG_TPL)template name during installAdam Stokes2012-03-051-1/+1
| | | | Signed-off-by: Adam Stokes <hackr@cypherbook.com>
* moving make nose to make testJesse Jaggars2012-03-051-6/+0
|
* Refactoring DebianPackageManager to use the superclassJesse Jaggars2012-03-0512-48/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 4973246ac9ade11bbaf113985a1410939ca3ccf5 Author: Adam Stokes <hackr@cypherbook.com> Date: Mon Mar 5 00:15:00 2012 -0500 packaging: Fix install perms within our python package directory and update packaging to use support dh_python2 helper. During installation of plugins/policies we were giving additional rwx bits to those files. This addresses some complaints from debian's rpmlint equivalent lintian. Also updated the build rules to support dh_python2 rather than deprecated dh_pysupport. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 986981941e058afb593baaba676b2aef0e6e1147 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:19:56 2012 -0500 ubuntu.template: set passphrase so anyone referencing will know its an example. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 809bdc150a5e2456d3ee87c34c06eaa002edf43c Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:11:33 2012 -0500 Makefile: generic name for build dir, fix failure during make install and GPG configurable. First, changed build dir from rpm-build to dist-build to keep things more general. Second, Makefile was not updated to reflect recent housecleaning wrt removing TODO file Finaly, added ability use optional gpg templates during build phase Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 61d583d7eb913402f4200b5ece7ad2732cafd716 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:09:11 2012 -0500 debian/rules: Do not run dh_auto_test by default For systems which do not contain previously installed sosreport the test suite will fail due to not being able to find the sos python package. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit a8950a892a905575da0993785623946ea8276075 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:02:24 2012 -0500 sos/policies/debian: do not use a list with shell_out routine when listing packages. A recent bug was previously found wrt shell_out not accepting a list of commands/parameters. This policy is updated to run the routine appropriately. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 6b2300ee8bb121042f3dac91411773a8c788f6b8 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 22:46:33 2012 -0500 debian/control: Make package name consistent with other distros Debian/Ubuntu was set with a package name sosreport which isn't the package name during builds on RHEL/Fedora. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* Refactoring PackageManagers and ArchivesJesse Jaggars2012-03-058-248/+348
| | | | | | | Pulled up PackageManager implementation to simplify subclass responsibilities Moved compress method to Archive classes Re-organized utilities.py Added tests to exercise more utilities methods
* converting self.files and self.packages to list to protect against ↵Jesse Jaggars2012-03-021-0/+6
| | | | accidental tuple misunderstandings
* plugins were being activated due to one-tuple definition issuesJesse Jaggars2012-03-0242-86/+84
|
* sos/plugins: Remove the use of inheriting checkenabled toAdam Stokes2012-03-0243-150/+130
| | | | | | allow for a more flexible way of checking plugin enablement Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* sos/plugins: 2 new Ubuntu specific and ported pluginsAdam Stokes2012-03-029-12/+103
| | | | | | | | 2 New plugins that were relevant to Ubuntu and other Debian based systems. Altered a few more base plugins to handle Ubuntu platforms as well. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* Merge pull request #40 from jhjaggars/masterjhjaggars2012-03-0223-1376/+35
|\ | | | | Removing lots of unused files, updating example plugin
| * Removing many unused bitsJesse Jaggars2012-02-2923-1376/+35
|/
* Merge pull request #38 from jhjaggars/masterjhjaggars2012-02-286-18/+99
|\ | | | | This patch fixes several little logic bugs as well as addresses issue 27
| * adding ability to specify multiple files for Plugin.fileGrepJesse Jaggars2012-02-276-18/+99
|/
* adding checkenabled to the as7 pluginJesse Jaggars2012-02-271-1/+2
|
* Merge pull request #33 from jhjaggars/policy_refactoringjhjaggars2012-02-2310-260/+207
|\ | | | | refactoring common linux-related policy features into a common superclas...
| * fixing a syntax snafuJesse Jaggars2012-02-231-1/+1
| |
| * adding a note about tests to the READMEJesse Jaggars2012-02-231-0/+4
| |
| * adding more tests and fixing an error with tar archivesJesse Jaggars2012-02-236-19/+38
| |
| * refactoring common linux-related policy features into a common superclass, ↵Jesse Jaggars2012-02-235-242/+166
| | | | | | | | simplifying specification of valid plugin subclasses
* | Merge pull request #20 from jhjaggars/rt_kerneljhjaggars2012-02-231-0/+39
|\ \ | |/ |/| adding realtime kernel plugin