Bug 1238802 - fakeroot doesn’t show SELinux labels
Summary: fakeroot doesn’t show SELinux labels
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fakeroot
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-02 16:12 UTC by Miloslav Trmač
Modified: 2021-05-12 23:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-30 17:39:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 799858 0 None None None Never

Description Miloslav Trmač 2015-07-02 16:12:51 UTC
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.

Version-Release number of selected component (if applicable):
fakeroot-1.20.2-1.fc22.x86_64

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"

Comment 1 Dominik 'Rathann' Mierzejewski 2015-09-23 21:29:11 UTC
Filed upstream: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799858

Comment 2 Dominik 'Rathann' Mierzejewski 2015-11-30 12:54:07 UTC
Bumping to rawhide, no updates from upstream yet. Looking at packaging pseudo[1] in the meantime.

[1] https://www.yoctoproject.org/tools-resources/projects/pseudo

Comment 3 Jan Kurik 2016-02-24 13:25:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 4 Dominik 'Rathann' Mierzejewski 2017-07-04 16:07:26 UTC
This is beyond my skill to fix and upstream hasn't even responded to the bug report. Patch welcome.

Comment 5 Jan Kurik 2017-08-15 07:04:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 6 Ben Cotton 2018-11-27 18:37:48 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2018-11-30 17:39:44 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 8 Fedora Admin user for bugzilla script actions 2021-01-20 00:05:39 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Fedora Admin user for bugzilla script actions 2021-01-24 12:07:00 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.