Bug 961230

Summary: Don't print journalctl command when cancelling
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: realmdAssignee: Stef Walter <stefw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jhrozek, kbanerje, stefw, yelley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: realmd-0.14.1-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-27 03:24:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 959458    

Description Stef Walter 2013-05-09 08:02:54 UTC
If Ctrl-C when discovering, a journalctl command is printed, which indicates an error.

Cancellation should be pretty quiet and simple, without any details needed:

[stef@stef ~]$ realm discover blah.com
^CCancelling...
See: journalctl REALMD_OPERATION=r15496.22718
realm: Couldn't discover realms: Operation was cancelled.

Comment 1 Stef Walter 2013-05-09 08:37:12 UTC
Ditto for cancellation of an policy kit prompt:

[stef@stef ~]$ realm permit 'BORG\Administrator'
See: journalctl REALMD_OPERATION=r17703.26640
realm: Couldn't change permitted logins: Not authorized to perform this action

Comment 2 Kaushik Banerjee 2013-05-09 09:08:48 UTC
I see this too with realmd-0.14.0-1

# realm discover --client-software=freeipa sssdad.com
See: journalctl REALMD_OPERATION=r6942.5187
realm: No such realm found: sssdad.com

Comment 3 Stef Walter 2013-05-09 12:53:46 UTC
[stef@thinker src]$ realm join borg.thewalter.lan
See: journalctl REALMD_OPERATION=r604.2503
realm: Already joined to this domain

Comment 4 Fedora Update System 2013-05-13 17:49:18 UTC
realmd-0.14.1-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/realmd-0.14.1-1.fc19

Comment 5 Fedora Update System 2013-05-14 03:47:01 UTC
Package realmd-0.14.1-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing realmd-0.14.1-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-8135/realmd-0.14.1-1.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-05-27 03:24:44 UTC
realmd-0.14.1-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.