Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 232684 - need initscripts for Solaris
need initscripts for Solaris
Product: 389
Classification: Retired
Component: Directory Server (Show other bugs)
sparc Other
medium Severity medium
: ---
: ---
Assigned To: Rich Megginson
Viktor Ashirov
Depends On:
Blocks: 152373 240316 FDS1.1.0
  Show dependency treegraph
Reported: 2007-03-16 12:50 EDT by Rich Megginson
Modified: 2015-12-07 11:51 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-07 11:51:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
diffs (10.05 KB, patch)
2007-03-16 12:52 EDT, Rich Megginson
no flags Details | Diff

  None (edit)
Description Rich Megginson 2007-03-16 12:50:59 EDT
We need the init.d and rcX.d initscripts for Solaris.
Comment 1 Rich Megginson 2007-03-16 12:52:41 EDT
Created attachment 150248 [details]
Comment 2 Rich Megginson 2007-03-16 16:31:32 EDT
Resolves: bug 232684
Description: need initscripts for Solaris
Reviewed by: nhosoi (Thanks!)
Fix Description: I was able to mostly use the linux initscript.  The biggest
issue was that Solaris does not support bash for init scripts, so I had to
convert all of the bash-isms to just use plain old Bourne shell syntax.  I
removed the grep for the pids and just used kill -0, so I don't need the pids
list or pidof anymore.  Solaris mounts /var/run in tmpfs (i.e. memory disk)
which is removed upon reboot, so we have to create and set permission on
/var/run if it doesn't exist.  Solaris also doesn't provide a library of useful
shell functions, so I had to define success() and failure() if they don't exist.
Platforms tested: Solaris 9
Flag day: no
Doc: Yes - we will need to document the init scripts.

Checking in initscript.in;
/cvs/dirsec/ldapserver/wrappers/initscript.in,v  <--  initscript.in
new revision: 1.4; previous revision: 1.3

Note You need to log in before you can comment on or make changes to this bug.