log: Workaround missing getChild in python 2.6

Logger.getChild() is missing in python 2.6, so we need to work around
this.
Done by emulating getChild.

Change-Id: Ie22fb60025a8de54d9044281fe964c081bb6ebaf
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1013461
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
fix lldpad service startup

needs writable location in /var/lib/lldpad

Change-Id: I3279532f3ff56a58091fec719f3f3414163ec934
Signed-off-by: Mike Burns <mburns@redhat.com>
installer: Use button for custom devices

Previously custom devices could be added by selecting a specific entry
in the table. But this became problematic with the parallel validation
changes.
The functionality is now pulled into a button to simplify the code.

Change-Id: I2a1fcf270ca2246d1c4d521f0d54b7e454276ff5
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
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>
add missing --uidmod / --gidmod option to edit-node man page

rhbz#1014855

Change-Id: I7201ceee7b127805937c792d2b48c99ada376390
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
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: 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>
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>
Add SetKeyboardLayout action in upgrade progess

Change-Id: I6550063cfdec2aa47b79ff7c4bf3ae67c784371f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1017514
Signed-off-by: hadong <hadong0720@gmail.com>
Puppet plugin: patch the right file on EL6

Previously, we assumed that facter's libraries would be in
one directory, but they are not there on EL6. Patch the correct
file.

Change-Id: I1db007a1dbe07628136d2092af7ae1ad15f9588b
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Puppet plugin: fix the 'require' in operatingsystem.rb

Previously, the patch did not surround it with quotes, leading
Ruby to attempt to parse "ovirt.rb" as a variable. Quote it so it
parses as expected.

Change-Id: I4a4c4cba3f46249c9b3c87d37657f648093414f2
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1003440
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Puppet plugin: return a more explicit operatingsystem name

Previously, we merely returned 'oVirt'. Now, strip out spaces from
the parsed result in order to match the expected return from other
Puppet operating systems.

Change-Id: I73be03ef369d023bb94a33d81e6cb90e0a0f976b
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Puppet plugin: leave server and certname commented by default

Previously, we left these fields in puppet.conf, but blank. This
causes problems with parsing on EL6. Leave them commented by
default and uncomment if they are enabled.

Change-Id: I2b3450b943689b941ec35fe5722aa55bacf14480
Signed-off-by: Ryan Barry <rbarry@redhat.com>
rpcbind: Make /var/cache/rpcbind writeable

Previously rpcbind raised notices about an non writebale
/var/cache/rpcbind dir.
This patch makes this dir writeable.

rhbz#949574

Change-Id: Id7e8dff8558ba92430c67b01bcbb61e2538ecfe5
Signed-off-by: Fabian Deutsch <fabiand@redhat.com>
Disable the TUI in rescue mode

Don't let the TUI run when in rescue mode.

Change-Id: Ie1f9d6fbd944cd9c86b7ae85e031477d7184f868
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=989811
Signed-off-by: Ryan Barry <rbarry@redhat.com>
Show a dialog before entering the rescue console

One of the things lost in the transition to the new TUI was an
indication/dialog before entering the rescue shell. Add it back.

Change-Id: I37bd24c89ba8f4272435aa846f658a0a06d5aa08
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981142
Signed-off-by: Ryan Barry <rbarry@redhat.com>
install:  Make find Boot disk a bit more strict

Change-Id: Ica272049fdbe3298f4dd8503239c5f64f3687b0a
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=885959
Signed-off-by: hadong <hadong0720@gmail.com>
puppet: Persist puppet.conf when it get's changed

Change-Id: Ieacb4030d0fe4100fb002f5b1db62358d1d75012
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1016386
Signed-off-by: hadong <hadong0720@gmail.com>
update syslinux detection paths

rhbz#1008377

Change-Id: I7651f9428cfcd8ec57d0ce56f3e2b1945b5829bf
Signed-off-by: Joey Boggs <jboggs@redhat.com>