PowerDNS - YUM EPEL Repo
Today i will do run yum update then its will do update pdns Version. pdns are missing after do the Graceful Server Reboot. But why pdns are missing if do run yum update?
[PHP]Last login: Tue Nov 1 19:51:25 2016 from 151.55.153.207
[root@na ~]# /usr/local/cpanel/scripts/check_cpanel_rpms --fix
[2016-11-01 20:03:54 +0600]
[2016-11-01 20:03:54 +0600] Problems were detected with cPanel-provided files which are RPM controlled.
[2016-11-01 20:03:54 +0600] If you did not make these changes intentionally, y ou can correct them by running:
[2016-11-01 20:03:54 +0600]
[2016-11-01 20:03:54 +0600] > /usr/local/cpanel/scripts/check_cpanel_rpms --fi x
[2016-11-01 20:03:54 +0600] The following RPMs are missing from your system:
[2016-11-01 20:03:54 +0600] pdns-3.4.10-1.cp1160
[2016-11-01 20:05:29 +0600] Removing 0 broken rpms:
[2016-11-01 20:05:29 +0600] rpm: no packages given for erase
[2016-11-01 20:05:32 +0600] Downloading http://httpupdate.cpanel.net/RPM/11.60/centos/7/x86_64/rpm.sha512
[2016-11-01 20:05:33 +0600] Successfully verified signature for cpanel (key types: release).
[2016-11-01 20:05:33 +0600] Downloading http://httpupdate.cpanel.net/RPM/11.60/centos/7/x86_64/pdns-3.4.10-1.cp1160.x86_64.rpm
[2016-11-01 20:05:36 +0600] Disabling service monitoring.
[2016-11-01 20:05:37 +0600] Hooks system enabled.
[2016-11-01 20:05:37 +0600] Checking for and running RPM::Versions 'pre' hooks for any RPMs about to be installed
[2016-11-01 20:05:37 +0600] All required 'pre' hooks have been run
[2016-11-01 20:05:38 +0600] No RPMS need to be uninstalled
[2016-11-01 20:05:38 +0600] Installing new rpms: pdns-3.4.10-1.cp1160.x86_64.rpm
[2016-11-01 20:05:39 +0600] Preparing packages...
[2016-11-01 20:05:42 +0600] pdns-3.4.10-1.cp1160.x86_64
[2016-11-01 20:05:49 +0600] pdns-3.4.10-1.el7.x86_64
[2016-11-01 20:05:50 +0600] Hooks system enabled.
[2016-11-01 20:05:50 +0600] Checking for and running RPM::Versions 'post' hooks for any RPMs about to be installed
[2016-11-01 20:05:50 +0600] All required 'post' hooks have been run
[2016-11-01 20:05:50 +0600] Restoring service monitoring.
[/PHP]
-
Hello, Internal case CPANEL-9280 is open to address an issue where if the EPEL YUM repository is installed, updates through YUM will replace cPanel's pdns RPM with the pdns RPM available from EPEL repository. I'll update this thread with more information on the status of this case as it becomes available. In the meantime, the workaround is to exclude the pdns RPM from the EPEL YUM repo via the following steps: 1. Open /etc/yum.repos.d/epel.repo with your preferred text editor. 2. Add "exclude=pdns*" as a new line at the end of the [epel] section. Here's an example of how the file will look on CentOS 7: [epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 exclude=pdns* [epel-debuginfo] name=Extra Packages for Enterprise Linux 7 - $basearch - Debug #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 7 - $basearch - Source #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 gpgcheck=1
3. Run the following command to replace/usr/local/cpanel/scripts/check_cpanel_rpms --fix
4. Run "yum update" and confirm the pdns RPM is no longer replaced:# rpm -qa|grep pdns pdns-3.4.10-1.cp1160.x86_64
Let us know if you have any questions. Thank you.0 -
@cPanelMichael, Does this issue fixed for 60.0.22 RELEASE? 0 -
Hello, The resolution for this issue is included with cPanel version 60.0.22: Case CPANEL-9756: Use the renamed 'cpanel-pdns' RPM to avoid conflicts This case ensures the PowerDNS RPM uses the "cpanel-pdns" name to avoid conflicts with the "pdns" package provided by the EPEL YUM repository. cPanel version 60.0.22 is available in the "Current" build tier. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments