Skip to content

fs: fix fakeroot issue with SElinux contexts

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 0 repliesNew

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2package/pseudo: new package+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] fs: fix fakeroot issue with SElinux contexts

Hello,

Quoted 6 lines · Yann E. MORIN

This series is an attempt at fixing fakeroot, which has issues with SElinux contexts (in extended attributes), as reported as one of our bug report, but also reported in Fedora Core and Debian:

    https://bugzilla.redhat.com/show_bug.cgi?id=1238802
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799858
Quoted 7 lines

Since there has been absolutely no activity on the upstream (== Debian) report since it was filled more than a year ago, follow the path suggested in the FC report, and switch to using pseudo as a replacement for fakeroot.

This can probably go in right now. If there are issues, we can still revert this before the end of the stabilisation month.

There are lots of other references to fakeroot all over the place, both in fs/common.mk, but also the relatively new option we have to call a script within the fakeroot context.

Do we keep them as-is, or do we rename everything to "pseudo" ? I find the name "pseudo" very confusing, while "fakeroot" is a lot clearer, so perhaps it is OK to keep everything named fakeroot even though in practice we're using pseudo.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com