Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144509 - coreutils-6.7 needs updated selinux patch
Summary: coreutils-6.7 needs updated selinux patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 164532
  Show dependency tree
 
Reported: 2006-08-20 03:53 UTC by SpanKY
Modified: 2007-03-30 06:05 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-08-20 03:53:06 UTC
new version of coreutils out and again selinux patch doesnt apply ;)

also, can you fix configure.ac so it has a proper AC_ARG_ENABLE() ?  maybe:

LIB_SELINUX=""
AC_ARG_ENABLE([selinux],
  [AC_HELP_STRING([--enable-selinux],[Enable use of the SELINUX libraries])],
  [
    if test "x$enableval" != "xno" ; then
      AC_DEFINE(WITH_SELINUX, 1, [Define if you want to use SELINUX])
      LIB_SELINUX="-lselinux"
    fi
  ])
AC_SUBST(LIB_SELINUX)
Comment 1 SpanKY gentoo-dev 2006-08-20 05:27:35 UTC
ive put 6.1 into the tree with KEYWORDS=-* so you can hack on it ...
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2006-08-20 10:22:14 UTC
hopefully this will be the last time we need to update this, since the SELinux support is going upstream finally.
Comment 3 SpanKY gentoo-dev 2006-09-03 01:50:09 UTC
ive put this into ~arch and masked in selinux profiles
Comment 4 Chris PeBenito (RETIRED) gentoo-dev 2006-09-18 11:30:32 UTC
Most of the patch applies, but some parts are giving me some trouble; haven't had much time to figure out their changes :(

switching bug over to 6.2.  I was hoping this ver would have the changes upstreamed, but it doesn't.  Bah.
Comment 5 Alex 2006-10-28 11:19:18 UTC
Is there a working patch out there or do I have to adjust the patch myself?
Comment 6 a1200ux 2007-01-03 08:37:17 UTC
There is a working SELinux patch against coreutils-6.7, provided by "PLD Linux", which could be found here:

http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/coreutils-selinux.patch?rev=1.10

Patch applies fine with only two small rejects, which could be easily fixed :)

---

The only "problem" in my eyes are the man-pages, the selinux-patch updates various ones (cp,dir,ls,mkdir,...) and enhances them for SELinux usage, but they get never installed (look into the ebuild), the reason is sys-apps/man-pages
My suggestion is to enhance sys-apps/man-pages by a selinux USE-flag or let coreutils install the (patched) man-pages and not sys-apps/man-pages

Thanks.


btw: i have ebuilds and patches laying around, if anyone is interested ...
Comment 7 SpanKY gentoo-dev 2007-02-12 16:08:47 UTC
they've started integrating selinux upstream, so i imagine coreutils-7.0 should have it if not earlier ...
Comment 8 Chris PeBenito (RETIRED) gentoo-dev 2007-03-29 03:05:13 UTC
gave up waiting for the the support to be upstreamed (it is still on track to however).  rebased selinux patch to 6.9.
Comment 9 SpanKY gentoo-dev 2007-03-30 06:05:25 UTC
they've announced upstream that selinux should be part of coreutils-6.10