Title Files created by grml are equipped with SMACK attributes
Priority critical Status resolved
Superseder Nosy List aroedl, mika
Assigned To mika Topics

Created on 2008-11-26.14:24:29 by aroedl, last changed 2008-11-27.10:02:23 by mika.

msg1669 (view) Author: mika Date: 2008-11-27.10:02:16
Fixed with rebuild of kernel disabling SMACK feature (see
p=grml-kernel.git;a=commit;h=5d408799bbd3f7b7b4da7ea6dbc162be35f7e79e). Thanks 
for your bugreport, this issue should be fixed for the rc2/stable release.
msg1664 (view) Author: aroedl Date: 2008-11-26.14:24:29
How to reproduce:
- Create file on a mounted (harddisk) file system (tested on XFS):
  touch test

- Check extended attributes:
  attr -l test

As soon as you try to copy that file on a system without the SMACK patch, cp
crashes with a segmentation fault.

lsetxattr("../test", "security.SMACK64", "_", 2, 0) = -1 EPERM (Operation not
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

Removing that SMACK attribute fixes the problem.
Date User Action Args
2008-11-27 10:02:23mikasetstatus: chatting -> resolved
2008-11-27 10:02:16mikasetstatus: unread -> chatting
assignedto: mika
messages: + msg1669
nosy: + mika
2008-11-26 14:24:29aroedlcreate