Author Topic: how can i disable selinux in ploplinux 4.2  (Read 7451 times)

sqkjwx

  • Newbie
  • *
  • Posts: 7
how can i disable selinux in ploplinux 4.2
« on: March 10, 2012, 06:33:49 AM »
when i restore a ext4 partation image with fsarchiver ,it cannot work with something about selinux ..so  how can i disable it .

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: how can i disable selinux in ploplinux 4.2
« Reply #1 on: March 10, 2012, 08:38:02 AM »
what is the fsarchiver output?

sqkjwx

  • Newbie
  • *
  • Posts: 7
Re: how can i disable selinux in ploplinux 4.2
« Reply #2 on: March 10, 2012, 10:41:20 AM »
what is the fsarchiver output?

thanks for replay
many of message of this:
[errno=95, Operation not supported]: oper_restore.c#213,extractar_restore_attr_xattr(): xattr:lsetxattr(/sq/.bash_logout,security.selinux) failed
-[00]


i fix it with adding selinux=0 to the kernel boot option.



and in the homepage of http://www.plop.at/en/ploplinux/fsarchiver.html   

"fsarchiver restfs windows.fsa /dev/sda1" should be "fsarchiver restfs windows.fsa id=0,dest=/dev/sda1" by the fsarchive help
« Last Edit: March 10, 2012, 10:45:53 AM by sqkjwx »