Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#491 closed enhancement (fixed)

IZ2506: Change default method to determine Linux libC version

Reported by: brunner Owned by: dlove
Priority: normal Milestone:
Component: sge Version: 6.1u3
Severity: minor Keywords: install
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2506]

        Issue #:      2506             Platform:     Other         Reporter: brunner (brunner)
       Component:     gridengine          OS:        All
     Subcomponent:    install          Version:      6.1u3            CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    dom (dom)
      QA Contact:     dom
          URL:
       * Summary:     Change default method to determine Linux libC version
   Status whiteboard:
      Attachments:

     Issue 2506 blocks:
   Votes for issue 2506:


   Opened: Mon Feb 25 16:48:00 -0700 2008 
------------------------


When installing Grid Engine 6.1u3 on a fairly minimal Fedora 8
installation I noticed the "strings" dependency that the
$SGE_ROOT/util/arch script has for linux boxes. Installing the binutils
rpm got me past the installation issue but during my investigation into
the $SGE_ROOT/util/arch script I saw the following:

<snip>
       # verify the GNU C lib version
       # For an alternative means to determine GNU C lib version see
       # http://www.gnu.org/software/libc/FAQ.html#s-4.9
       case $lxmachine in
       amd64)
          libc_string=`strings /lib64/libc.so.6 | grep "GNU C Library"`
<snip>

The alternative method, which is a simple replace of the strings call with a
direct execution of libc thus elminating the strings dependency, should be the
default method.

Here is an example showing the identical ouput from the 2 commands:

[cbrunner@cbrunner-f8 ~]$ strings /lib/libc.so.6 | grep "GNU C Library"
GNU C Library stable release version 2.7, by Roland McGrath et al.
[cbrunner@cbrunner-f8 ~]$ /lib/libc.so.6 | grep "GNU C Library"
GNU C Library stable release version 2.7, by Roland McGrath et al.

This bug was discussed on the users@gridengine.sunsource.net list here:

http://gridengine.sunsource.net/servlets/BrowseList?list=users&by=thread&from=28420

and

http://gridengine.sunsource.net/servlets/BrowseList?list=users&by=thread&from=28424

Note:  The strings utility is also used in:
$SGE_ROOT/util/install_modules/inst_qmaster.sh
if CSP is enabled.

Change History (3)

comment:1 Changed 9 years ago by dlove

  • Owner set to dlove
  • Severity set to minor
  • Status changed from new to accepted

Partially fixed by [3580].

comment:2 Changed 9 years ago by dlove

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed by [3598]

comment:3 Changed 9 years ago by Dave Love <d.love@…>

In [3598/sge]:

Fix #491 (IZ2506): strings(1) may be missing.

Note: See TracTickets for help on using tickets.