Disabling SELinux
#1
[Image: images.jpg]

Buat yang dah coba'in tutorial Solve Network Connection After Update Daily Fedora 15;The system network services are not compatible with this version.

Mungkin bisa d'bilang mendapatkan masalah saat loading akan login, membutuhkan waktu yang lama dan akan mendaptkan message seperti ini :

PHP Code:
*** Warning -- SELinux targeted policy relabel is required.
*** 
Relabeling could take a very long timedepending on file
*** system size and speed of hard drives.
************************************************************** 

Berarti SELinux-ny enable/Enforcing (SELinux policy rules are enforced), kalau gk msalah ama loading yg lama ini sech gpp (setiap satu * berarti 1000 file yg d'labeled, waktu yg d'butuhkan untuk label smw file tergantung pada jumlah file yang ada alam system dan kecepatan dari harddisk, pada modern system ini mungkin akan membutuhkan waktu kira2 10 menitan), nah buat yang pengen ilangin ini, bisa dgn cara Disable SELinux...

Step by Step :

1. Cek dulu status SELinux :

PHP Code:
$ /usr/sbin/getenforce

Enforcing 

2. Berarti dr hasil output d'atas SELinux mmg enable, untuk disable-ny buka /etc/selinux/config

> Pada case ane, isi-ny seperti ini :

PHP Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#    enforcing - SELinux security policy is enforced.
#    permissive - SELinux prints warnings instead of enforcing.
#    disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#    targeted - Only targeted network daemons are protected.
#    strict - Full SELinux protection.
SELINUXTYPE=targeted 

> trz ganti dengan ini :

PHP Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#       targeted - Targeted processes are protected,
#       mls - Multi Level Security protection.
SELINUXTYPE=targeted 

> trz save dan reboot PC, cek kembali status SELinux :

PHP Code:
$ /usr/sbin/getenforce

Disabled 

Atau untuk pengguna turunan RedHat bisa jalanin ini d'terminal :

PHP Code:
# setup 

#2
wuiihh akhirnya dapet solusina.. trims om

#3
d'BT dah ada SELinux y om?






Users browsing this thread: 2 Guest(s)