Bug 10318 - Cannot use separate mount point for chroot
: Cannot use separate mount point for chroot
Status: CLOSED WONTFIX
: Sisyphus
(All bugs in Sisyphus/hasher)
: unstable
: all Linux
: P2 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-11-24 23:04 by
Modified: 2009-01-06 02:15 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-11-24 23:04:43
If I mount chroot/ as tmpfs, /usr/share/hasher/rmchroot fails when trying to 
run chgrp on chroot/
------- Comment #1 From 2006-11-24 23:08:20 -------
+1
------- Comment #2 From 2006-11-25 00:43:26 -------
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 From 2006-11-25 13:07:15 -------
Is it crucial to be able to delete chroot directory instead of just cleaning
it?
------- Comment #4 From 2009-01-06 02:15:23 -------
(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.