Hello,
I found a bug in MIRROR_DIRECTORY use in stable grml-live. Standard mirror directory when you use apt-mirror in debian stable outputs to /var/spool/apt-mirror/mirror/ftp.something .
If I use this directory in MIRROR_DIRECTORY and run grml-live it goes to 98-clean-chroot, step "Cleaning and removing some misc files and directories" in grml_cleanup_chroot script and then starts to delete the data from /var/spool/apt-mirror/mirror/ftp.something . I believe it is the part
zero /var/spool
As I understand this deletes (or zeroes) the files because the mirror is still mounted. It hurts a lot because then you have to download the mirror again which is more than 30GBs. Shouldn't there be any check or umount? Or am I using MIRROR_DIRECTORY badly? I would need to keep the original apt-mirror directory in /var/spool .
Thanks,
Marek |