Project

General

Profile

Actions

Bug #2249

open

libbrand suppresses libxml2 errors

Added by Andrew Stormont almost 12 years ago. Updated about 10 years ago.

Status:
Pending RTI
Priority:
Normal
Category:
zones
Start date:
2012-03-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

open_brand fails with a rather generic looking error message if the config.xml file for your brand does not pass validation by xmlValidateDocument:

andy@openindiana:~/Projects/illumos-gate$ zonecfg -z glibc
glibc: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:glibc> create
zonecfg:glibc> set brand=glibc
zonecfg:glibc> set zonepath=/opt/glibc-zone
zonecfg:glibc> verify
glibc: unknown brand.

glibc: Invalid document
zonecfg:glibc> exit

Files

libbrand-xml-errors.patch (1023 Bytes) libbrand-xml-errors.patch Andrew Stormont, 2012-03-06 06:20 PM
Actions #1

Updated by Rich Lowe almost 12 years ago

  • Category set to zones
  • Tags deleted (needs-triage)
Actions #2

Updated by Andrew Stormont almost 12 years ago

The patch makes libbrand print out xml parsing errors.

Actions #3

Updated by Andrew Stormont over 11 years ago

  • Status changed from New to In Progress
  • Assignee set to Andrew Stormont
Actions #4

Updated by Andrew Stormont over 11 years ago

  • Status changed from In Progress to Pending RTI
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF