Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 963552

Summary: spacewalk-channel prints username prompt on stdout
Product: [Community] Spacewalk Reporter: Masatake YAMATO <yamato>
Component: ClientsAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.10CC: tkasparek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-05 06:37:22 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: 991452    
Attachments:
Description Flags
a patch fixing the bug none

Description Masatake YAMATO 2013-05-16 07:06:22 UTC
Created attachment 748620 [details]
a patch fixing the bug

Description of problem:

In following command line:

 $ spacewalk-channle -L > FILE

username prompt is never shown. The user cannot know spacewalk-command waits the user input one's username.


Version-Release number of selected component (if applicable):

I've checked on rhn-channel shipped as part of rhel6.4.
However, as far as reading source code, this is reprodcable on the git HEAD of spacewalk.git.


How reproducible:


Steps to Reproduce:
1. $ spacewalk-channle -L > FILE
2.
3.
  
Actual results:

$ spacewalk-channle -L > FILE

Expected results:

$ spacewalk-channle -L > FILE
Username: 

Additional info:
See the patch.

Comment 1 Tomáš Kašpárek 2013-07-09 12:10:03 UTC
Hello Masatake,

printing prompt for username on stderr is not valid solution, therefore I haven't used your proposed patch.

Fixed in spacewalk.git: 2644c63c8da0ff4abe4668442ca511e8a3fea4ac

Comment 2 Masatake YAMATO 2013-07-10 03:09:09 UTC
I read your patch. Your fix is better than mine. Thanks.

Comment 4 Tomáš Kašpárek 2013-08-05 06:37:22 UTC
Fix for this issue is fixed in Spacewalk 2.0 therefore closing this as CURRENTRELEASE.