[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Fedora-livecd-list] [patch 06/20] Cleanup unmount() and teardown()
- From: David Zeuthen <davidz redhat com>
- To: fedora-livecd-list redhat com
- Subject: Re: [Fedora-livecd-list] [patch 06/20] Cleanup unmount() and teardown()
- Date: Mon, 02 Apr 2007 00:29:26 -0400
On Tue, 2007-03-27 at 15:14 +0100, Mark McLoughlin wrote:
> - # TODO: need to handle when unmount fails because of lingering
> - # processes that has open files
> + self.bindmounts.reverse()
> + for b in self.bindmounts:
> + b.umount()
> +
Is the idea here that an exception is thrown all the way up to the user
if unmount fails because some process in the chroot have open files?
I guess that's fine; long term I'm hoping we can slay them somehow.. it
does happens from time to time since that packages inevitably do a
'service foo restart' instead of 'service foo condrestart'...
David
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]