Opened 9 years ago

Closed 8 years ago

#804 closed patch (fixed)

IZ3267: Bugfix for pathname expansion in jsv_get_param

Reported by: enok Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u5
Severity: minor Keywords: execution
Cc:

Description

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

        Issue #:      3267             Platform:     All     Reporter: enok (enok)
       Component:     gridengine          OS:        All
     Subcomponent:    execution        Version:      6.2u5      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    PATCH
                                   Target milestone: ---
      Assigned to:    pollinger (pollinger)
      QA Contact:     pollinger
          URL:
       * Summary:     Bugfix for pathname expansion in jsv_get_param
   Status whiteboard:
      Attachments:
                      Date/filename:                            Description:                                             Submitted by:
                      Mon May 10 13:14:00 -0700 2010: jsv.patch Patch for jsv_include.sh that fixes the bug (text/plain) enok

     Issue 3267 blocks:
   Votes for issue 3267:


   Opened: Mon May 10 13:13:00 -0700 2010 
------------------------


In Gridengine 6.2u5, if a parameter for a job contains wildcards and matches a filename in the current directory, then the return of
"jsv_get_param" in a bash jsv script will be the matching filename(s), not the actual pattern.

For instance if I have a file named "infi2" in my current directory and run "qrsh -pe infi\* 2 command" then the jsv script "jsv_get_param
pe_name" will return "infi2", not "infi*".

The solution is adding some more quotes in ${SGE_ROOT}/util/re​sources/jsv/jsv_incl​ude.sh

   ------- Additional comments from enok Mon May 10 13:14:30 -0700 2010 -------
Created an attachment (id=204)
Patch for jsv_include.sh that fixes the bug

Change History (1)

comment:1 Changed 8 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed

Fixed by [3539].

Note: See TracTickets for help on using tickets.