Project

General

Profile

Bug #13838 » repro.sh

Script which causes startd to crash - Sean Klein, 2021-05-27 12:39 PM

 
1
#/bin/bash
2

    
3
set -eu
4

    
5
SERVICE="svc:/system/illumos/test-service"
6
INSTANCE="instance-test"
7

    
8
set -x
9

    
10
while :
11
do
12
  svccfg import manifest.xml
13
  svccfg -s "$SERVICE" add "$INSTANCE"
14
  svcadm enable -st "$SERVICE:$INSTANCE"
15
  svccfg delete -f "$SERVICE:$INSTANCE"
16
done
(2-2/3)