Bug 592630
Summary: | openswan irrevocably corrupts /etc/resolv.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Matěj Cepl <mcepl> |
Component: | openswan | Assignee: | Avesh Agarwal <avagarwa> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Aleš Mareček <amarecek> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | amarecek, sgrubb |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openswan-2_6_24-4_el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-11-11 14:52:13 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: |
Description
Matěj Cepl
2010-05-15 20:11:04 UTC
Did you check if you observe the same behaviour when vpnc is run on the command line not through the network manager? I tested locally and found that when vpnc is run from command line, the /etc/resolv.conf output is same as what we get with Openswan. NetworkManager(NM) has the ability to get DNS information from multiple sources. So when vpnc is run through NM, NM takes care of configuring /etc/resolv.conf. Once NM-openswan plugin is ready same behaviour will be observed. Without NM, Openswan (or vpnc too for that matter) will require looking inside /etc/resolv.conf to find out what is configured there as nameservers to obtain information about DNS servers. well, there are long issues with vpnc and its script for generating /etc/resolv.conf (some people ended up with chattr +i /etc/resolv.conf and local bind to make DNS working well). However, the result why it doesn't bother me that much is that when vpnc finishes (killall vpnc), original /etc/resolv.conf gets correctly restored. Not so with ipsec so far. Openswan restores the /etc/resolv.conf correctly if one stops it by doing: service ipsec stop However, if Openswan (ipsec) crahses (due to some issues) then it does not restore the /etc/resolv.conf . So are you referring the case when Openswan crashes? (In reply to comment #5) > Openswan restores the /etc/resolv.conf correctly if one stops it by doing: > > service ipsec stop > > However, if Openswan (ipsec) crahses (due to some issues) then it does not > restore the /etc/resolv.conf . So are you referring the case when Openswan > crashes? Not only, probably due to some SELinux issues, I don't get /etc/resolv.conf restored even when I run ipsec setup stop. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |