From d26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 27 Aug 2012 04:05:38 +0000 Subject: (clean_chroot) log not cleaning chroots due mount points still being there --- NEWS | 1 + lib/Iurt/Chroot.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 0d2dc11..b52c0a2 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ 0.6.7 (unreleased) +- log not cleaning chroots due mount points still being there - mount /dev/shm in chroots too (needed for eg: python) 0.6.6-1.r5364 diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 539fd07..074c6f8 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -45,6 +45,7 @@ sub clean_chroot { close($FP); if (@list) { # Still referenced + plog('ERROR', "Not cleaning chroot (mount points still in use)"); return 1; } -- cgit v1.2.1