Koozali.org: home of the SME Server

Nextcloud 24 - Reinstallation of mariadb105 - SELinux

Offline gieres

  • *
  • 213
  • +0/-0
Nextcloud 24 - Reinstallation of mariadb105 - SELinux
« on: July 28, 2022, 01:55:05 PM »
Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading.

When I make a reinstallation of rh-mariadb105-mariadb-server, I have this message :
Code: [Select]
Downloading packages:
rh-mariadb105-mariadb-server-10.5.9-2.el7.x86_64.rpm      |  18 MB   00:16     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installation : 3:rh-mariadb105-mariadb-server-10.5.9-2.el7.x86_64        1/1
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).
OSError: No such file or directory
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).
OSError: No such file or directory
Creating temporary event 'temp' and populating it...
 Adding actions to execute
Executing signal-event temp ...........
Reload yum db for server-manager
  Vérification : 3:rh-mariadb105-mariadb-server-10.5.9-2.el7.x86_64        1/1

Installé :
  rh-mariadb105-mariadb-server.x86_64 3:10.5.9-2.el7 

I have approximatively same message on a new test VM :

ValueError: La stratégie SELinux n’est pas gérée ou la base n’est pas accessible.


Is that a bug ?

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Nextcloud 24 - Reinstallation of mariadb105 - SELinux
« Reply #1 on: July 28, 2022, 02:56:48 PM »
that is because we do not use selinux.

ignore this.