[bug-notifications] [cswclassutils 0003632]: Service should be disabled synchronously

Mantis Bug Tracker noreply at opencsw.org
Sun Apr 12 14:22:50 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3632 
====================================================================== 
Reported By:                yann
Assigned To:                
====================================================================== 
Project:                    cswclassutils
Issue ID:                   3632
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-04-12 14:21 CEST
Last Modified:              2009-04-12 14:22 CEST
====================================================================== 
Summary:                    Service should be disabled synchronously
Description: 

The -s option should be used when the service is disabled at removal time
to make sure it can be unregistered properly.

Currently, the script sleeps one second but the "-s" option should be
cleaner and avoid any potential problem.


====================================================================== 

---------------------------------------------------------------------- 
 (0005957) yann (reporter) - 2009-04-12 14:22
 http://www.opencsw.org/mantis/view.php?id=3632#c5957 
---------------------------------------------------------------------- 
/usr/sbin/svcadm disable svc:/$i
  sleep 1

should be replaced with:

  /usr/sbin/svcadm disable -s svc:/$i 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-12 14:21 yann           New Issue                                    
2009-04-12 14:22 yann           Note Added: 0005957                          
======================================================================




More information about the bug-notifications mailing list