Bug 563670 - seg fault in cfagent
Summary: seg fault in cfagent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cfengine
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Sheltren
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-10 20:37 UTC by Terje Røsten
Modified: 2010-02-26 11:52 UTC (History)
1 user (show)

Fixed In Version: cfengine-2.2.10-6.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-26 11:52:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Terje Røsten 2010-02-10 20:37:17 UTC
Description of problem:

I am getting a seg fault from running cfagent:

$ cfagent
cfengine:jen: Couldn't open last-seen database /var/cfengine/cf_LastSeen.db
cfengine:jen: db_open: Unknown error 41418160
cfengine:jen: Couldn't open lock database /var/cfengine/cfengine_lock_db
cfengine:jen: db_open: Unknown error 41429968
Segmentation fault

Seems to be related to db4 in rawhide, dmesg has:

cfagent[1278]: segfault at 0 ip 00007f395d13976c sp 00007fff10dca250 error 6 in libdb-4.7.so[7f395d108000+16b000]

Version-Release number of selected component (if applicable):
$  rpm -q cfengine
cfengine-2.2.10-5.fc13.x86_64

$ rpm -qa|grep db4|sort
compat-db47-4.7.25-2.fc13.x86_64
db4-4.8.26-1.fc13.x86_64
db4-cxx-4.8.26-1.fc13.x86_64
db4-devel-4.8.26-1.fc13.x86_64
db4-utils-4.8.26-1.fc13.x86_64


This is show stopper for F13 here as the platform can not be deployed without
cfagent support.

Comment 1 Terje Røsten 2010-02-18 17:29:51 UTC
Rebuilding with db-4.8 and with compat-db47 removed from the system makes it work.

Please rebuild cfengine for rawhide and F-13.

Comment 2 Fedora Update System 2010-02-24 05:07:01 UTC
cfengine-2.2.10-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/cfengine-2.2.10-6.fc13

Comment 3 Fedora Update System 2010-02-24 07:59:51 UTC
cfengine-2.2.10-6.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cfengine'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2812

Comment 4 Fedora Update System 2010-02-26 11:52:31 UTC
cfengine-2.2.10-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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