Call sync after guestfsd exits
authorMatthew Booth <mbooth@redhat.com>
Thu, 26 Aug 2010 11:11:59 +0000 (12:11 +0100)
committerRichard Jones <rjones@redhat.com>
Thu, 26 Aug 2010 14:04:35 +0000 (15:04 +0100)
commitc0b38fbb27c8771916386f47361833722d54518f
treee83ccd7f008bfca4b15ef0483f4a2d06d11ce2f2
parenta45302cb8a0ee3b4ffd0656b24a06ebdf7b50f38
Call sync after guestfsd exits

Core files are not reliably written to disk if guestfsd dumps core. This patch
makes libguestfs do the same appliance cleanup for guestfsd and virt-rescue,
which seems to fix the matter.

It also removes a redundant sleep and additional sync when exiting virt-rescue.
appliance/init