Opened 12 years ago

Last modified 11 years ago

#675 new defect

IZ3036: init scripts need hardening

Reported by: olesen Owned by:
Priority: normal Milestone:
Component: sge Version: current
Severity: minor Keywords: patch install


[Imported from gridengine issuezilla]

        Issue #:      3036             Platform:     All       Reporter: olesen (olesen)
       Component:     gridengine          OS:        All
     Subcomponent:    install          Version:      current      CC:    None defined
        Status:       NEW              Priority:     P2
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    dom (dom)
      QA Contact:     dom
       * Summary:     init scripts need hardening
   Status whiteboard:
                      Date/filename:                             Description:                    Submitted by:
                      Tue May 19 07:40:00 -0700 2009: gridengine sample init-script (text/plain) olesen

     Issue 3036 blocks:
   Votes for issue 3036:

   Opened: Tue May 19 07:39:00 -0700 2009 

Newer versions of OpenSUSE mount remote filesystems based on the network interface.
Thus the init-script(s) need the following:

# Required-Start: $network $remote_fs
# Should-Start:   network-remotefs

Should provide LSB-compliant return codes for program not installed (exit 5), program not configured (exit 6).
The availably of NFS mounts probable still needs to be checked.

Stopping the execd via the init-script cannot rely on qmaster being available at that time.
As a backup, the configuration files can be used directly to obtain similar information.

Recombining the init-script for master/exec would greatly ease allround maintenance.
This was already the case several years ago, but it got dropped rather than sorting out the logic.
I believe to have sorted out the logic.

   ------- Additional comments from olesen Tue May 19 07:40:00 -0700 2009 -------
Created an attachment (id=190)
sample init-script

   ------- Additional comments from olesen Tue May 19 07:42:01 -0700 2009 -------
related (but not identical) to issue 2363

Attachments (1)

190 (21.8 KB) - added by dlove 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by dlove

comment:1 Changed 11 years ago by dlove

  • Priority changed from high to normal
  • Severity set to minor

[The LSB for init is at]

1) is now fixed.
4) doesn't look as if it would allow separate services, which is important,
at least for shared installations.

We also need at least restart as an action.
Check the Fedora and Debian versions.

comment:2 Changed 11 years ago by dlove

  • Keywords patch added; removed
Note: See TracTickets for help on using tickets.