No diagnostics on incorrect network xml file

Bug #581369 reported by Dave Gilbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

If you screw up the xml file /var/lib/libvirt/network/default.xml and then restart it doesn't tell you what you did wrong
or indeed there was any mistake - it just rewrites it with its best parse.

I'm ok with it rewriting it but it should give some diagnostics to let you know what's going on!
I don't see anything logged anywhere, and there is no /var/log/libvirt entry for libvirt itself.

(I can see an argument that says if it hit things that were unexpected it shouldn't start and rewrite the file, it should tell
you and get you to fix it - but that's not my primary issue).

It might not be a bad idea if it pointed you at:
/usr/share/libvirt/schemas/network.rng

Dave

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu27
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
CheckboxSubmission: f2d10bd9f943a85b486a282e7840a570
CheckboxSystem: 0531969bcfd4f03af7405c98dc94a948
Date: Sun May 16 17:01:04 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: libvirt

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :
Chuck Short (zulcss)
Changed in libvirt (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Debugging that would be best done by setting the log_level in /etc/libvirt/libvirtd.conf. If there are specific suggestions for improving the log messages that produces, please do raise them upstream.

Changed in libvirt (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.