yum update shows warnings

General support questions
Akami
Posts: 5
Joined: 2019/02/04 07:38:47

Re: yum update shows warnings

Post by Akami » 2019/02/28 16:04:34

I didn't disable it, it's default disabled, by rent a root server. ;)
All hosters I know (like hosteurope) set selinux off. I think they don't want to have to put in the time to figure out why things doesn't work. But it shouldn't matter whether it's on or off for a yum update.

fishface
Posts: 27
Joined: 2016/08/02 15:47:42

Re: yum update shows warnings

Post by fishface » 2019/02/28 16:18:51

I agree, it shouldn't throw an error like that.

Many years ago I use to disable selinux, as it did cause a lot of trouble, but in the end I had to get to grips with it due to OS hardening and policy, so it is turned on by default now, I have done a few custom selinux policies as well, so I know my way around it a little.

ATM, I think you may have to wait until a fix is released, or enabled selinux and see if that helps, but take a snapshot of the OS if you can before doing so, or clone it and try it out on the clone if that is possible.

Ubiquitous
Posts: 7
Joined: 2019/02/11 02:39:06

Re: yum update shows warnings

Post by Ubiquitous » 2019/06/22 07:52:02

Hello,

Has there been any updates in regards to this issue? I ran into it again suddenly today on another server (no Plesk installed). Below is the entire yum upgrade output:

Code: Select all

# yum upgrade
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.checkdomain.de
 * centos-sclo-rh: mirror.checkdomain.de
 * centos-sclo-sclo: mirror.alpha-labs.net
 * epel: ftp.uni-stuttgart.de
 * extras: mirror.23media.com
 * remi-safe: rpms.remirepo.net
 * updates: mirror.plusserver.com
242 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.9.4-73.el7_6 will be updated
---> Package bind.x86_64 32:9.9.4-74.el7_6.1 will be an update
---> Package bind-chroot.x86_64 32:9.9.4-73.el7_6 will be updated
---> Package bind-chroot.x86_64 32:9.9.4-74.el7_6.1 will be an update
---> Package bind-libs.x86_64 32:9.9.4-73.el7_6 will be updated
---> Package bind-libs.x86_64 32:9.9.4-74.el7_6.1 will be an update
---> Package bind-libs-lite.x86_64 32:9.9.4-73.el7_6 will be updated
---> Package bind-libs-lite.x86_64 32:9.9.4-74.el7_6.1 will be an update
---> Package bind-license.noarch 32:9.9.4-73.el7_6 will be updated
---> Package bind-license.noarch 32:9.9.4-74.el7_6.1 will be an update
---> Package bind-utils.x86_64 32:9.9.4-73.el7_6 will be updated
---> Package bind-utils.x86_64 32:9.9.4-74.el7_6.1 will be an update
---> Package certbot.noarch 0:0.31.0-2.el7 will be updated
---> Package certbot.noarch 0:0.34.2-3.el7 will be an update
---> Package glib2.x86_64 0:2.56.1-2.el7 will be updated
---> Package glib2.x86_64 0:2.56.1-4.el7_6 will be an update
---> Package kernel.x86_64 0:3.10.0-957.21.3.el7 will be installed
---> Package kernel-debug.x86_64 0:3.10.0-957.21.3.el7 will be installed
---> Package kernel-devel.x86_64 0:3.10.0-957.21.3.el7 will be installed
---> Package kernel-headers.x86_64 0:3.10.0-957.12.2.el7 will be updated
---> Package kernel-headers.x86_64 0:3.10.0-957.21.3.el7 will be an update
---> Package microcode_ctl.x86_64 2:2.1-47.2.el7_6 will be updated
---> Package microcode_ctl.x86_64 2:2.1-47.4.el7_6 will be an update
---> Package python-perf.x86_64 0:3.10.0-957.12.2.el7 will be updated
---> Package python-perf.x86_64 0:3.10.0-957.21.3.el7 will be an update
---> Package python2-acme.noarch 0:0.31.0-1.el7 will be updated
---> Package python2-acme.noarch 0:0.34.2-1.el7 will be an update
---> Package python2-certbot.noarch 0:0.31.0-2.el7 will be updated
---> Package python2-certbot.noarch 0:0.34.2-3.el7 will be an update
---> Package python2-certbot-nginx.noarch 0:0.31.0-1.el7 will be updated
---> Package python2-certbot-nginx.noarch 0:0.34.2-1.el7 will be an update
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-693.5.2.el7 will be erased
---> Package kernel-debug.x86_64 0:3.10.0-693.5.2.el7 will be erased
---> Package kernel-devel.x86_64 0:3.10.0-693.5.2.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================
 Package                      Arch          Version                      Repository       Size
