[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-patch] patch-2.7

From: Russ Whitaker
Subject: Re: [bug-patch] patch-2.7
Date: Sat, 12 Apr 2014 23:02:49 -0700 (PDT)
User-agent: Alpine 2.11 (LNX 23 2013-08-11)

On Fri, 11 Apr 2014, Russ Whitaker wrote:

On Fri, 11 Apr 2014, Andreas Grünbacher wrote:


patch tries to preserve the security.selinux attribute, but the kernel
doesn't let it do that:

 lgetxattr("f", "security.selinux", "unlabeled", 10) = 10
 lsetxattr("./f.o7cZfkQ", "security.selinux", "unlabeled", 10, 0) =
-1 EOPNOTSUPP (Operation not supported)

One way to work around the problem is to add a line with
"security.selinux skip" to
/etc/xattr.conf, but the real question is where the "unlabeled" label
is coming from,
and why it can't be set.

So far, have only narrowed down the bug a little:
 1. It is not a "patch" bug.
 2. It is not something omitted building the custom kernel (3.10.35)

Upgraded attr from 2.4.46 to 2.4.47 - no help
tried running as root - no help

After further investigation, here's a Summary:
  Slackware 14.1, x86_64, kennel 3.10.35

Here is what I've found
  patch 2.7 fails, "Operation not supported"
  patch 2.5.4 works

The difference is 2.7 is using "setfattr" and 2.5.4 is using "chmod".
Using "setfattr" on the command line gives me a "Operation not supported"

For now I'll use the older "patch"

Thanks for your help,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]