9966 svccfg cleanup crashes on empty manifestfiles property group

Review Request #1274 - Created Nov. 8, 2018 and submitted

Information
Andy Fiddaman
illumos-gate
master
9966
d55a587...
Reviewers
general
9966 svccfg cleanup crashes on empty manifestfiles property group

before:

bloody# svccfg cleanup
bloody# svccfg -s filesystem/local delpg manifestfiles
bloody# svccfg -s filesystem/local addpg manifestfiles framework
bloody# svccfg cleanup
Delete service svc:/system/filesystem/local as there are no supporting manifests
zsh: IOT instruction (core dumped)  svccfg cleanup

after:

bloody:illumos:master% pfexec svccfg import /lib/svc/manifest/system/filesystem/local-fs.xml
bloody:illumos:master% svcadm refresh filesystem/local
bloody:illumos:master% svccfg cleanup
bloody:illumos:master%
bloody:illumos:master% svccfg -s filesystem/local delpg manifestfiles
bloody:illumos:master% svccfg -s filesystem/local addpg manifestfiles framework
bloody:illumos:master% ./svccfg cleanup
Delete service svc:/system/filesystem/local as there are no supporting manifests
bloody:illumos:master%
Andrew Stormont
Gergő Mihály Doma
Toomas Soome
Andy Fiddaman
Review request changed

Status: Closed (submitted)

Loading...