Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 628683

Summary: oddjob self-test fails
Product: Red Hat Enterprise Linux 5 Reporter: Ondrej Moriš <omoris>
Component: oddjobAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: dpal, ebenes, mmalik, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: oddjob-0.27-12.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-28 15:37:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
the fix from oddjob-0.27-12.el5 none

Description Ondrej Moriš 2010-08-30 18:41:26 UTC
Description of problem:

oddjob self-test is failing, output is as follows:

# make check
...
./test-oddjobd.sh
001 - "list" method / configuration parsing: PASS
002 - Request to non-existent service: PASS
003 - Request to non-existent object: PASS
004 - Request to non-existent interface: PASS
005 - Request to non-existent method: PASS
--- 006/expected_stdout 2010-08-30 08:20:52.000000000 -0400
+++ stdout      2010-08-30 14:30:23.000000000 -0400
@@ -5,7 +5,7 @@
 [pwd]
 /
 [ls -l /proc/self/fd]
-total 4 
+total 0 
 lr-x------ 1 root root 0 -> pipe:[whatever]
 l-wx------ 1 root root 1 -> pipe:[whatever]
 l-wx------ 1 root root 2 -> pipe:[whatever]
FAIL
process 17132: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
process 17132: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.

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

oddjob-0.27-11.el5
oddjob-libs-0.27-11.el5
oddjob-devel-0.27-11.el5
oddjob-debuginfo-0.27-11.el5

It also fail in version 0.27-9.el5.

How reproducible:

Always.

Steps to Reproduce:

1. download src rpm 
2. rpmbuild -vv -bc SPECS/oddjob.spec
3. make check -C /usr/src/redhat/BUILD/oddjob-0.27-1
  
Actual results:

Self-test fails.

Expected results:

Self-test pass.

Additional info:

It fail on RHEL6 too (oddjob-0.30-1.el6). I am not sure what is the purpose of the failing test 006 and hence it is possible that this is not a real bug.

Comment 9 Nalin Dahyabhai 2011-09-07 14:33:56 UTC
Created attachment 521904 [details]
the fix from oddjob-0.27-12.el5

Comment 10 Ondrej Moriš 2011-09-07 14:45:56 UTC
Eduard, we have a reproducer here - it is the self-test, it should pass with the latest package. Patch is indeed very simple (one line in two files, dbus connection closing was removed from some places) and test case has been extended I think. Anyway, we should probably verify that the fix does not introduce any leaks (right?).

Comment 15 errata-xmlrpc 2011-11-28 15:37:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1492.html