aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-27 04:05:38 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-27 04:05:38 +0000
commitd26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83 (patch)
tree1c3548dc88842a66104f2fb866d65234a6b31c44
parentd3c192cd2dd36ff2329e55ed4d2599bf12cd5b07 (diff)
downloadiurt-d26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83.tar
iurt-d26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83.tar.gz
iurt-d26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83.tar.bz2
iurt-d26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83.tar.xz
iurt-d26372e6f7e0a2e3cbfc37508a3b051ae2a7cf83.zip
(clean_chroot) log not cleaning chroots due mount points still being there
-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;
}