ScriptInstallation.In

Home
Services
PHP Script Installation
CGI Script Installation
Linux Tips
FreeBSD Tips
Windows Tips
Server Tips
Scripts Directory
HOW-TO
Contact Us


Server Administration > Linux Server Tips > post_create: setxattr failed

post_create: setxattr failed

On a linux server, i got following error when i run command dmesg.

post_create: setxattr failed, rc=122 (dev=sda3 ino=14108055)
post_create: setxattr failed, rc=122 (dev=sda3 ino=14191558)

This error is due to selinux (Security Enhanced Linux). Selinux create several problems, it is better disable it.

To disable selinux, edit the file /etc/selinux/config

root@server1 [/etc/selinux]# cat config
# 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
root@server1 [/etc/selinux]#

Change SELINUX=enforcing to SELINUX=disabled



Copyright © ScriptInstallation.in