0
     CAo     C# This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the GNU General Public License.
#
# See the LICENSE file in the source distribution for further information.

from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin


class Fwupd(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
    """fwupd information
    """

    plugin_name = 'fwupd'
    profiles = ('system', )

    packages = ('fwupd',)

    def setup(self):
        self.add_cmd_output([
            "fwupdmgr get-approved-firmware",
            "fwupdmgr get-devices --no-unreported-check",
            "fwupdmgr get-history",
            "fwupdmgr get-remotes",
            # collect json format using fwupdagent
            "/usr/libexec/fwupd/fwupdagent get-devices",
            "/usr/libexec/fwupd/fwupdagent get-updates",
        ])

        self.add_copy_spec("/etc/fwupd")

        self.add_journal(units="fwupd")

    def postproc(self):
        self.do_path_regex_sub(
            "/etc/fwupd/remotes.d/*",
            r"Password=(.*)",
            r"Password=********"
        )

        self.do_file_sub(
            "/etc/fwupd/redfish.conf",
            r"Password=(.*)",
            r"Password=********"
        )


# vim: et ts=4 sw=4
  "   Eli~e8Y ژoh      E0
  !   Glahm@
!ţ75  K    Gfrom pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
  
   I355 c    I<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
     K s     K# Copyright (C) 2013,2018 Red Hat, Inc., Bryn M. Reeves <bmr@redhat.com>

# This file is part of the sos project: https://github.com/sosreport/sos
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# version 2 of the GNU General Public License.
#
# See the LICENSE file in the source distribution for further information.

from sos.plugins import Plugin, RedHatPlugin


class Krb5(Plugin):
    """Kerberos authentication
    """
    plugin_name = 'krb5'
    profiles = ('identity', 'system')
    packages = ('krb5-libs', 'krb5-user')

    # This is Debian's default, which is closest to upstream's
    kdcdir = "/var/lib/krb5kdc"

    def setup(self):
        self.add_copy_spec([
            "/etc/krb5.conf",
            "/etc/krb5.conf.d/*",
            "%s/kadm5.acl" % self.kdcdir,
            "%s/kdc.conf" % self.kdcdir,
            "/var/log/krb5kdc.log",
            "/var/log/kadmind.log"
        ])
        self.add_cmd_output("klist -ket %s/.k5*" % self.kdcdir)
        self.add_cmd_output("klist -ket /etc/krb5.keytab")


class RedHatKrb5(Krb5, RedHatPlugin):

    def setup(self):
        self.kdcdir = "/var/kerberos/krb5kdc"
        super(RedHatKrb5, self).setup()


# vim: set et ts=4 sw=4 :
     MeƂ ?     M
pWc           @   s   d  d l  Z  d  d l Z d d l m Z y e Wn* e k
 r\ d  d l m Z d   Z n Xy e Wn e k
 r~ e	 Z n Xd e
 f d     YZ d e
 f d	     YZ d
 e f d     YZ d   Z d   Z d   Z d S(   iNi   (   t   allocate_lock(   t   Callablec         C   s   t  |  t  S(   N(   t
   isinstanceR   (   t   x(    (    s.   /usr/lib64/python2.7/site-packages/cffi/api.pyt   <lambda>	   s    t   FFIErrorc           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    s.   /usr/lib64/python2.7/site-packages/cffi/api.pyR      s   t	   CDefErrorc           B   s   e  Z d    Z RS(   c         C   sV   y d | 