Opened 12 years ago
Last modified 10 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 |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3036]
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 URL: * Summary: init scripts need hardening Status whiteboard: Attachments: 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 ------------------------ 1) 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 2) 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. 3) 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. 4) 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)
Change History (3)
Changed 10 years ago by dlove
comment:1 Changed 10 years ago by dlove
- Priority changed from high to normal
- Severity set to minor
comment:2 Changed 10 years ago by dlove
- Keywords patch added; removed
Note: See
TracTickets for help on using
tickets.
[The LSB for init is at http://refspecs.freestandards.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/sysinit.html]
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.