Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

target uses selinux but python bindings (libselinux-python) aren't installed! #1051

Open
day-by-day opened this issue Dec 4, 2019 · 2 comments

Comments

@day-by-day
Copy link

TASK [ops : create check_tikv.sh script] ***********************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "checksum": "a03c25417ea5c735d9c2547ecb532be36a7bc789", "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}
to retry, use: --limit @/home/tidb/tidb-ansible/retry_files/bootstrap.retry

@day-by-day
Copy link
Author

yum install libselinux-python

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.aliyun.com
  • epel: ftp.jaist.ac.jp
  • extras: mirrors.aliyun.com
  • updates: mirrors.aliyun.com
  • webtatic: us-east.repo.webtatic.com
    Package libselinux-python-2.5-14.1.el7.x86_64 already installed and latest version
    Nothing to do

getenforce

Permissive

@liubo0127
Copy link
Contributor

Please use the following command to install this package on all machines:

cd tidb-ansible
ansible all -m yum -a "name=libselinux-python state=present"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants