Bug 703086

Summary: no "shutdown" operation of daemon hook script is called when the libvirt daemon is restarted at first time
Product: Red Hat Enterprise Linux 5 Reporter: zhanghaiyan <yoyzhang>
Component: libvirtAssignee: Osier Yang <jyang>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7CC: ajia, dallan, dyuan, eblake, hjiang, jyang, llim, weizhan, xhu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 688859 Environment:
Last Closed: 2011-08-15 19:45:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 688859    
Bug Blocks:    

Comment 1 zhanghaiyan 2011-05-09 09:03:48 UTC
This bug can be found on rhel57 with libvirt-0.8.2-18.el5

Comment 2 Huming Jiang 2011-06-01 08:47:49 UTC
Could reproduce this bug on the following components of rh5.6:
libvirt-0.8.2-15.el5

Steps:

1. create /etc/libvirt/hooks/daemon.

   # cat /etc/libvirt/hooks/daemon
   #! /bin/bash
   echo "$0" "$@" >> /tmp/daemon.log
   exit 1

2. # chmod +x /etc/libvirt/hooks/daemon

3. restart libvirtd

   # service libvirtd restart

4. check /tmp/daemon.log.

Actual results:
/etc/libvirt/hooks/daemon - start - start

Comment 3 Osier Yang 2011-06-01 12:11:01 UTC
Not sure if we will backport the fix to rhel5.6, or even 5.7, as it the fix is more like a enhancement/feature, but not a problem fix. Anyway, I guess you are wasting time testing on rhel5.6 here, as this bug is against 5.7.

Comment 4 RHEL Program Management 2011-06-20 22:46:47 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 6 RHEL Program Management 2011-08-15 19:45:44 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.