Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 693642

Summary: ldap-agent-bin segfaults during start when denied access to /var/lib/net-snmp
Product: Red Hat Enterprise Linux 6 Reporter: Karel Srot <ksrot>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED WONTFIX QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: benl, dpal, jgalipea
Target Milestone: rcKeywords: screened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-13 23:32:51 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
abrt crash details none

Description Karel Srot 2011-04-05 07:50:44 UTC
Created attachment 489931 [details]
abrt crash details

Description of problem:

This was originaly caused by selinux-policy which denied the access to /var/lib/net-snmp (see bug 675782). This is already fixed and with proper policy you won't face this problem. 
But I don't think that ldap-agent-bin should segfault anyway.

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


How reproducible:
always

Steps to Reproduce:
1. install 389-ds-base
2. configure and start dirsrv using setup-ds.pl script
3. set up dirsrv server in /etc/dirsrv/config/ldap-agent.conf
4. start and kill "ldap-agent /etc/dirsrv/config/ldap-agent.conf"
   this is just to create necessary directories && files
5. chcon -R -t var_lib_t /var/lib/net-snmp/
6. ldap-agent /etc/dirsrv/config/ldap-agent.conf
  
Actual results:
ldap-agent: Not started after 15 seconds!  Check log file for details.
ldap-agent-bin segfaults

Expected results:
proper start

Additional info:
attached abrt logs