Public bug reported:

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

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
No diagnostics on incorrect network xml file
https://bugs.launchpad.net/bugs/581369
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to