Mantis - cswclassutils
Viewing Issue Advanced Details
3632 regular use minor always 2009-04-12 14:21 2009-04-21 14:26
yann  
bonivart  
normal  
closed  
fixed  
none    
none  
0003632: Service should be disabled synchronously

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.

Issue History
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
2009-04-21 14:25 bonivart Note Added: 0005989
2009-04-21 14:26 bonivart Status assigned => closed
2009-04-21 14:26 bonivart Resolution open => fixed

Notes
(0005957)
yann   
2009-04-12 14:22   
/usr/sbin/svcadm disable svc:/$i
  sleep 1

should be replaced with:

  /usr/sbin/svcadm disable -s svc:/$i
(0005989)
bonivart   
2009-04-21 14:25   
Will be in 1.6. Thanks.