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

[email protected] [/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.
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
[email protected] [/etc/selinux]#

Change SELINUX=enforcing to SELINUX=disabled

Get in touch with us

Questions? Concerns? Comments? We want to hear from you!
Drop us a line with whatever is on your mind and we will get back to you ASAP!!