[bug-notifications] [cupsd 0002185]: postinstall stop step may be incorrect

Mantis Bug Tracker noreply at opencsw.org
Sat Nov 21 20:23:03 CET 2009


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=2185 
====================================================================== 
Reported By:                ucbscf
Assigned To:                maciej
====================================================================== 
Project:                    cupsd
Issue ID:                   2185
Category:                   packaging
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2007-03-27 16:56 CEST
Last Modified:              2009-11-21 20:23 CET
====================================================================== 
Summary:                    postinstall stop step may be incorrect
Description: 
In discovering my previously reported bug, I spotted what I *think* may be
another bug. The test of $smf should actually be a test of $class. Also,
does cupsd need to be stopped inside of a jumpstart installation? It
actually should never get started there.

--- postinstall-        Mon Jan 22 08:55:45 2007
+++ postinstall Tue Mar 27 13:53:43 2007
@@ -13,11 +13,9 @@
 # install, rather than a jumpstart install or something.
 case \"$PKG_ROOT_DIR\" in
   \"\"|\"/\")
-    if [ \"$smf\" = \"yes\" ]; then
+    if [ \"$class\" = \"smfyes\" ]; then
       /usr/sbin/svcadm disable -s svc:application/print/cswcups:default
       /usr/sbin/svccfg delete svc:application/print/cswcups:default
-    else
-      test -x $BASEDIR/etc/init.d/cswcups &&
$BASEDIR/etc/init.d/cswcups stop
     fi
     ;;
 esac
====================================================================== 

---------------------------------------------------------------------- 
 (0007016) maciej (manager) - 2009-11-21 20:23
 http://www.opencsw.org/mantis/view.php?id=2185#c7016 
---------------------------------------------------------------------- 
I'm positive this problem is now gone.  The mentioned code is no longer in
the package.  If there's a problem with the SMF scripts and jumpstart,
another bug should be filed agains cswclassutils.




More information about the bug-notifications mailing list