Esempio n. 1
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     # Arbitrary test display
     self.display = ":10"
     self.confPath = "/etc/X11/xorg.conf"
     self.backupSpace = self._backups.getBackup(str(self))
     self._issue = SimpleIssue(self.name, "X server didn't start")
Esempio n. 2
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self.currentFileDict = {}  #what we read from /etc/mdadm.conf
     self.scannedFileDict = {}  #what `mdadm --misc --detail --scan`
     self.scannedFile = None  # what `mdadm --misc --detail --scan` returns
     self.configFile = os.path.join(Config.system.root, "/etc/mdadm.conf")
     self.backupSpace = self._backups.getBackup(str(self))
     self._issue = SimpleIssue(self.name, "mdadm.con misconfigured")
Esempio n. 3
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self._issue = SimpleIssue(self.name, self.description)
     self.initrd = None  #
     self.initrd_path = None
     self.kernel_version = None
     self.kernel_re = re.compile(".*initrd-(?P<kernel>.*)\.img")
     self.initrds = []  # array of intirds found ing menu.lst
    def __init__(self, *args, **kwargs):
        Plugin.__init__(self, *args, **kwargs)

        # Dictionary that will hold the partitions that are not included in the
        # partition table of a certain disk and can be recovered. It will also
        # house the initial partition table and the partition table that is a
        # result of running the fix.  The structure is:
        # slef.disks={diskname: [ [recoverables], initialPT, finalPT ], .... }
        self.disks = {}
Esempio n. 5
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self._issue = SimpleIssue(self.name, self.description)
Esempio n. 6
0
    def __init__(self, *args, **kwargs):
        Plugin.__init__(self, *args, **kwargs)

        self._ui = volume_key.UI()
        self._ui.generic_cb = self._vk_ui_generic_cb
        self._ui.passphrase_cb = self._vk_ui_passphrase_cb
Esempio n. 7
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self._oval = "/usr/share/openscap/oval.xml"
     self._xccdf = "/usr/share/openscap/scap-xccdf.xml"
     self._issues = {}
Esempio n. 8
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self._reporting.info("Entering the init phase...", origin=self)
Esempio n. 9
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self._issue = SimpleIssue(self.name, self.description)
     self._yum_repos_d = "/etc/yum.repos.d"
Esempio n. 10
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
Esempio n. 11
0
 def __init__(self, *args, **kwargs):
     Plugin.__init__(self, *args, **kwargs)
     self._issue = SimpleIssue(self.name, "Discovering system properties failed")