Project

General

Profile

Bug #3238

zonecfg cores on invalid syntax

Added by Bryan Horstmann-Allen over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-09-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

[20120928-22:24:47]::[root@rookery]:[~]# zonecfg -z test1 create -b 'set zonepath=/zones/1 ; set brand=kvm'
syntax error at 'zonepath'
Commands:

add <resource-type>
(global scope)
add <property-name> <property-value>
(resource scope)
cancel
clear <property-name>
commit
create [-F] [ -a <path> | -b | -t <template> ]
delete [-F]
end
exit [-F]
export [-f output-file]
help [commands] [syntax] [usage] [<command-name>]
info [<resource-type> [property-name=property-value]*]
remove [-F] <resource-type> [ <property-name>=<property-value> ]*
(global scope)
remove <property-name> <property-value>
(resource scope)
revert [-F]
select <resource-type> { <property-name>=<property-value> }
set <property-name>=<property-value>
verify
test1: No such zone configured
Assertion failed: num_unclaimed_tokens == 0, file zonecfg_lex.l, line 400
Abort (core dumped)

[20120928-22:27:28]::[root@rookery]:[~]# pstack core
core 'core' of 24365: zonecfg -z test1 create -b set zonepath=/zones/1 ; set brand=kvm
feef45d5 _lwp_kill (1, 6, 80477a8, fef62000, fef62000, 8047820) + 15
fee9081f raise (6, 0, 80477c0, feeb89f7, 0, 0) + 2b
fee6b913 abort (8047820, 8047820, 4a, 80694be, 80694b0, 190) + fb
fee6bc7e _assert_c99 (80694be, 80694b0, 190, 8064921)
0806399f assert_no_unclaimed_tokens (fef62864, 0, 8047a2c, 0, 0, 809eb40) + 26
08064933 yyparse (8063195, 0, 80479b0, 3, 8047b8c, 8047bf4) + 4bf
08062d26 one_command_at_a_time (3, 8047b98, 8055c69, 80630f9, fee5e3b4, 807d010) + e2
080631db main (6, 8047b8c, 8047ba8, 80664f0, 0, 0) + 468
08055a7b _start (6, 8047c5c, 8047c64, 8047c67, 8047c6d, 8047c74) + 83

History

#1

Updated by Alexander Eremin over 7 years ago

Duplicates #2069

Also available in: Atom PDF