===============================================================================================
Installing:
 kernel                       x86_64        3.10.0-957.21.3.el7          updates          48 M
 kernel-debug                 x86_64        3.10.0-957.21.3.el7          updates          50 M
 kernel-devel                 x86_64        3.10.0-957.21.3.el7          updates          17 M
Updating:
 bind                         x86_64        32:9.9.4-74.el7_6.1          updates         1.8 M
 bind-chroot                  x86_64        32:9.9.4-74.el7_6.1          updates          89 k
 bind-libs                    x86_64        32:9.9.4-74.el7_6.1          updates         1.0 M
 bind-libs-lite               x86_64        32:9.9.4-74.el7_6.1          updates         741 k
 bind-license                 noarch        32:9.9.4-74.el7_6.1          updates          87 k
 bind-utils                   x86_64        32:9.9.4-74.el7_6.1          updates         206 k
 certbot                      noarch        0.34.2-3.el7                 epel             39 k
 glib2                        x86_64        2.56.1-4.el7_6               updates         2.5 M
 kernel-headers               x86_64        3.10.0-957.21.3.el7          updates         8.0 M
 microcode_ctl                x86_64        2:2.1-47.4.el7_6             updates         2.0 M
 python-perf                  x86_64        3.10.0-957.21.3.el7          updates         7.1 M
 python2-acme                 noarch        0.34.2-1.el7                 epel            149 k
 python2-certbot              noarch        0.34.2-3.el7                 epel            556 k
 python2-certbot-nginx        noarch        0.34.2-1.el7                 epel             72 k
Removing:
 kernel                       x86_64        3.10.0-693.5.2.el7           @updates         59 M
 kernel-debug                 x86_64        3.10.0-693.5.2.el7           @updates         62 M
 kernel-devel                 x86_64        3.10.0-693.5.2.el7           @updates         36 M

Transaction Summary
===============================================================================================
Install   3 Packages
Upgrade  14 Packages
Remove    3 Packages

Total download size: 140 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/17): bind-chroot-9.9.4-74.el7_6.1.x86_64.rpm                         |  89 kB  00:00:00     
(2/17): bind-libs-9.9.4-74.el7_6.1.x86_64.rpm                           | 1.0 MB  00:00:00     
(3/17): bind-9.9.4-74.el7_6.1.x86_64.rpm                                | 1.8 MB  00:00:00     
(4/17): bind-libs-lite-9.9.4-74.el7_6.1.x86_64.rpm                      | 741 kB  00:00:00     
(5/17): bind-license-9.9.4-74.el7_6.1.noarch.rpm                        |  87 kB  00:00:00     
(6/17): bind-utils-9.9.4-74.el7_6.1.x86_64.rpm                          | 206 kB  00:00:00     
(7/17): glib2-2.56.1-4.el7_6.x86_64.rpm                                 | 2.5 MB  00:00:00     
(8/17): certbot-0.34.2-3.el7.noarch.rpm                                 |  39 kB  00:00:00     
(9/17): kernel-debug-3.10.0-957.21.3.el7.x86_64.rpm                     |  50 MB  00:00:00     
(10/17): kernel-devel-3.10.0-957.21.3.el7.x86_64.rpm                    |  17 MB  00:00:00     
(11/17): kernel-headers-3.10.0-957.21.3.el7.x86_64.rpm                  | 8.0 MB  00:00:00     
(12/17): microcode_ctl-2.1-47.4.el7_6.x86_64.rpm                        | 2.0 MB  00:00:00     
(13/17): python2-acme-0.34.2-1.el7.noarch.rpm                           | 149 kB  00:00:00     
(14/17): python-perf-3.10.0-957.21.3.el7.x86_64.rpm                     | 7.1 MB  00:00:00     
(15/17): kernel-3.10.0-957.21.3.el7.x86_64.rpm                          |  48 MB  00:00:01     
(16/17): python2-certbot-nginx-0.34.2-1.el7.noarch.rpm                  |  72 kB  00:00:00     
(17/17): python2-certbot-0.34.2-3.el7.noarch.rpm                        | 556 kB  00:00:00     
-----------------------------------------------------------------------------------------------
Total                                                           64 MB/s | 140 MB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : python2-acme-0.34.2-1.el7.noarch                                           1/34 
  Updating   : python2-certbot-0.34.2-3.el7.noarch                                        2/34 
  Updating   : 32:bind-license-9.9.4-74.el7_6.1.noarch                                    3/34 
  Updating   : 32:bind-libs-9.9.4-74.el7_6.1.x86_64                                       4/34 
  Updating   : 32:bind-9.9.4-74.el7_6.1.x86_64                                            5/34 
  Updating   : certbot-0.34.2-3.el7.noarch                                                6/34 
  Updating   : python2-certbot-nginx-0.34.2-1.el7.noarch                                  7/34 
  Updating   : 32:bind-chroot-9.9.4-74.el7_6.1.x86_64                                     8/34 
  Updating   : 32:bind-utils-9.9.4-74.el7_6.1.x86_64                                      9/34 
  Updating   : 32:bind-libs-lite-9.9.4-74.el7_6.1.x86_64                                 10/34 
  Updating   : python-perf-3.10.0-957.21.3.el7.x86_64                                    11/34 
  Installing : kernel-debug-3.10.0-957.21.3.el7.x86_64                                   12/34 
  Updating   : 2:microcode_ctl-2.1-47.4.el7_6.x86_64                                     13/34 
  Updating   : kernel-headers-3.10.0-957.21.3.el7.x86_64                                 14/34 
  Installing : kernel-devel-3.10.0-957.21.3.el7.x86_64                                   15/34 
  Installing : kernel-3.10.0-957.21.3.el7.x86_64                                         16/34 
  Updating   : glib2-2.56.1-4.el7_6.x86_64                                               17/34 
  Cleanup    : python2-certbot-nginx-0.31.0-1.el7.noarch                                 18/34 
  Cleanup    : certbot-0.31.0-2.el7.noarch                                               19/34 
  Cleanup    : python2-certbot-0.31.0-2.el7.noarch                                       20/34 
  Cleanup    : 32:bind-chroot-9.9.4-73.el7_6.x86_64                                      21/34 
  Cleanup    : python2-acme-0.31.0-1.el7.noarch                                          22/34 
  Cleanup    : kernel-debug-3.10.0-693.5.2.el7.x86_64                                    23/34 
  Cleanup    : 2:microcode_ctl-2.1-47.2.el7_6.x86_64                                     24/34 
  Cleanup    : kernel-3.10.0-693.5.2.el7.x86_64                                          25/34 
  Cleanup    : kernel-headers-3.10.0-957.12.2.el7.x86_64                                 26/34 
  Cleanup    : kernel-devel-3.10.0-693.5.2.el7.x86_64                                    27/34 
  Cleanup    : 32:bind-9.9.4-73.el7_6.x86_64                                             28/34 
ValueError: SELinux policy is not managed or store cannot be accessed.
warning: %postun(bind-32:9.9.4-73.el7_6.x86_64) scriptlet failed, exit status 1
Non-fatal POSTUN scriptlet failure in rpm package 32:bind-9.9.4-73.el7_6.x86_64
  Cleanup    : 32:bind-libs-lite-9.9.4-73.el7_6.x86_64                                   29/34 
  Cleanup    : 32:bind-utils-9.9.4-73.el7_6.x86_64                                       30/34 
  Cleanup    : 32:bind-libs-9.9.4-73.el7_6.x86_64                                        31/34 
  Cleanup    : 32:bind-license-9.9.4-73.el7_6.noarch                                     32/34 
  Cleanup    : python-perf-3.10.0-957.12.2.el7.x86_64                                    33/34 
  Cleanup    : glib2-2.56.1-2.el7.x86_64                                                 34/34 
