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

 
 

bug #30608: Automagic dependency on selinux

Submitter:  None
Submitted:  Fri 30 Jul 2010 08:27:26 PM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Johan Hattne Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.5.8
Fixed Release:  4.5.10
* Mandatory Fields

Add a New Comment Rich Markup
   

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

The fix will be included in findutils-4.5.10.

James Youngman <jay>
Group administrator
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 -email is unavailable- please?

James Youngman <jay>
Group administrator
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 Files:
   
   
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
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-11 jay Assigned toNone jay
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.5.10
    2011-05-11 jay StatusNeed Info Fixed
    2010-08-15 jay StatusNone Need Info
    2010-07-30 None Attached File- Added findutils-4.5.8-selinux.patch, #21109

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code