Hello community, here is the log from the commit of package yast2-vm for openSUSE:Factory checked in at 2014-06-26 08:00:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-vm (Old) and /work/SRC/openSUSE:Factory/.yast2-vm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-vm" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-vm/yast2-vm.changes 2014-06-02 07:02:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-vm.new/yast2-vm.changes 2014-06-26 08:00:17.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Jun 18 08:29:15 MDT 2014 - carnold@suse.com + +- Include enable and start of libvirtd service for s390x +- Remove installing the pm-utils package. It is no longer needed +- Restart apparmor before starting libvirtd. Otherwise libvirtd + runs unenforced at the first start. +- 3.1.13 + +------------------------------------------------------------------- Old: ---- yast2-vm-3.1.12.tar.bz2 New: ---- yast2-vm-3.1.13.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-vm.spec ++++++ --- /var/tmp/diff_new_pack.YpP7YR/_old 2014-06-26 08:00:18.000000000 +0200 +++ /var/tmp/diff_new_pack.YpP7YR/_new 2014-06-26 08:00:18.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-vm -Version: 3.1.12 +Version: 3.1.13 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-vm-3.1.12.tar.bz2 -> yast2-vm-3.1.13.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-vm-3.1.12/package/yast2-vm.changes new/yast2-vm-3.1.13/package/yast2-vm.changes --- old/yast2-vm-3.1.12/package/yast2-vm.changes 2014-05-28 18:37:46.000000000 +0200 +++ new/yast2-vm-3.1.13/package/yast2-vm.changes 2014-06-18 16:47:50.000000000 +0200 @@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Wed Jun 18 08:29:15 MDT 2014 - carnold@suse.com + +- Include enable and start of libvirtd service for s390x +- Remove installing the pm-utils package. It is no longer needed +- Restart apparmor before starting libvirtd. Otherwise libvirtd + runs unenforced at the first start. +- 3.1.13 + +------------------------------------------------------------------- Wed May 28 10:30:33 MDT 2014 - carnold@suse.com - bnc#877715 - SLES12_LOC : ALL_LANGS:the dialog Untranslated text diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-vm-3.1.12/package/yast2-vm.spec new/yast2-vm-3.1.13/package/yast2-vm.spec --- old/yast2-vm-3.1.12/package/yast2-vm.spec 2014-05-28 18:37:46.000000000 +0200 +++ new/yast2-vm-3.1.13/package/yast2-vm.spec 2014-06-18 16:47:50.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-vm -Version: 3.1.12 +Version: 3.1.13 Release: 0 Group: System/YaST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-vm-3.1.12/src/modules/VM_XEN.rb new/yast2-vm-3.1.13/src/modules/VM_XEN.rb --- old/yast2-vm-3.1.12/src/modules/VM_XEN.rb 2014-05-28 18:37:46.000000000 +0200 +++ new/yast2-vm-3.1.13/src/modules/VM_XEN.rb 2014-06-18 16:47:50.000000000 +0200 @@ -139,6 +139,14 @@ isPAE end + def reloadApparmor + if Package.InstalledAll(["apparmor"]) + cmd = "systemctl restart apparmor.service" + Builtins.y2milestone("Restart apparmor.service: %1", cmd) + SCR.Execute(path(".target.bash"), cmd) + end + end + def isX86_64 ret = true @@ -367,7 +375,7 @@ packages = packages + ["xen-tools", "xen-libs", "libvirt-daemon-xen", "tigervnc"] if install_xen_tools packages = packages + ["patterns-openSUSE-kvm_server"] if install_kvm_server packages = packages + ["libvirt-daemon-qemu", "tigervnc"] if install_kvm_tools - packages = packages + ["libvirt-daemon-lxc", "libvirt-daemon-config-network", "pm-utils"] if install_lxc + packages = packages + ["libvirt-daemon-lxc", "libvirt-daemon-config-network"] if install_lxc result = Package.DoInstall(common_vm_packages + packages) if result == false Report.Error(_("Package installation failed\n")) @@ -495,14 +503,6 @@ Lan.Write end end - - # Enable and start the libvirtd daemon for both KVM and Xen - cmd = "systemctl enable libvirtd.service" - Builtins.y2milestone("Enable libvirtd.service: %1", cmd) - SCR.Execute(path(".target.bash"), cmd) - cmd = "systemctl start libvirtd.service" - Builtins.y2milestone("Start libvirtd.service: %1", cmd) - SCR.Execute(path(".target.bash"), cmd) else # For s390, make sure /etc/zipl.conf contain switch_amode switch_amode = Bootloader.kernel_param(:common, "switch_amode") @@ -524,6 +524,17 @@ end end + # Force AppArmor to reload the profiles + reloadApparmor + + # Enable and start the libvirtd daemon for both KVM and Xen + cmd = "systemctl enable libvirtd.service" + Builtins.y2milestone("Enable libvirtd.service: %1", cmd) + SCR.Execute(path(".target.bash"), cmd) + cmd = "systemctl start libvirtd.service" + Builtins.y2milestone("Start libvirtd.service: %1", cmd) + SCR.Execute(path(".target.bash"), cmd) + # Firewall stage - modify the firewall setting, add the xen bridge to FW_FORWARD_ALWAYS_INOUT_DEV # Progress::NextStage(); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org