--- Begin Message ---
Package: kernel-patch-vserver
Version: 1.9.5.3
Severity: important
'chattr' causes the error message 'Function not implemented', which
makes it impossible to 'vserver xx build' without workaround (i.e.
turning of 'namespace').
cel600:/# uname -a
Linux cel600 2.6.8+vserver #1 Wed Jun 15 01:44:04 CEST 2005 i686 GNU/Linux
cel600:/# touch /home/helmut/test-attr
cel600:/# chattr -i /home/helmut/test-attr
chattr: Function not implemented while setting flags on
/home/helmut/test-attr
cel600:# getpcaps 1
Capabilities for `1': =ep cap_setpcap-e
cel600:/# cat /boot/config-2.6.8+vserver | grep 'FS_XATTR'
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_REISERFS_FS_XATTR is not set
CONFIG_DEVPTS_FS_XATTR=y
# CONFIG_CIFS_XATTR is not set
cel600:/# cat /etc/mtab
/dev/hda7 / ext3 rw,user_xattr,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda8 /save ext3 rw,errors=remount-ro 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /dev tmpfs rw,size=10M,mode=0755 0 0
/dev/drbd0 /var/lib/vservers ext3 rw 0 0
The same on an unpatched kernel (stock Debian too):
xp2400:/# uname -a
Linux xp2400 2.6.8-1-386 #1 Thu Nov 25 04:24:08 UTC 2004 i686 GNU/Linux
xp2400:/# lsattr /home/helmut/test-attr
----------------- /home/helmut/test-attr
xp2400:/# chattr +i /home/helmut/test-attr
xp2400:/# lsattr /home/helmut/test-attr
----i------------ /home/helmut/test-attr
xp2400:/# getpcaps 1
Capabilities for `1': =ep cap_setpcap-e
xp2400:/boot# cat /boot/config-2.6.8-1-386 | grep 'FS_XATTR'
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_REISERFS_FS_XATTR is not set
CONFIG_DEVPTS_FS_XATTR=y
# CONFIG_CIFS_XATTR is not set
Helmut Wollmersdorfer
--- End Message ---