Bug 145789 - rhncfg-client verify does not work
Summary: rhncfg-client verify does not work
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nick Hansen
QA Contact: Fanny Augustin
Depends On: 147108
Blocks: 145824
TreeView+ depends on / blocked
Reported: 2005-01-21 16:47 UTC by Thorsten Scherf
Modified: 2007-10-24 02:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-08 16:25:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Thorsten Scherf 2005-01-21 16:47:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
touch /etc/sysconfig/rhn/allowed-actions/configfiles/all

create a samba config channel
upload /etc/samba/smb.conf

run "rhncfg-client verify /etc/samba/smb.conf"

nothing happens. after several minutes abort the action with ctrl-c,
this is the output:

Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 29, in ?
    sys.exit(Main().main() or None)
  File "/usr/share/rhn/config_common/rhn_main.py", line 171, in main
  File "/usr/share/rhn/config_client/handler_base.py", line 60, in run
    self._process_file(src, dst, file)
  File "/usr/share/rhn/config_client/rhncfgcli_verify.py", line 23, in
    src_sha1 = utils.sha1_file(src)
  File "/usr/share/rhn/config_common/utils.py", line 114, in sha1_file
    while 1:

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

How reproducible:

Steps to Reproduce:
1.run rhncfg-client verify <file>

Actual Results:  nothing, program hangs. traceback see above.

Expected Results:  verify the requested file

Additional info:

Comment 1 Nick Hansen 2005-02-03 21:52:49 UTC
I'm seeing this as well. Adding as a mustfix for rhn370sat.

Comment 2 Todd Warner 2005-02-04 13:48:24 UTC
Customer Facing now "NO"
Docs status now tracked by bug 147108

Comment 3 Nick Hansen 2005-02-11 19:10:16 UTC
I'm not seeing this problem in the newest rhncfg packages. Thorsten,
can you up2date rhncfg on your box to grab the 3.1.6-54 version of the
pacakges and see if you still see this issue?

Comment 4 Nick Hansen 2005-02-24 16:40:22 UTC
Thorsten, any update?

Comment 5 Thorsten Scherf 2005-02-24 18:44:38 UTC
version 3.1.6-54 is working very well. no problems any more.

Comment 6 Nick Hansen 2005-02-24 20:18:12 UTC
Thanks for checking. Closing this out.

Comment 7 Nick Hansen 2005-02-24 20:25:25 UTC
Actually, I'm going to reopen this and make sure that RHN qa tests
this in the new 3.2-* versions of the packages.

Comment 8 Fanny Augustin 2005-03-15 15:16:01 UTC
Has this command "rhncfg-client verify" been replaced by
"rhncfg-client diff"? At least this is what the doc bug is saying:
147108.  If so, this is inconsistent with the list of valids modes. 
Run "rhncfg-client" and you will see "diff" and "verify" listed as
valid modes.

Comment 9 Mihai Ibanescu 2005-03-15 17:01:18 UTC
No, rhncfg-client verify is different than rhncfg-client diff.

Comment 10 Fanny Augustin 2005-03-16 00:19:40 UTC
Looks good on QA.

Comment 11 Todd Warner 2005-04-08 16:25:17 UTC

Note You need to log in before you can comment on or make changes to this bug.