OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002185 [cupsd] packaging tweak have not tried 2007-03-27 16:56 2009-11-21 20:23
Reporter ucbscf View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0002185: 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
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006977)
maciej (reporter)
2009-11-12 20:27

Please check if it still applies. I think it doesn't, because the mentioned script is no longer part of the OpenCSW cups distribution.
(0007016)
maciej (reporter)
2009-11-21 20:23

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.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker