OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002184 [cupsd] packaging minor always 2007-03-27 16:50 2009-11-21 20:22
Reporter ucbscf View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0002184: postinstall script has incorrect jumpstart test
Description The test

test -f $BASEDIR/usr/sbin/svccfg -a -f $BASEDIR/usr/sbin/svcadm && class=smfyes

will always succeed, even in jumpstart, due to the use of BASEDIR. The script will then try to register CUPS with SMF and fail:

Registering CUPS with SMF...
svccfg: Repository is read-only.
svccfg: Import of /a/opt/csw/var/svc/manifest/application/print/cups.xml failed.

I believe the test should be:

test -f /usr/sbin/svccfg -a -f /usr/sbin/svcadm && class=smfyes

since /usr/sbin/svccfg and /usr/sbin/svcadm do not exist in jumpstart.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006976)
maciej (reporter)
2009-11-12 20:26

This bug might be not relevant any more because the SMF support is now handled by cswclassutils. Can you please check if it's still a problem?
(0007015)
maciej (reporter)
2009-11-21 20:22

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