OpenVZ Forum


Home » General » Support » *SOLVED* OpenVZ ACL support??
*SOLVED* OpenVZ ACL support?? [message #8352] Thu, 16 November 2006 18:15 Go to next message
luisfernandez is currently offline  luisfernandez
Messages: 2
Registered: November 2006
Junior Member
Hi,

I am trying to enable ACL support into a machine booted with a OpenVZ stable kernel.

I have modified /etc/fstab in VE0 (into the VEs the fstab file is empty) adding the acl option to /

Then I have remounted (even rebooted the entire machine) and when I try to setfacl:

[root@correo ~]# setfacl -m u:luis:rw- test.txt
setfacl: test.txt: Operation not supported

And in the output of dmesg:
EXT3 (no)acl options not supported

Is ACL not supported by stable kernel?

Can I rebuild the kernel with ACL support?

It is necessary because one of the VE will be a NAS attached to a Active Directory...

Thanks in advance and sorry for my poor English Sad
Luis Fernandez

[Updated on: Thu, 16 November 2006 19:54] by Moderator

Report message to a moderator

Re: OpenVZ ACL support?? [message #8353 is a reply to message #8352] Thu, 16 November 2006 18:32 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Yes, just enable ACL and XATTRs in .config.
will be fixed in next build.


http://static.openvz.org/userbars/openvz-developer.png
Re: OpenVZ ACL support?? [message #8358 is a reply to message #8353] Fri, 17 November 2006 08:37 Go to previous messageGo to next message
luisfernandez is currently offline  luisfernandez
Messages: 2
Registered: November 2006
Junior Member
It works!!

Thanks for the wonderful support and for the Kernel Build guide. Here are the diff in kernel-2.6.9-023stab032-x86_64-smp.config.ovz for enable ACL in x86_64:
1199c1199,1202
< # CONFIG_EXT2_FS_XATTR is not set
---
> CONFIG_EXT2_FS_XATTR=y
> CONFIG_EXT2_FS_POSIX_ACL=y
> CONFIG_EXT2_FS_SECURITY=y
> # is not set
1202,1203c1205,1208
< # CONFIG_EXT3_FS_POSIX_ACL is not set
< # CONFIG_EXT3_FS_SECURITY is not set
---
> CONFIG_EXT3_FS_POSIX_ACL=y
> # s not set
> CONFIG_EXT3_FS_SECURITY=y
> # is not set


Cheers,
Luis Fernandez
Re: OpenVZ ACL support?? - Didn't make it into the latest build? [message #9371 is a reply to message #8353] Thu, 28 December 2006 19:11 Go to previous message
ravton is currently offline  ravton
Messages: 1
Registered: December 2006
Junior Member
dev wrote on Thu, 16 November 2006 13:32

Yes, just enable ACL and XATTRs in .config.
will be fixed in next build.



Looks like this didn't make it. Next build or is there a problem?

Previous Topic: TOS and Asterisk
Next Topic: question and problem (about QoS)
Goto Forum:
  


Current Time: Fri Oct 10 16:41:41 GMT 2025

Total time taken to generate the page: 0.18741 seconds