Bug 463931 - /etc/ipsec.conf includes /etc/ipsec.d/*.conf which is missing
Summary: /etc/ipsec.conf includes /etc/ipsec.d/*.conf which is missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openswan
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Avesh Agarwal
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-25 14:53 UTC by Alexander Todorov
Modified: 2009-09-02 11:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The ipsec.conf file included any .conf files placed in /etc/ipsec.d but Openswan's default installation did not place any files in this directory. Therefore, error messages similar to "could not open include filename: '/etc/ipsec.d/*.conf'" would appear when starting or stopping the IPsec service. Although the service operated correctly, the appearance of these error messages could mislead a user to think that there was a problem with IPsec. The ipsec.conf file now comments out the include of /etc/ipsec.d and contains a note suggesting that users uncomment the line and use /etc/ipsec.d for their customized configuration files.
Clone Of:
Environment:
Last Closed: 2009-09-02 11:19:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:1350 0 normal SHIPPED_LIVE openswan bug fix update 2009-09-01 10:49:14 UTC

Description Alexander Todorov 2008-09-25 14:53:55 UTC
Description of problem:
The config file /etc/ipsec.conf has an include directive:
include /etc/ipsec.d/*.conf

however the default install doesn't include .conf files under /etc/ipsec.d. This causes error messages to be printed when starting/stopping/etc the service.

Version-Release number of selected component (if applicable):
openswan-2.6.12-2.el5

How reproducible:
always

Steps to Reproduce:
1. service ipsec status
  
Actual results:
# service ipsec status
could not open include filename: '/etc/ipsec.d/*.conf' (tried  and )
IPsec stopped


Expected results:
# service ipsec status
IPsec stopped

Additional info:
This looks harmless but can we make it silent? A possible but not very clean solution is to include a default.conf file which has only comments/is empty.

Comment 7 Ruediger Landmann 2009-05-18 00:33:16 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
The ipsec.conf file included any .conf files placed in /etc/ipsec.d but Openswan's default installation did not place any files in this directory. Therefore, error messages similar to "could not open include filename: '/etc/ipsec.d/*.conf'" would appear when starting or stopping the IPsec service. Although the service operated correctly, the appearance of these error messages could mislead a user to think that there was a problem with IPsec. The ipsec.conf file now comments out the include of /etc/ipsec.d and contains a note suggesting that users uncomment the line and use /etc/ipsec.d for their customized configuration files.

Comment 11 errata-xmlrpc 2009-09-02 11:19:25 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1350.html


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