Fix in libvirt install.sh
Message ID | 1468524782-666-1-git-send-email-jonatan.schlag@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (hedwig.ipfire.org [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id 7E43361D0B for <patchwork@ipfire.org>; Thu, 14 Jul 2016 21:21:45 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 7071044B7; Thu, 14 Jul 2016 21:21:37 +0200 (CEST) Received: from mail01.ipfire.org (dslb-088-073-210-151.088.073.pools.vodafone-ip.de [88.73.210.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 46A2B44AB; Thu, 14 Jul 2016 21:21:35 +0200 (CEST) From: Jonatan Schlag <jonatan.schlag@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] Fix in libvirt install.sh Date: Thu, 14 Jul 2016 21:33:02 +0200 Message-Id: <1468524782-666-1-git-send-email-jonatan.schlag@ipfire.org> X-Mailer: git-send-email 2.1.4 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Jonatan Schlag
July 15, 2016, 5:33 a.m. UTC
The libvirt daemon was not started after installation because the
initscritp is named 'libvirtd' not like the package 'libvirt'.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
lfs/libvirt | 2 +-
src/paks/libvirt/install.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
Hi, the same thing is happening in the uninstall.sh script where the service should be stopped before being removed from disk. -Michael On Thu, 2016-07-14 at 21:33 +0200, Jonatan Schlag wrote: > The libvirt daemon was not started after installation because the > initscritp is named 'libvirtd' not like the package 'libvirt'. > > Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> > --- > lfs/libvirt | 2 +- > src/paks/libvirt/install.sh | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lfs/libvirt b/lfs/libvirt > index 5af28cb..6768a72 100644 > --- a/lfs/libvirt > +++ b/lfs/libvirt > @@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) > TARGET = $(DIR_INFO)/$(THISAPP) > SUP_ARCH = i586 x86_64 > PROG = libvirt > -PAK_VER = 3 > +PAK_VER = 4 > > DEPS = "libpciaccess libyajl ncat qemu" > > diff --git a/src/paks/libvirt/install.sh b/src/paks/libvirt/install.sh > index 2009b0e..c97a18d 100644 > --- a/src/paks/libvirt/install.sh > +++ b/src/paks/libvirt/install.sh > @@ -29,7 +29,7 @@ getent passwd libvirt-remote >/dev/null || \ > useradd -m -g libvirt-remote -s /bin/bash "libvirt-remote" > > extract_files > -start_service --delay 300 --background ${NAME} > +start_service --delay 300 --background libvirtd > ln -svf /etc/init.d/libvirtd /etc/rc.d/rc0.d/K20libvirtd > ln -svf /etc/init.d/libvirtd /etc/rc.d/rc3.d/S70libvirtd > ln -svf /etc/init.d/libvirtd /etc/rc.d/rc6.d/K20libvirtd