bugfindutils - Bugs: bug #30608, Automagic dependency on selinux

 
 

bug #30608: Automagic dependency on selinux

Submitted by:  None
Submitted on:  Fri 30 Jul 2010 08:27:26 PM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: Compilation FailureStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Johan HattneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.5.8
Fixed Release: 4.5.10

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 11 May 2011 08:36:54 AM UTC, comment #3:

The fix will be included in findutils-4.5.10.

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 06 Sep 2010 07:34:45 PM UTC, comment #2:

This has been fixed by gnulib upstream in commit

83e52ee5a420f8b552745a72e5869001b0f6da60

Thanks a lot for your help!

Anonymous
Sun 15 Aug 2010 12:23:52 PM UTC, comment #1:

Sorry about my delay in response. Let me check I understood you:

- you want to be able to forcibly prevent linking against the shared libraries for selinux in order to be able to build on system A (which has selinux) and run it on system B (which does not)?

If so, I sympathise. However, many GNU tools are developed under the assumption that the system takes responsibility for a certain amount of backward compatibility. That is, that it will in general be possible to build on an old system and run on a new system. There's generally no assumption about the reverse hodling.

However, "old" vs. "new" and "with-selinux" vs. "without-selinux" is I suppose orthogonal.

As you indicated though, the right place to make any change of this type is gnulib. Could you raise this issue on -unavailable- please?

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 30 Jul 2010 08:27:26 PM UTC, original submission:

The build system for findutils (or rather, gnulib, I suspect) automagically detects and links against libselinux. This causes trouble if findutils are compiled on a host where selinux is present, but run on a system without.

See also https://bugs.gentoo.org/show_bug.cgi?id=330139.

The attached patch is only meant to illustrate the sort of solution I had in mind, namely some sort --enable/disable-selinux option to the configure script.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #21109:  findutils-4.5.8-selinux.patch added by None (1KiB - application/octet-stream - Initial attempt at introducing --enable-selinux/--disable-selinux options to configure. )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 May 2011 09:40:51 AM UTCjayAssigned toNone=>jay
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.10
    Wed 11 May 2011 08:36:54 AM UTCjayStatusNeed Info=>Fixed
    Sun 15 Aug 2010 12:23:52 PM UTCjayStatusNone=>Need Info
    Fri 30 Jul 2010 08:27:26 PM UTCNoneAttached File-=>Added findutils-4.5.8-selinux.patch, #21109

    Back to the top


    Powered by Savane 3.1-cleanup1