Bug 10318 - Cannot use separate mount point for chroot
Summary: Cannot use separate mount point for chroot
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: hasher (show other bugs)
Version: unstable
Hardware: all Linux
: P2 enhancement
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 23:04 MSK by Andrey Rahmatullin
Modified: 2009-01-06 02:15 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.