Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 628683 - oddjob self-test fails
oddjob self-test fails
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: oddjob (Show other bugs)
5.6
All Linux
low Severity medium
: rc
: ---
Assigned To: Nalin Dahyabhai
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-30 14:41 EDT by Ondrej Moriš
Modified: 2013-04-15 05:10 EDT (History)
4 users (show)

See Also:
Fixed In Version: oddjob-0.27-12.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-11-28 10:37:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
the fix from oddjob-0.27-12.el5 (4.89 KB, patch)
2011-09-07 10:33 EDT, Nalin Dahyabhai
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1492 normal SHIPPED_LIVE oddjob bug fix update 2011-11-28 15:33:35 EST

  None (edit)
Description Ondrej Moriš 2010-08-30 14:41:26 EDT
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 10:33:56 EDT
Created attachment 521904 [details]
the fix from oddjob-0.27-12.el5
Comment 10 Ondrej Moriš 2011-09-07 10:45:56 EDT
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 10:37:04 EST
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

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