| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Log a message to debug if the package is missing from the host's primary
architecture package list (as per Chris's request).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Sometimes repositories may not contain packages for a specific
architecture group. This handles that case gracefully instead of causing
a traceback and failing to bind all Package entries.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ \
| | |
| | | |
handle filesystem secontexts properly for contextless filesystems
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- adds 'secontext_ignore' under POSIX in the configuration file
- short circuits on filesystems that are known not to support file labels
- defaults to filesystems that have a genfs command in selinux reference policy
- checks for Operation not supported while setting a file label
- fixes #275
|
|/ /
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit helps the internal YUM resolver to choose the latest version
of a package to generate dependencies. Previously, we were simply
iterating through the file so that the last instance listed always won
(even if that instance was an older version with differing
dependencies).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
_init_attributes should be called after all properties of the Source class
are initialized (so that _init_attributes could overwrite some of it).
The Yum class initializes self.deps with a different default entry, that
should not be reset by __init__ of Source afterwards.
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| | |
|
|\ \
| | |
| | | |
Fix pylint errors
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also pins pylint to <= 0.28 so we don't have to keep playing
whack-a-mole with it.
Also removes unnecessary suppression of apt warnings. This is no
longer necessary in 12.04, so should be safe to remove. If you're on
Ubuntu < 12.04, upgrade for heaven's sake.
|
|\ \ \
| | | |
| | | | |
Plugins/Packages: fix initialization of YumSource
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
During __init__ of the parent class get_repo_name is called. That needs
fields (pump_id) that are defined later in the __init__ of YumSource.
We introduce the new function _init_attributes to parse all attributes
out of the <Source> tag before calling any other functions.
|
| |/ /
|/| |
| | |
| | |
| | | |
If the auth type (either globally or specific for the client) is set to cert auth,
we have to reject clients that does not provide a cert.
|
|/ /
| |
| |
| | |
Make the public host key data avaialabe for the templates.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of parsing key/value pairs from bcfg2.conf, this allows the
setting of the literal value which is then passed through to django as
the value of the OPTIONS setting.
This change allows for setting arbitrary options since some settings
require nested dictionaries, etc.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Previously pep8/pylint checks were disable for the APT tool because
there were to many errors. This fix the pylint errors and enables the
code style checks.
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is to better match the schema since simplefile already exists. The
previous simplename attribute would fail validation. Since pkgmgr
already helpfully constructs url for you if simplefile exists, the tool
no longer needs to do the concatenation itself.
Given the low usage rate of SYSV.py and that the original functionality
was introduced in a late 1.3 release, changing the name w/o providing
backwards compatiblity seems reasonable.
|
|\ \
| | |
| | |
| | | |
https://github.com/AlexanderS/bcfg2 into maint
|
| |/
| |
| |
| |
| |
| | |
Exceptions during cache update (in kevlar mode) should not prevent
the client tool from initializing. In the worst case the old cache
would be used for the client run.
|
|/
|
|
|
| |
Adding this value to the url_map makes it possible to use it
in genshi templates.
|
|
|
|
|
|
|
| |
Previously, a service restart would occur even when running in whitelist
mode without the service being present in the whitelist.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
| |
This removes some wildcard except handler because this drops some
KeyboardInterrupt exceptions (for example previously a KeyboardInterrupt
during the loading of the cache for Packages resulted in a fallback to
file read).
|
|
|
|
|
|
|
| |
Previously the server got stuck, if a keyboard interrupt occured during
block_for_fam_events. The KeyboardInterrupt exception was only handled
in the executable and it does not call shutdown for the Core. So the
running fam thread does not get killed and the main thread waits for it.
|
|\ |
|
| |
| |
| |
| | |
used.
|
| |
| |
| |
| | |
pid.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This commit attempts to break the pidfilelock during startup in cases where the
process may have exited without successfully cleaning up the lockfile. It also
attempts to grab the lock before opening the context. Also applied to the
Collector module, which may have been looking for the wrong exception since it
does not rely on a timeout.
|
|\ \
| | |
| | |
| | | |
into maint
|
| | |
| | |
| | |
| | | |
Try to keep the try-except-blocks as small as possible.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The regex match for the filter urls were to strict. They disallowed
some charaters, that are valid in group names and so the django reverse
mechanism for building urls failed.
|
|\ \ \
| | | |
| | | |
| | | | |
into maint
|
| | | | |
|
| |/ / |
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we were not passing through the SSL protocol specified in the
client's bcfg2.conf which caused it to unconditionally be set to
xmlrpc/ssl. While this appears to automagically work with newer versions
of openssl, the version in e.g. centos5 will fail if the server is set
to use TLSv1.
This commit passes through the setting from the client's bcfg2.conf so
that older clients can talk to servers which are set to TLSv1 (in order
to mitigate the effects of POODLE).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|