kdump: Remove unneeded (and removed) validation

Previously the validation was called to ensure that a value read from a
config file was valid. Due to changes the plugins.validate() method is
not available anymore and the check was additionally not necessary.

Change-Id: Ied731e09db97f4692a35ba1f32c98715d886461a
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Set UTF-8 encoding on process.pipe as well for Py 2.6 compat

Previously, we only explicitly returned unicode-encoded output for
process.check_output. Do the same for process.pipe so lsblk on
the diagnostic page doesn't crash when it sees UTF-8 characters.

Change-Id: I0801bcd989da89749272d1e0f16dd4d17129c97e
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Pre-compile plugin Python files so they don't get stripped

Previously, the Python files were defined as _SCRIPT in automake.
Make them into _PYTHON so they automatically get compiled, and add
the compiled files to the RPMs so image-minimizer will leave
working plugins.

Change-Id: I390ca19b1abe29f19c508a9d4a41c4221d796b30
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=988484
Signed-off-by: Ryan Barry <rbarry@redhat.com>
add missing --uidmod / --gidmod option to edit-node man page

rhbz#1014855

Change-Id: I7201ceee7b127805937c792d2b48c99ada376390
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Fix find_disk return value issue

Previously due to both ata-*, scsi-* were parsed as /dev/sda. so
when executing "find_disk ata ALL", it will return "/dev/sda,/dev/sda",
actually we want it return "/dev/sda".
Now we make the "for loop" a bit more strict.

Change-Id: Ia5cfac7149b00f54e68a83f64cf777f071825697
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=956568
Signed-off-by: hadong <hadong0720@gmail.com>
logging: Don't overwrite existing configurations

Previously the logging configuration got overwritten when the log module
got loaded. This is now fixed by only configuring the log module when
there are no handlers.

Change-Id: I5c1e166db0f5ea7237df323df249ed68364d6c15
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
tools: Fix logger configuration

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1011798
Change-Id: If5375a8776f9461e93e931030a234ec1d52a58da
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
tools: Enhance password tool usability

Previously the usability of the new password tool was suboptimal. This
patch improves it to get the user more informations and a better
starting point.

Change-Id: Ib2fd12962c82d09fc00748d834c26e5b9051d10f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=977479
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
progress_page:fix missed persist /etc/vconsole.conf and /etc/sysconfig/keyboard

Change-Id: I49e4f8a403ac0e939bb0e17870b54c6f1db69812
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017539
Signed-off-by: hadong <hadong0720@gmail.com>
edit-node: Fix manpage typo

Change-Id: Ie0de0764042a96a4fbea03ab4c40dbc203d1e0c9
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1018452
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
fix storage logging typo

Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=881597

Change-Id: Ibe62a8e24c2163ba453f250a8c2d16d6e0256f5c
Signed-off-by: Joey Boggs <jboggs@redhat.com>
fix tui upgrade typo

rhbz#1018447

Change-Id: I404cb6738d87a644fd430695d72594a05f5431f2
Bug-Url: http://bugzilla.redhat.com/show_bug.cgi?id=1018447
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Block IPv6 for services which don't support it

Previously, we allowed FQDNOrIPAddress() for netconsole and kdump, which don't
support IPv6 configuration. Don't allow IPv6 addresses.

Related to this, give users support to disable it by passing an argument to
validators.

Change-Id: Id9dc98d9bc6b11060fd4deefe4332e24c517cb30
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1008841
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1008795
Signed-off-by: Ryan Barry <rbarry@redhat.com>