OSError: No such file or directory
ValueError: SELinux policy is not managed or store cannot be accessed.
warning: %posttrans(bind-32:9.9.4-74.el7_6.1.x86_64) scriptlet failed, exit status 1
Non-fatal POSTTRANS scriptlet failure in rpm package 32:bind-9.9.4-74.el7_6.1.x86_64
  Verifying  : glib2-2.56.1-4.el7_6.x86_64                                                1/34 
  Verifying  : python2-certbot-0.34.2-3.el7.noarch                                        2/34 
  Verifying  : 32:bind-9.9.4-74.el7_6.1.x86_64                                            3/34 
  Verifying  : kernel-3.10.0-957.21.3.el7.x86_64                                          4/34 
  Verifying  : kernel-devel-3.10.0-957.21.3.el7.x86_64                                    5/34 
  Verifying  : 32:bind-license-9.9.4-74.el7_6.1.noarch                                    6/34 
  Verifying  : kernel-headers-3.10.0-957.21.3.el7.x86_64                                  7/34 
  Verifying  : 2:microcode_ctl-2.1-47.4.el7_6.x86_64                                      8/34 
  Verifying  : 32:bind-chroot-9.9.4-74.el7_6.1.x86_64                                     9/34 
  Verifying  : kernel-debug-3.10.0-957.21.3.el7.x86_64                                   10/34 
  Verifying  : python2-acme-0.34.2-1.el7.noarch                                          11/34 
  Verifying  : certbot-0.34.2-3.el7.noarch                                               12/34 
  Verifying  : python2-certbot-nginx-0.34.2-1.el7.noarch                                 13/34 
  Verifying  : 32:bind-libs-9.9.4-74.el7_6.1.x86_64                                      14/34 
  Verifying  : python-perf-3.10.0-957.21.3.el7.x86_64                                    15/34 
  Verifying  : 32:bind-utils-9.9.4-74.el7_6.1.x86_64                                     16/34 
  Verifying  : 32:bind-libs-lite-9.9.4-74.el7_6.1.x86_64                                 17/34 
  Verifying  : 32:bind-license-9.9.4-73.el7_6.noarch                                     18/34 
  Verifying  : kernel-devel-3.10.0-693.5.2.el7.x86_64                                    19/34 
  Verifying  : 32:bind-libs-lite-9.9.4-73.el7_6.x86_64                                   20/34 
  Verifying  : kernel-3.10.0-693.5.2.el7.x86_64                                          21/34 
  Verifying  : 2:microcode_ctl-2.1-47.2.el7_6.x86_64                                     22/34 
  Verifying  : certbot-0.31.0-2.el7.noarch                                               23/34 
  Verifying  : 32:bind-9.9.4-73.el7_6.x86_64                                             24/34 
  Verifying  : python2-certbot-0.31.0-2.el7.noarch                                       25/34 
  Verifying  : 32:bind-chroot-9.9.4-73.el7_6.x86_64                                      26/34 
  Verifying  : 32:bind-utils-9.9.4-73.el7_6.x86_64                                       27/34 
  Verifying  : kernel-headers-3.10.0-957.12.2.el7.x86_64                                 28/34 
  Verifying  : python2-certbot-nginx-0.31.0-1.el7.noarch                                 29/34 
  Verifying  : glib2-2.56.1-2.el7.x86_64                                                 30/34 
  Verifying  : python-perf-3.10.0-957.12.2.el7.x86_64                                    31/34 
  Verifying  : kernel-debug-3.10.0-693.5.2.el7.x86_64                                    32/34 
  Verifying  : 32:bind-libs-9.9.4-73.el7_6.x86_64                                        33/34 
  Verifying  : python2-acme-0.31.0-1.el7.noarch                                          34/34 

Removed:
  kernel.x86_64 0:3.10.0-693.5.2.el7             kernel-debug.x86_64 0:3.10.0-693.5.2.el7      
  kernel-devel.x86_64 0:3.10.0-693.5.2.el7      

Installed:
  kernel.x86_64 0:3.10.0-957.21.3.el7            kernel-debug.x86_64 0:3.10.0-957.21.3.el7     
  kernel-devel.x86_64 0:3.10.0-957.21.3.el7     

Updated:
  bind.x86_64 32:9.9.4-74.el7_6.1                bind-chroot.x86_64 32:9.9.4-74.el7_6.1        
  bind-libs.x86_64 32:9.9.4-74.el7_6.1           bind-libs-lite.x86_64 32:9.9.4-74.el7_6.1     
  bind-license.noarch 32:9.9.4-74.el7_6.1        bind-utils.x86_64 32:9.9.4-74.el7_6.1         
  certbot.noarch 0:0.34.2-3.el7                  glib2.x86_64 0:2.56.1-4.el7_6                 
  kernel-headers.x86_64 0:3.10.0-957.21.3.el7    microcode_ctl.x86_64 2:2.1-47.4.el7_6         
  python-perf.x86_64 0:3.10.0-957.21.3.el7       python2-acme.noarch 0:0.34.2-1.el7            
  python2-certbot.noarch 0:0.34.2-3.el7          python2-certbot-nginx.noarch 0:0.34.2-1.el7   

Complete!


Post Reply