[Bug 576401] [NEW] Ownership of device node should not be changed when using --raw
Public bug reported: If vmbuilder is called with a --raw partition, it will change the ownership of the device to the calling user. While this might be proper for images, it doesn't make sense for device nodes. Especially as they will be reset after a reboot. This is with Lucid version of vmbuilder. ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- Ownership of device node should not be changed when using --raw https://bugs.launchpad.net/bugs/576401 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 576376] [NEW] Allow specifying more than one nameserver
Public bug reported: Allow more than one --dns arguments, configuring more than one nameserver is respected best practive. ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- Allow specifying more than one nameserver https://bugs.launchpad.net/bugs/576376 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
It looks like each supported hypervisor uses it's own policy regarding startup script: * Xen => none * VMWare => none * VirtualBox => $DESTDIR/deploy_$hostname.sh * KVM => $DESTDIR/run.sh While the KVM one will get ownership set to the calling user, the VirtualBox one will not. -- AttributeError: 'Libvirt' object has no attribute 'vm' https://bugs.launchpad.net/bugs/562189 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
IMHO the run.sh script should not be generated at all if the VM is registered with libvirt. As in this case 'virsh start VM' is the way to go. -- AttributeError: 'Libvirt' object has no attribute 'vm' https://bugs.launchpad.net/bugs/562189 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 403149] Re: vmbuilder should allow for no swapfile
** Branch linked: lp:~huerlisi/vmbuilder/dev -- vmbuilder should allow for no swapfile https://bugs.launchpad.net/bugs/403149 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531599] Re: device mappings for partitions not removed after build using --raw, leading to filesystem corruption
After some investigation it looks like vmbuilder is nicely registering a callback hook to unmap the devices it sets up using kpartx. The problem is udev rules adding device mappings using kpartx as soon as the raw device gets partitioned. AFAIK the relevant udev rule is /lib/udev/rules.d/55-dm.rules. I don't exactly know how and who creates the mapping but it follows the scheme /dev/mapper/{DEVICE}p{X}. I first thought it would be /lib/udev/rules.d/95-kpartx.rules, but this would create /dev/mapper/{DEVICE}-part{X} mappings. The kpartx call in vmbuilder does use the scheme /dev/mapper/{DEVICE}{X} and thus doesn't clash with the set up mappings. But it also doesn't destroy it in the cleanup call back. -- device mappings for partitions not removed after build using --raw, leading to filesystem corruption https://bugs.launchpad.net/bugs/531599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531599] Re: tricky leftovers when using a too small --raw device
Doing this on a Lucid with vmbuilder 0.12.3.r435. After some testing I found out that this is not restricted to failed/interrupted vmbuilder runs. Additionally leaving behind those device mappings seem to interfere with the filesystem in the VM. If you use a LVM logical volume as --raw device, a partition table is created on the device and partitions are setup. For those partitions device mapper is configured. Example for --raw /dev/leo02/kvm-web01.test: brw-rw 1 shuerlimann shuerlimann 251, 8 2010-05-01 07:17 leo02-kvm--web01.test brw-rw 1 rootdisk251, 9 2010-04-22 16:44 leo02-kvm--web01.testp1 brw-rw 1 rootdisk251, 10 2010-04-22 16:44 leo02-kvm--web01.testp2 As far as I can tell, no such leftovers exist if qcow images are used... If you start a vm created using --raw and having those device mappings still configured, filesystem corruption in the vm happens. This is quite reliably reproducable. Here's a snipplet of the /var/log/kernel.log right after booting: Apr 30 12:47:11 web01 kernel: [0.357236] Freeing unused kernel memory: 796k freed Apr 30 12:47:11 web01 kernel: [0.357881] Write protecting the kernel read-only data: 7788k Apr 30 12:47:11 web01 kernel: [0.380691] udev: starting version 151 Apr 30 12:47:11 web01 kernel: [0.540618] FDC 0 is a S82078B Apr 30 12:47:11 web01 kernel: [0.586564] EXT4-fs (sda1): INFO: recovery required on readonly filesystem Apr 30 12:47:11 web01 kernel: [0.586573] EXT4-fs (sda1): write access will be enabled during recovery Apr 30 12:47:11 web01 kernel: [0.603151] EXT4-fs (sda1): recovery complete Apr 30 12:47:11 web01 kernel: [0.651570] EXT4-fs (sda1): mounted filesystem with ordered data mode Apr 30 12:47:11 web01 kernel: [1.476513] EXT4-fs error (device sda1): ext4_mb_generate_buddy: EXT4-fs: group 1: 1110 blocks in bitmap, 1688 in gd Apr 30 12:47:11 web01 kernel: [1.477954] JBD: Spotted dirty metadata buffer (dev = sda1, blocknr = 0). There's a risk of filesystem corruption in case of system crash. Apr 30 12:47:11 web01 kernel: [1.532262] udev: starting version 151 Apr 30 12:47:11 web01 kernel: [1.721612] vga16fb: initializing Apr 30 12:47:11 web01 kernel: [1.721620] vga16fb: mapped to 0x880a Apr 30 12:47:11 web01 kernel: [1.721680] fb0: VGA16 VGA frame buffer device Apr 30 12:47:11 web01 kernel: [1.904983] Adding 999416k swap on /dev/sda2. Priority:-1 extents:1 across:999416k Apr 30 12:47:11 web01 kernel: [2.241484] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3 Apr 30 12:47:11 web01 kernel: [3.210207] Console: switching to colour frame buffer device 80x30 Apr 30 12:47:11 web01 kernel: [4.219962] EXT4-fs error (device sda1): ext4_mb_generate_buddy: EXT4-fs: group 2: 415 blocks in bitmap, 478 in gd Apr 30 12:47:11 web01 kernel: [4.247451] EXT4-fs error (device sda1): ext4_mb_generate_buddy: EXT4-fs: group 3: 7494 blocks in bitmap, 19027 in gd Apr 30 12:47:23 web01 kernel: [ 13.720135] eth0: no IPv6 routers present Apr 30 12:47:58 web01 kernel: [ 49.482760] EXT4-fs error (device sda1): ext4_mb_generate_buddy: EXT4-fs: group 0: 22371 blocks in bitmap, 22590 in gd May 1 06:36:25 web01 kernel: [64132.678652] EXT4-fs error (device sda1): mb_free_blocks: double-free of inode 0's block 135993(bit 4921 in group 4) May 1 06:36:25 web01 kernel: [64132.694422] EXT4-fs error (device sda1): mb_free_blocks: double-free of inode 0's block 135994(bit 4922 in group 4) When doing filesystem intense work like installing lots of packages, more such errors happens. And after some time the kernel oopses and everything freezes. No filesystem corruption seems to happen if I manually remove the device mappings before starting the vm: sudo dmsetup remove leo02-kvm--web01.testp1 sudo dmsetup remove leo02-kvm--web01.testp2 ** Summary changed: - tricky leftovers when using a too small --raw device + device mappings for partition not removed after build using --raw, leading to filesystem corruption ** Summary changed: - device mappings for partition not removed after build using --raw, leading to filesystem corruption + device mappings for partitions not removed after build using --raw, leading to filesystem corruption -- device mappings for partitions not removed after build using --raw, leading to filesystem corruption https://bugs.launchpad.net/bugs/531599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
** Changed in: vm-builder (Ubuntu) Status: New => Confirmed -- AttributeError: 'Libvirt' object has no attribute 'vm' https://bugs.launchpad.net/bugs/562189 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 569530] Re: vmbuilder create ubuntu-kvm directory even when using --raw
** Changed in: vm-builder (Ubuntu) Status: Incomplete => Confirmed -- vmbuilder create ubuntu-kvm directory even when using --raw https://bugs.launchpad.net/bugs/569530 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 540446] Re: vmbuilder doesn't clean up temporary files when interrupted
Hi Soren Nice to hear that! -- vmbuilder doesn't clean up temporary files when interrupted https://bugs.launchpad.net/bugs/540446 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
AFAIK the check is not if an image directory exists, but if there's some virtual machine with this name is defined in libvirt. --dest doesn't help for this reason... @Marcus Bointon: please check if there is some .xml file in /etc/libvirt/qemu/ that looks like having no, or some kind of default (ubuntu-kvm or similar) name. This would support my theory... -- AttributeError: 'Libvirt' object has no attribute 'vm' https://bugs.launchpad.net/bugs/562189 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 569530] Re: vmbuilder create ubuntu-kvm directory even when using --raw
Yes, it is reproducible. Preconditions: * an LVM group named leo02 * PWD were you can write... The following steps should do it, assuming a LVM group leo02: sudo lvcreate /dev/leo02 --name kvm-test01 --size 5G sudo vmbuilder kvm ubuntu --addpkg=openssh-server --addpkg=unattended-upgrades, --addpkg=acpid --addpkg=puppet --domain=example.com --bridge=virbr0 --gw=10.0.0.1 --suite=lucid --libvirt=qemu:///system --ip=10.0.1.1 --hostname=test01 --raw=/dev/leo02/kvm-test01 # $PWD/ubuntu-kvm gets created, containing file run.sh sudo lvcreate /dev/leo02 --name kvm-test02 --size 5G sudo vmbuilder kvm ubuntu --addpkg=openssh-server --addpkg=unattended-upgrades, --addpkg=acpid --addpkg=puppet --domain=example.com --bridge=virbr0 --gw=10.0.0.1 --suite=lucid --libvirt=qemu:///system --ip=10.0.1.2 --hostname=test02 --raw=/dev/leo02/kvm-test02 # Raises the following error: 2010-04-29 15:17:27,354 ERROR : ubuntu-kvm already exists Traceback (most recent call last): File "/usr/bin/vmbuilder", line 24, in cli.main() File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 81, in main raise VMBuilderUserError('%s already exists' % destdir) VMBuilder.exception.VMBuilderUserError: ubuntu-kvm already exists This is with python-vm-builder 0.12.3-0ubuntu1 -- vmbuilder create ubuntu-kvm directory even when using --raw https://bugs.launchpad.net/bugs/569530 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 569530] Re: vmbuilder create ubuntu-kvm directory even when using --raw
This is especially tricky as it won't let you create two raw vms (without specifying --destdir) in a row from the same directory. This is the output for the second run: 2010-04-25 06:21:52,984 ERROR : ubuntu-kvm already exists Traceback (most recent call last): File "/usr/bin/vmbuilder", line 24, in cli.main() File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 81, in main raise VMBuilderUserError('%s already exists' % destdir) VMBuilder.exception.VMBuilderUserError: ubuntu-kvm already exists -- vmbuilder create ubuntu-kvm directory even when using --raw https://bugs.launchpad.net/bugs/569530 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 540446] Re: python-vm-builder_0.12.2-0ubuntu3 doesn't clean up temporary files when interrupted
These files/directories in /tmp can be quite big, and managed to fill up the filesystem on our server twice (one time me, one time my brother;-) ** Summary changed: - python-vm-builder_0.12.2-0ubuntu3 doesn't clean up temporary files when interrupted + vmbuilder doesn't clean up temporary files when interrupted -- vmbuilder doesn't clean up temporary files when interrupted https://bugs.launchpad.net/bugs/540446 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 540446] Re: vmbuilder doesn't clean up temporary files when interrupted
Confirmed with 0.12.3-0ubuntu1. -- vmbuilder doesn't clean up temporary files when interrupted https://bugs.launchpad.net/bugs/540446 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 569530] Re: vmbuilder create ubuntu-kvm directory even when using --raw
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/45172237/Dependencies.txt ** Attachment added: "RelatedPackageVersions.txt" http://launchpadlibrarian.net/45172238/RelatedPackageVersions.txt ** Description changed: When calling vmbuilder with --raw, it still creates a directory - in the current working directory. All it contains is a file 'run.sh'. Content is similar to this: #!/bin/sh exec kvm -m 2048 -smp 1 -drive file=kvm-web03.demo "$@" ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: python-vm-builder 0.12.3-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2 Uname: Linux 2.6.32-21-server x86_64 Architecture: amd64 Date: Sat Apr 24 13:48:24 2010 InstallationMedia: Ubuntu-Server 10.04 "Lucid Lynx" - Alpha amd64 (20100410) PackageArchitecture: all ProcEnviron: - LANG=en_US.UTF-8 - SHELL=/bin/bash + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: vm-builder -- vmbuilder create ubuntu-kvm directory even when using --raw https://bugs.launchpad.net/bugs/569530 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 569530] [NEW] vmbuilder create ubuntu-kvm directory even when using --raw
Public bug reported: When calling vmbuilder with --raw, it still creates a directory - in the current working directory. All it contains is a file 'run.sh'. Content is similar to this: #!/bin/sh exec kvm -m 2048 -smp 1 -drive file=kvm-web03.demo "$@" ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: python-vm-builder 0.12.3-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-21.32-server 2.6.32.11+drm33.2 Uname: Linux 2.6.32-21-server x86_64 Architecture: amd64 Date: Sat Apr 24 13:48:24 2010 InstallationMedia: Ubuntu-Server 10.04 "Lucid Lynx" - Alpha amd64 (20100410) PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: vm-builder ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug lucid -- vmbuilder create ubuntu-kvm directory even when using --raw https://bugs.launchpad.net/bugs/569530 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 503467] Re: vmbuilder default account not well-documented
Another possibility would be to use a random password (maybe using pwgen) and output it at the end of the installation. -- vmbuilder default account not well-documented https://bugs.launchpad.net/bugs/503467 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531599] Re: tricky leftovers when using a too small --raw device
** Changed in: vm-builder (Ubuntu) Status: Incomplete => Confirmed -- tricky leftovers when using a too small --raw device https://bugs.launchpad.net/bugs/531599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531599] Re: tricky leftovers when using a too small --raw device
I tried with the current version in Lucid (0.12.3.r435), error still present with similar output. -- tricky leftovers when using a too small --raw device https://bugs.launchpad.net/bugs/531599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 546536] Re: --help and --version should be available without specifying hypervisor and suite
Same goes for --version. Here it makes even less sense to require hypervisor and suite as it probably never depends on that information. ** Summary changed: - no help + --help and --version should be available without specifying hypervisor and suite -- --help and --version should be available without specifying hypervisor and suite https://bugs.launchpad.net/bugs/546536 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 512316] Re: --tmpfs flag doesn't do anything on vm-builder
*** This bug is a duplicate of bug 536940 *** https://bugs.launchpad.net/bugs/536940 While not exactly the same bug, #536940 is a kind of follow up... Marking as duplicate. ** This bug has been marked a duplicate of bug 536940 -tmpfs=- option broken in 0.12.2-0ubuntu3 -- --tmpfs flag doesn't do anything on vm-builder https://bugs.launchpad.net/bugs/512316 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 403149] Re: vmbuilder should allow for no swapfile
In current Lucid (vmbuilder 0.12.3.r435) this still throws an error, though a different one: 2010-04-22 20:38:55,242 INFO: Calling hook: post_install 2010-04-22 20:38:55,243 ERROR : Partitions are overlapping Traceback (most recent call last): File "/usr/bin/vmbuilder", line 24, in cli.main() File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 115, in main self.set_disk_layout(hypervisor) File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 208, in set_disk_layout disk.add_part(offset, swapsize, 'swap', 'swap') File "/usr/lib/python2.6/dist-packages/VMBuilder/disk.py", line 211, in add_part raise VMBuilderUserError('Partitions are overlapping') VMBuilder.exception.VMBuilderUserError: Partitions are overlapping -- vmbuilder should allow for no swapfile https://bugs.launchpad.net/bugs/403149 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 562189] Re: AttributeError: 'Libvirt' object has no attribute 'vm'
Got the same on a Lucid. In my case the problem was that I already had a virtual host with the same name. Marcus, it looks like you've called vmbuilder with no --hostname. Don't know what is taken as hostname in this case, but probably the same on each invocation. So I see this as actually being two bugs: * vmbuilder not tellung you that you need --hostname * vmbuilder having a broken handling for checking the overwrite option. -- AttributeError: 'Libvirt' object has no attribute 'vm' https://bugs.launchpad.net/bugs/562189 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 493020] Re: vmbuilder: Deletes most of /dev on interrupt
Looks like vm-builder won't necessarily clean /dev on lucid. At least my last ctrl-c did no such thing on an up-to-date lucid. -- vmbuilder: Deletes most of /dev on interrupt https://bugs.launchpad.net/bugs/493020 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 530344] Re: dependency devscripts is too heavy
*** This bug is a duplicate of bug 560686 *** https://bugs.launchpad.net/bugs/560686 ** This bug has been marked a duplicate of bug 560686 Shouldn't use rmadison -- dependency devscripts is too heavy https://bugs.launchpad.net/bugs/530344 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 28380] Re: Autofs fails to update /net with new shares from server
Looks like my confirmation has triggered some attention;-) As far as I can tell autofs5 in Lucid seems to work when restarting the autofs dameon. Just reloading is not enough. But I guess that's a minor issue. @Jesper: As Lucid will be the next LTS, it kind of supersedes all other distributions. Changes that some of the older releases will have this bug fixed are close to nil. And since bugs are here to track what needs to be done, I would say changing the status to fixed would be okay. Do you agree? AFAIK Launchpad is able to track the state of a bug in multiple distributions. But I won't try to correctly add all the distribution states as it probably won't help in getting it fixed for older releases;-) -- Autofs fails to update /net with new shares from server https://bugs.launchpad.net/bugs/28380 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- 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
[Bug 28380] Re: Autofs fails to update /net with new shares from server
** Changed in: autofs (Ubuntu) Status: Won't Fix => Confirmed -- Autofs fails to update /net with new shares from server https://bugs.launchpad.net/bugs/28380 You received this bug notification because you are a member of Ubuntu Server Team, which is a direct subscriber. -- 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
[Bug 534773] Re: postfix configuration failures should not let 'stop' fail
It works if /etc/mailname is non-empty, I know that. The problem is: you can't simply uninstall postfix if you have a configuration problem like that. The pre-removal package script fails because the daemon can't be stopped and the init script gives an error. This is unfortunate as non-technical guys are left with a postfix which doesn't work but they can't to the 'apt-get remove (--purge) XX', 'apt- get install XX' or 'apt-get install YY' they've been told to try by some more geeky friend;-) It might be nitpicking, but fixing should be more or less simple and make the Ubuntu experience just that little bit better. I understand that stopping postfix in an 'orderly fashion' (from the manpage:-) is a priority, but stopping the deamon is triggered by some human action and meant to succeed. And there's the 'abort' action supported by the init script, too. My take would be to kill the postfix process if 'quiet-stop' gives an error. -- postfix configuration failures should not let 'stop' fail https://bugs.launchpad.net/bugs/534773 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix 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
[Bug 534773] [NEW] postfix configuration failures should not let 'stop' fail
Public bug reported: Binary package hint: postfix Actual problem: For some reason my /etc/mailname is empty. For another reason I'd like to install nullmailer instead of postfix. A simple 'sudo apt-get install nullmailer' should do the trick... But: eading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: postfix The following NEW packages will be installed: nullmailer 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 0B/109kB of archives. After this operation, 3,064kB disk space will be freed. Do you want to continue [Y/n]? Preconfiguring packages ... dpkg: postfix: dependency problems, but removing anyway as you requested: bsd-mailx depends on postfix | mail-transport-agent; however: Package postfix is to be removed. Package mail-transport-agent is not installed. Package postfix which provides mail-transport-agent is to be removed. bsd-mailx depends on postfix | mail-transport-agent; however: Package postfix is to be removed. Package mail-transport-agent is not installed. Package postfix which provides mail-transport-agent is to be removed. (Reading database ... 16149 files and directories currently installed.) Removing postfix ... * Stopping Postfix Mail Transport Agent postfix postfix: fatal: myorigin file /etc/mailname is empty [fail] invoke-rc.d: initscript postfix, action "stop" failed. dpkg: error processing postfix (--remove): subprocess installed pre-removal script returned error exit status 1 Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) Manually stopping postfix using 'sudo /etc/init.d/postfix stop' gives the same '...mailname is empty' error. The simplest and IMHO opinion cleanest way would be to enhance the postfix init script to use some force to stop postfix even when there's no working configuration. Other deamons like squid even kill the daemon process in their init scripts after some waiting... ** Affects: postfix (Ubuntu) Importance: Undecided Status: New -- postfix configuration failures should not let 'stop' fail https://bugs.launchpad.net/bugs/534773 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix 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
[Bug 531646] [NEW] vm build using --raw and LVM logical volume doesn't boot because of Grub install error
Public bug reported: This is with Karmic and vm-builder 0.11.3-0ubuntu1 I've set up a kvm host using an LVM logical volume as --raw device. The vm building didn't show any problems. But the vm doesn't boot at all. Using VNC I've found out that it halts after 'Booting from Hard Disk...'. Looks like grub hasn't been installed on the correct place. Mounting the vm root partition in the host, I was able to locate the vmbuilder-install.log The IMHO interesting snipplets are: [...] 2010-03-03 22:15 DEBUG : Setting up linux-firmware (1.26) ... 2010-03-03 22:15 DEBUG : Setting up linux-image-virtual (2.6.31.19.32) ... 2010-03-03 22:15 DEBUG : Creating device.map 2010-03-03 22:15 DEBUG : Output from template '/etc/vmbuilder/ubuntu/devicemap.tmpl': (hd0) /dev/sda 2010-03-03 22:15 DEBUG : Installing extra packages [...] 2010-03-03 22:16 INFO: Installing bootloader 2010-03-03 22:16 DEBUG : ['mount', '--bind', '/dev/mapper/leo01-pimension--disk', '/tmp/vmbuildercrLky2/root/tmp/vmbuilder-grub/leo01-pimension--disk'] 2010-03-03 22:16 DEBUG : ['chroot', '/tmp/vmbuildercrLky2/root', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', '--batch'] 2010-03-03 22:16 DEBUG : stdin was set and it was a string: root (hd0,0) setup (hd0) EOT 2010-03-03 22:17 DEBUG : 2010-03-03 22:17 DEBUG :[ Minimal BASH-like line editing is supported. For 2010-03-03 22:17 DEBUG : the first word, TAB lists possible command 2010-03-03 22:17 DEBUG : completions. Anywhere else TAB lists the possible 2010-03-03 22:17 DEBUG : completions of a device/filename. ] 2010-03-03 22:17 DEBUG : grub> root (hd0,0) 2010-03-03 22:17 DEBUG : grub> setup (hd0) 2010-03-03 22:17 DEBUG : Checking if "/boot/grub/stage1" exists... no 2010-03-03 22:17 DEBUG : Checking if "/grub/stage1" exists... no 2010-03-03 22:17 DEBUG : 2010-03-03 22:17 DEBUG : Error 15: File not found 2010-03-03 22:17 DEBUG : grub> EOT 2010-03-03 22:17 DEBUG : ['umount', '/tmp/vmbuildercrLky2/root/tmp/vmbuilder-grub/leo01-pimension--disk'] Not sure if hd0 => /dev/sda is a valid idea... Will try to manually install grub now... ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- vm build using --raw and LVM logical volume doesn't boot because of Grub install error https://bugs.launchpad.net/bugs/531646 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531599] [NEW] tricky leftovers when using a too small --raw device
Public bug reported: I've tried to install a vm using an LVM logical volume with --raw. The problem was that I used a too small logical volume. vmbuilder told me: 2010-03-03 21:33:59,923 INFO: Adding partition table to disk image: /dev/mapper/leo01-test--disk 2010-03-03 21:34:00,007 INFO: Adding type 1 partition to disk image: /dev/mapper/leo01-test--disk 2010-03-03 21:34:00,879 INFO: Adding type 3 partition to disk image: /dev/mapper/leo01-test--disk 2010-03-03 21:34:00,890 INFO: [0] ../../libparted/filesys.c:147 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated 2010-03-03 21:34:00,892 INFO: Cleaning up Traceback (most recent call last): File "/usr/bin/vmbuilder", line 29, in VMBuilder.run() File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run frontend.run() File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run vm.create() File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 480, in create disk.create_partitions(self) File "/usr/lib/python2.6/dist-packages/VMBuilder/disk.py", line 416, in create_partitions disk.create(vm.workdir) File "/usr/lib/python2.6/dist-packages/VMBuilder/disk.py", line 100, in create part.create(self) File "/usr/lib/python2.6/dist-packages/VMBuilder/disk.py", line 244, in create run_cmd('parted', '--script', '--', disk.filename, 'mkpart', 'primary', self.parted_fstype(), self.begin, self.end) File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 135, in run_cmd raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, stdout, stderr) VMBuilder.exception.VMBuilderException: Process (['parted', '--script', '--', '/dev/mapper/leo01-test--disk', 'mkpart', 'primary', 'linux-swap(new)', '9', '1032']) returned 1. stdout: Error: The location 1032 is outside of the device /dev/mapper/leo01-test--disk. , stderr: [0] ../../libparted/filesys.c:147 (ped_file_system_type_get): File system alias linux-swap(new) is deprecated While this is a lot of noise, telling me 'location 1032 is outside of the device...' made me recognize my mistake. The problem is that I wasn't able to just remove the logical volume, create a bigger one and start again: sudo lvremove /dev/mapper/leo01-test--disk Can't remove open logical volume "test-disk" The reason is that there's another device map set up by vmbuilder: /dev/mapper/leo01-test--diskp1 This is because the first (root) partition did fit on the logical volume, but only the second (swap) one not. I had to drop the device mapping using sudo dmsetup remove /dev/mapper/leo01-test--diskp1 This would allow me to lvremove the logical volume now. I would expect that vmbuilder cleans up on exceptions like this and remove the device mappings for the inner partitions. ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- tricky leftovers when using a too small --raw device https://bugs.launchpad.net/bugs/531599 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531346] [NEW] vmbuilder option --raw is missing in manpage
Public bug reported: While vmbuilder --raw is documented when running vmbuilder --help, it's missing from the manpages. This made me filing bug 531083;-) ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- vmbuilder option --raw is missing in manpage https://bugs.launchpad.net/bugs/531346 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 531083] [NEW] support installing to LVM logical volume
Public bug reported: Please support a simple way to install into a LVM logical volume. ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- support installing to LVM logical volume https://bugs.launchpad.net/bugs/531083 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 373387] Re: runs chpasswd without -m prior to jaunty
Any news on this one? -- runs chpasswd without -m prior to jaunty https://bugs.launchpad.net/bugs/373387 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 530400] Re: starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile'
Well, I think I've tracked it down: The VM can't be started and virsh shows the above mentioned error when the qcow2 disk source file is located in /etc (at least when in /etc/libvirt/qemu or /etc/network). So the following snipplet in the XML file triggers the error: While something like works like a charm. Well, it's absolutely stupid to create disk files in /etc, I know. Was triggered by simply running ubuntu-vm-builder from those directories while not being fully awake... Well, in the end I think it's a sysadmins decision where to put those disk files. While /etc is really stupid, there might be some other places "silently forbidden" by apparmor. I think while some more bugs like this will be filed if there's no better error message... For this reason, I'm leaving this bug open, even though it could be considered invalid... Well kern.log is quite quiet: Mar 2 14:53:54 leo01 kernel: [84139.330434] type=1505 audit(1267538034.463:52): operation="profile_remove" info="failed: profile does not exist" pid=11213 name=libvirt-009c6a05-d841-2b80-51ac-fc940ff4 namespace=default syslog is more verbose: Mar 2 14:53:54 leo01 libvirtd: 14:53:54.226: error : virSecurityReportError:108 : error calling aa_change_profile() Mar 2 14:53:54 leo01 libvirtd: 14:53:54.226: error : qemudSecurityHook:1790 : internal error Failed to set security label Mar 2 14:53:54 leo01 libvirtd: 14:53:54.227: error : virExecDaemonize:678 : internal error Intermediate daemon process exited with status 1. Mar 2 14:53:54 leo01 kernel: [84139.085901] device vnet2 entered promiscuous mode Mar 2 14:53:54 leo01 kernel: [84139.086434] br_dmz: port 2(vnet2) entering learning state Mar 2 14:53:54 leo01 kernel: [84139.114878] br_dmz: port 2(vnet2) entering disabled state Mar 2 14:53:54 leo01 kernel: [84139.154409] device vnet2 left promiscuous mode Mar 2 14:53:54 leo01 kernel: [84139.154413] br_dmz: port 2(vnet2) entering disabled state Mar 2 14:53:54 leo01 libvirtd: 14:53:54.333: error : qemudReadLogOutput:816 : internal error Process exited while reading console log output Mar 2 14:53:54 leo01 libvirtd: 14:53:54.333: error : qemudWaitForMonitor:1103 : internal error unable to start guest: libvir: Security Labeling error : error calling aa_change_profile()#012libvir: QEMU error : internal error Failed to set security label#012 Mar 2 14:53:54 leo01 libvirtd: 14:53:54.471: error : virRun:833 : internal error '/usr/bin/virt-aa-helper -R -u libvirt-009c6a05-d841-2b80-51ac-fc940ff4' exited with non-zero status 1 and signal 0: libvir: error : internal error '/sbin/apparmor_parser -R /etc/apparmor.d/libvirt/libvirt-009c6a05-d841-2b80-51ac-fc940ff4' exited with non-zero status 234 and signal 0: /sbin/apparmor_parser: Unable to remove "libvirt-009c6a05-d841-2b80-51ac-fc940ff4". Profile doesn't exist#012virt-aa-helper: error: failed to run apparmor_parser#012 Mar 2 14:53:54 leo01 libvirtd: 14:53:54.471: error : virSecurityReportError:108 : could not remove profile for 'libvirt-009c6a05-d841-2b80-51ac-fc940ff4' Mar 2 14:53:54 leo01 kernel: [84139.330434] type=1505 audit(1267538034.463:52): operation="profile_remove" info="failed: profile does not exist" pid=11213 name=libvirt-009c6a05-d841-2b80-51ac-fc940ff4 namespace=default ** Summary changed: - starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile' + starting kvm guest with disk file in /etc fails with apparmor error 'could not remove profile' -- starting kvm guest with disk file in /etc fails with apparmor error 'could not remove profile' https://bugs.launchpad.net/bugs/530400 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
[Bug 530400] Re: starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile'
Starting apparmor again, and restarting libvirt brings back the error. -- starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile' https://bugs.launchpad.net/bugs/530400 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
[Bug 530400] Re: starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile'
Well after restarting libvirt (sudo /etc/init.d/libvirt-bin restart), too it now works... -- starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile' https://bugs.launchpad.net/bugs/530400 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
[Bug 530400] Re: starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile'
I have no idea about the inner functionality of apparmor. I thus tried to get the hosts running by sudo /etc/init.d/apparmor stop But this doesn't seem to help. Still the same error... Any idea how to disable apparmor for kvm/libvirt? -- starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile' https://bugs.launchpad.net/bugs/530400 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
[Bug 530400] [NEW] starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile'
Public bug reported: This may be related to bugs #448671, and #496163. syslog looks similar... Ask if you need it or some other log/config... On a fresh installation of Ubuntu Server 9.10 I've created a KVM instance using ubuntu-vm-builder. I then run 'define' and 'start' in virsh, successfully starting the virtual server. I then added another bridge on the KVM-Host and added an interface to the KVM-Guest. It all works well. I then tried to create another guest using ubuntu-vm-builder. While the creation went well, and I could 'define' it in virsh, it won't start. It shows the following error: virsh # start dns01 error: Failed to start domain dns01 error: could not remove profile for 'libvirt-9081d82b-a859-47a2-5c2b-6caa424c4887' I tried the same with another time creating a third guest... Same error, new name... ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- starting second kvm guest created using ubuntu-vm-builder fails with 'could not remove profile' https://bugs.launchpad.net/bugs/530400 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
[Bug 530344] Re: dependency devscripts is too heavy
Okay, thanx for the quick response! A quick check showed that rmadison is called in the python script VMBuilder/plugins/ubuntu/distro.py, where it is used to get the version of the xen kernel. (Hehe, just drop the xen support, karmic not being a nice Xen citizen anyway;-) I've dug into the rmadison source and it's more or less a lot of documentation and option parsing. It all boils down to a simple: wget -q -O - 'http://people.canonical.com/~ubuntu-archive/madison.cgi?package=linux-image-FLAVOR&text=on' The only drawback I can see using this is a dependency on (priority standard) package wget and the missing abstraction level. But I doubt the URL or the result format will ever change concerning the widespread deployment of current versions of rmadison. Do you think it would be sensible to replace the call to rmadison with a pythonized version of above wget call? -- dependency devscripts is too heavy https://bugs.launchpad.net/bugs/530344 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 530344] [NEW] dependency devscripts is too heavy
Public bug reported: python-vm-builder has a dependency on devscripts. This is too broad as it installs lots of packages not really needed. As an example it indirectly installs postfix (devscripts -> mailx -> postfix) which is not needed at all to setup a virtual host. Please consider depending directly on the packages that are needed. ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- dependency devscripts is too heavy https://bugs.launchpad.net/bugs/530344 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder 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
[Bug 530330] [NEW] Broken link /etc/kvm gets created on install
Public bug reported: Binary package hint: qemu-kvm Package qemu-kvm contains a symlink /etc/kvm pointing to /etc/qemu-kvm. But no package depended on by qemu-kvm provides this directory. I don't know what this directory is supposed to contain. But the only real KVM specific configuration in /etc are the XML guest definitions in /etc/libvirt/qemu. Maybe /etc/kvm could point there... ** Affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New -- Broken link /etc/kvm gets created on install https://bugs.launchpad.net/bugs/530330 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm 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
[Bug 530323] [NEW] resolvconf update script should not produce error when main.cfg missing
Public bug reported: Binary package hint: postfix I'm using a 9.10 server installation. The following happens as postfix got installed as an indirect dependency of ubuntu-vm-builder. resolvconf has been installed manually. When running ifup/ifdown the following errors are shown: /usr/sbin/postconf: fatal: open /etc/postfix/main.cf: No such file or directory cp: `/etc/resolv.conf' and `/etc/resolv.conf' are the same file run-parts: /etc/resolvconf/update-libc.d/postfix exited with return code 1 run-parts: /etc/resolvconf/update.d/libc exited with return code 1 run-parts: /etc/network/if-down.d/resolvconf exited with return code 1 It is correct, that no /etc/postfix/main.cf exists, but this is an irrelevant information when doing network interface maintenance. I thus propose to simply enhance the the check in /etc/resolvconf/update- libc.d/postfix from [ -x /usr/sbin/postconf ] || exit 0 to [ -x /usr/sbin/postconf -a -e /etc/postfix/main.cf] || exit 0 Even better would be to also detect major postfix configuration problems by testing '/usr/sbin/postconf -h queue_directory' for empty result. ** Affects: postfix (Ubuntu) Importance: Undecided Status: New -- resolvconf update script should not produce error when main.cfg missing https://bugs.launchpad.net/bugs/530323 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to postfix 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