Debian Bug report logs - #799858
fakeroot doesn’t show SELinux labels

version graph

Package: fakeroot; Maintainer for fakeroot is Clint Adams <clint@debian.org>; Source for fakeroot is src:fakeroot (PTS, buildd, popcon).

Reported by: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>

Date: Wed, 23 Sep 2015 11:09:02 UTC

Severity: normal

Found in version 1.20.2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#799858; Package fakeroot. (Wed, 23 Sep 2015 11:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Dominik 'Rathann' Mierzejewski <dominik@greysector.net>:
New Bug report received and forwarded. Copy sent to Clint Adams <clint@debian.org>. (Wed, 23 Sep 2015 11:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: submit@bugs.debian.org
Subject: fakeroot doesn’t show SELinux labels
Date: Wed, 23 Sep 2015 13:05:25 +0200
Package: fakeroot
Version: 1.20.2

Originally reported in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1238802 .

Description of problem:
The update of fakeroot has added extended attribute support, but AFAICS
it is purely simulated in memory, not even initialized with the
system-wide state.

In particular, *getxattr(…, "security.selinux", …) fails with ENODATA

This breaks testing of code which attempts to preserve SELinux context
when copying files.

Steps to Reproduce:
1. getfattr -m - -d .
2. fakeroot getfattr -m - -d .

Actual results:
> # file: .
> security.selinux="unconfined_u:object_r:user_home_t:s0"
and
(empty output)

Expected results:
> # file: .
> security.selinux="unconfined_u:object_r:user_home_t:s0"
and
> # file: .
> security.selinux="unconfined_u:object_r:user_home_t:s0"




Information forwarded to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#799858; Package fakeroot. (Mon, 30 Nov 2015 12:24:12 GMT) (full text, mbox, link).


Acknowledgement sent to Dominik 'Rathann' Mierzejewski <dominik@greysector.net>:
Extra info received and forwarded to list. Copy sent to Clint Adams <clint@debian.org>. (Mon, 30 Nov 2015 12:24:12 GMT) (full text, mbox, link).


Message #10 received at 799858@bugs.debian.org (full text, mbox, reply):

From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: 799858@bugs.debian.org
Subject: Re: Bug#799858: Acknowledgement (fakeroot doesn’t show SELinux labels)
Date: Mon, 30 Nov 2015 13:15:01 +0100
Hello,
has there been any progress in resolving this bug?




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 2 22:14:07 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.