Bug 453340
| Summary: | caching-nameserver update breaks customized config | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Milan Kerslager <milan.kerslager> |
| Component: | caching-nameserver | Assignee: | Adam Tkac <atkac> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.6 | CC: | boris, jplans, jwest, ovasik, rvokal, tao |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-14 20:38:56 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 562748, 562750 | ||
|
Description
Milan Kerslager
2008-06-29 22:10:03 UTC
We at Red Hat Japan received the same report from our customers. This package forced them to move .rpmsave file back in order to get their bind working again. We are aware that caching-nameserver replace named.conf by design and reported the their usage is not typical (or recommended), however, in order to be on the safe side, we think it should be set to "noreplace". Are you sure what happened with your files Milan? I updated to caching-nameserver.noarch 0:7.3-3.0.1.el4_6 but observed a different, even more severe problem with rpm: My /var/named/chroot/etc/named.conf was customized, which means that it contained data that was very important for me. The update kept only the "old version" symlink at /etc/named.conf as /etc/named.conf.rpmsave but overwrote the original file at /var/named/chroot/etc/named.conf with the new version in the rpm! So my own data was lost. I had to recover it from a backup. RPM should instead keep a copy of my own /var/named/chroot/etc/named.conf as /var/named/chroot/etc/named.conf.rpmsave. Main problem is that caching-nameserver package is not designed for servers, it is configuration for local caching only nameserver. Configuration files are overwritten since good old RHEL3 GA so it's nothing new. Although caching-nameserver package should not be installed on authoritative servers I think we will avoid such problems in future. In next update named.conf will be marked as noreplace Are you sure Adam? It's the easiest way to get the named.ca file that you need to run a nameserver. T thing so too. Every namesever have to have root zone definition, loopback etc (by RFC request). I see no reason to not use what is is provided by this package because every generic file could be upgraded (root zone) or fixed in case of a bug (others). Your system-config-nameserver should use these files too to be able to be updated without running updated system-config-nameserver. |