aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/Iurt/Chroot.pm1
2 files changed, 2 insertions, 0 deletions
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;
}