diff options
author | Joel Andres Granados <jgranado@redhat.com> | 2008-11-19 13:46:14 +0100 |
---|---|---|
committer | Joel Andres Granados <jgranado@redhat.com> | 2008-11-19 18:44:24 +0100 |
commit | b8d360b0142961972e4d7bfa67841542554725a3 (patch) | |
tree | 2b25cce5a9be006c17229dcb884bf9fd726d0b1b /plugins | |
parent | 1b32e6c8032db019a191d3fa37430371de1b9c34 (diff) | |
download | firstaidkit-b8d360b0142961972e4d7bfa67841542554725a3.tar.gz firstaidkit-b8d360b0142961972e4d7bfa67841542554725a3.tar.xz firstaidkit-b8d360b0142961972e4d7bfa67841542554725a3.zip |
Various small fixes.
Makefile:
1. Cut counts from 1 not 0.
2. Create the "about" info in the makefile instead of spec file.
3. Put subdirs and about targets into one build target.
firstaidkit.spec:
1. Erase the about creation from here.
2. Erase the fedora 7 specific stuff.
3. Call make build.
4. xserver plugin does not need rhpl nor rhpxl anymore.
5. Actually include the COPYING file where the about says it is.
configuration.py:
1. Change the default backup dir from /tmp/fakbackup to /tmp.
/tmp/fakbackup caused some file permission strangeness when
a non root user executed fak after root had executed it. This
can still occur, but it will be left like this as the user
should not execute fak in non root anyway.
logging:
plugins.py,interpreter.py. __init__.py
1. Always use the reporting object when possible.
2. Add time stamp and level of message to log messages.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mdadm_conf.py | 1 | ||||
-rw-r--r-- | plugins/passwd.py | 1 | ||||
-rw-r--r-- | plugins/xserver.py | 11 |
3 files changed, 4 insertions, 9 deletions
diff --git a/plugins/mdadm_conf.py b/plugins/mdadm_conf.py index 55bb6be..9ba19f2 100644 --- a/plugins/mdadm_conf.py +++ b/plugins/mdadm_conf.py @@ -31,6 +31,7 @@ class MdadmConfig(Plugin): name = "mdadm configuration" version = "0.0.1" author = "Joel Andres Granados" + description = "Assess the validity and existence of the mdadm.conf file" @classmethod def getDeps(cls): diff --git a/plugins/passwd.py b/plugins/passwd.py index 508ec0b..9500f04 100644 --- a/plugins/passwd.py +++ b/plugins/passwd.py @@ -42,6 +42,7 @@ class PasswdPlugin(Plugin): name = "Password plugin" version = "0.0.1" author = "Martin Sivak" + description = "Automates the recovery of the root system passwd" @classmethod def getDeps(cls): diff --git a/plugins/xserver.py b/plugins/xserver.py index 71c7d2c..86bb569 100644 --- a/plugins/xserver.py +++ b/plugins/xserver.py @@ -23,15 +23,7 @@ from pyfirstaidkit.issue import SimpleIssue from pyfirstaidkit import Config from pyfirstaidkit.errors import * -import rhpxl.xserver -import rhpl.keyboard -import tempfile -import subprocess -import time -import signal -import os -import os.path -import shutil +import tempfile, subprocess, time, signal, os, os.path, shutil class Xserver(Plugin): """ Plugin to detect an rescue faulty xserver configurations. """ @@ -48,6 +40,7 @@ class Xserver(Plugin): name = "X server" version = "0.0.1" author = "Joel Andres Granados" + description = "Automates recovery of the xserver" @classmethod def getDeps(cls): |