[Fedora-directory-devel] Please review: Bug 232684: need initscripts for Solaris

Richard Megginson rmeggins at redhat.com
Fri Mar 16 17:05:12 UTC 2007


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=232684
Resolves: bug 232684
Bug Description: need initscripts for Solaris
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: I was able to just use the existing init script for 
linux for the most part.  However, Solaris has to use plain old Bourne 
shell for init scripts, so I had to remove several bash-isms.  I also 
added functions for success and failure (Solaris has no library of shell 
script functions for use in init scripts), and Solaris uses pgrep 
instead pidof.  On Solaris, /var/run is a tmpfs (i.e. in memory) file 
system which is removed upon reboot.  So we have to create the 
/var/run/fedora-ds directory and change the mode if it doesn't exist.
Platforms tested: Solaris 9
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=150248&action=diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20070316/3c0da55f/attachment.bin 


More information about the 389-devel mailing list