Hello

On Fri, Jun 17, 2005 at 08:49:06PM +0200, Helmut Wollmersdorfer wrote:
> 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

Ok.

> 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):

If it is the same problem on an unpatched kernel this is hardly
the vserver patch fault... Or.

> 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

But I do not see that it is the same, is it?

> 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
> 
> 
> 
> 

I have not seen such a problem myself, but on the other hand
I have not run vserver with 2.6 kernel either.

Regards,

// Ola

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to