Re: [libvirt] [PATCH 8/8] Restart daemon at end of transaction

2012-04-04 Thread Daniel P. Berrange
On Tue, Apr 03, 2012 at 10:06:05PM -0600, Eric Blake wrote: > On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > It is not safe to restart libvirtd after install of the > > libvirt-daemon RPM, since the corresponding driver modules > > may not yet have been i

Re: [libvirt] [PATCH 8/8] Restart daemon at end of transaction

2012-04-03 Thread Eric Blake
On 04/03/2012 06:48 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > It is not safe to restart libvirtd after install of the > libvirt-daemon RPM, since the corresponding driver modules > may not yet have been installed by RPM. The solution is to > move the restart logic to a %postt

[libvirt] [PATCH 8/8] Restart daemon at end of transaction

2012-04-03 Thread Daniel P. Berrange
From: "Daniel P. Berrange" It is not safe to restart libvirtd after install of the libvirt-daemon RPM, since the corresponding driver modules may not yet have been installed by RPM. The solution is to move the restart logic to a %posttrans script. This runs at completion of the RPM transaction, o