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

Mantis Bug Tracker noreply at opencsw.org
Tue Apr 21 14:25:23 CEST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3632 
====================================================================== 
Reported By:                yann
Assigned To:                bonivart
====================================================================== 
Project:                    cswclassutils
Issue ID:                   3632
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-04-12 14:21 CEST
Last Modified:              2009-04-21 14:25 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                          
2009-04-21 14:25 bonivart       Status                   new => assigned     
2009-04-21 14:25 bonivart       Assigned To               => bonivart        
======================================================================




More information about the bug-notifications mailing list