I'm trying to move the mock chroot base from /var/lib/mock to
/export/mock, without much success:
mock -r fedora-5-i386-core.cfg
/export/home/orion/fedora/extras/pytz/devel/pytz-2005i-2.fc5.src.rpm
Errors cleaning out chroot: mock-helper: error:
/export/mock/fedora-5-i386-core: not under allowed directory (/var/lib/mock)
Starting Prep
Preparing Root
could not mount proc error was: mock-helper: error: proc: mount not
allowed on /export/mock/fedora-5-i386-core/root/proc
could not mount /dev/pts error was: mock-helper: error: devpts: mount
not allowed on /export/mock/fedora-5-i386-core/root/dev/pts
Traceback (most recent call last):
File "/usr/bin/mock", line 672, in ?
main()
File "/usr/bin/mock", line 664, in main
my.close()
File "/usr/bin/mock", line 297, in close
self._umount_by_file()
File "/usr/bin/mock", line 382, in _umount_by_file
self._umount(item)
File "/usr/bin/mock", line 364, in _umount
raise Error, "could not umount %s error was: %s" % (path, output)
__main__.Error: could not umount proc error was: mock-helper: error:
/export/mock/fedora-5-i386-core/root/proc: not under allowed directory
(/var/lib/mock)
make: *** [mockbuild] Error 1
I just don't have room in /var. Is /var/lib/mock hardcoded somewhere?
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com