[Freeipa-devel] [PATCH] 323 Report ipa-upgradeconfig errors during RPM upgrade
Rob Crittenden
rcritten at redhat.com
Thu Oct 18 15:22:25 UTC 2012
Martin Kosek wrote:
> Report errors just like with ipa-ldap-updater. These messages should warn
> user that some parts of the upgrades may have not been successful and
> he should follow up on them. Otherwise, user may not notice them at all.
>
> ipa-upgradeconfig logging has been made consistent with ipa-ldap-updater
> logging - only error level or higher severity log messages are printed
> to stderr, with the same console format. A new debug log that an upgrade
> script has started was added to make log investigation easier.
>
> https://fedorahosted.org/freeipa/ticket/3157
>
> ---
>
> Reproducer is in Bugzilla attached to the ticket. With this patch, RPM update
> will report errors to user:
>
> # rpm -Uvh --force ~/freeipa-master/dist/rpms/freeipa-*
> Preparing... ########################################### [100%]
> 1:freeipa-python ########################################### [ 14%]
> 2:freeipa-client ########################################### [ 29%]
> 3:freeipa-admintools ########################################### [ 43%]
> 4:freeipa-server ########################################### [ 57%]
> ERROR: Cannot update connections in /etc/named.conf: [Errno 13] Permission
> denied: '/etc/named.conf'
> 5:freeipa-server-selinux ########################################### [ 71%]
> 6:freeipa-server-trust-ad########################################### [ 86%]
> 7:freeipa-debuginfo ########################################### [100%]
>
> Martin
Can you add an option to run in info mode (the equivalent of
verbose=True)? Otherwise running from the cli returns nothing unless
there is an error, I like some amount of output myself.
rob
More information about the Freeipa-devel
mailing list