Bug 10318

Summary: Cannot use separate mount point for chroot
Product: Sisyphus Reporter: Andrey Rahmatullin <wrar>
Component: hasherAssignee: Dmitry V. Levin <ldv>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P2 CC: at, glebfm, ktirf, ldv, mike, placeholder, vvk
Version: unstable   
Hardware: all   
OS: Linux   

Description Andrey Rahmatullin 2006-11-24 23:04:43 MSK
If I mount chroot/ as tmpfs, /usr/share/hasher/rmchroot fails when trying to 
run chgrp on chroot/
Comment 1 Michael Shigorin 2006-11-24 23:08:20 MSK
+1
Comment 2 Dmitry V. Levin 2006-11-25 00:43:26 MSK
hasher expects that chroot directory can be deleted.
If chroot directory is mount point, it cannot be deleted so hasher won't work.
Comment 3 Alexey Rusakov 2006-11-25 13:07:15 MSK
Is it crucial to be able to delete chroot directory instead of just cleaning it?
Comment 4 Dmitry V. Levin 2009-01-06 02:15:23 MSK
(In reply to comment #0)
> If I mount chroot/ as tmpfs, /usr/share/hasher/rmchroot fails when trying to 
> run chgrp on chroot/

I suggest you to define persistent repo location via $def_repo, and place the rest of workdir on tmpfs.