On Sat, Jan 05, 2008 at 10:09:26AM -0600, Matt Domsch wrote: > When I enabled the tmpfs plugin in mock 0.9.5 today, I get the > appended traceback, I believe during clean. With tmpfs plugin > disabled (the default), I get no such failure.
What was your cmdline? Where did you pull mock 0.9 from, rawhide? Had you previously built using this buildroot without using tmpfs? -- Michael > > ERROR: [Errno 16] Device or resource busy: > '/var/lib/mock/fedora-development-i386-GeoIP-1.4.3-1.fc8.src.rpm/root' > Traceback (most recent call last): > File "/usr/sbin/mock", line 601, in <module> > main(retParams) > File "/usr/sbin/mock", line 546, in main > do_rebuild(config_opts, chroot, args) > File "<peak.util.decorators.rewrap wrapping __main__.do_rebuild at > 0x008CE050>", line 3, in do_rebuild > def do_rebuild(config_opts, chroot, srpms): return > __decorated(config_opts, chroot, srpms) > File "/usr/lib/python2.5/site-packages/mock/trace_decorator.py", line 70, > in trace > result = func(*args, **kw) > File "/usr/sbin/mock", line 359, in do_rebuild > chroot.clean() > File "<peak.util.decorators.rewrap wrapping mock.backend.clean at > 0x008A7320>", line 3, in clean > def clean(self): return __decorated(self) > File "/usr/lib/python2.5/site-packages/mock/trace_decorator.py", line 70, > in trace > result = func(*args, **kw) > File "/usr/lib/python2.5/site-packages/mock/backend.py", line 126, in clean > mock.util.rmtree(self.basedir) > File "<peak.util.decorators.rewrap wrapping mock.util.rmtree at > 0x008A67D0>", line 3, in rmtree > def rmtree(path, *args, **kargs): return __decorated(path, *args, **kargs) > File "/usr/lib/python2.5/site-packages/mock/trace_decorator.py", line 70, > in trace > result = func(*args, **kw) > File "/usr/lib/python2.5/site-packages/mock/util.py", line 59, in rmtree > shutil.rmtree(path, *args, **kargs) > File "/usr/lib64/python2.5/shutil.py", line 169, in rmtree > rmtree(fullname, ignore_errors, onerror) > File "/usr/lib64/python2.5/shutil.py", line 178, in rmtree > onerror(os.rmdir, path, sys.exc_info()) > File "/usr/lib64/python2.5/shutil.py", line 176, in rmtree > os.rmdir(path) > OSError: [Errno 16] Device or resource busy: > '/var/lib/mock/fedora-development-i386-GeoIP-1.4.3-1.fc8.src.rpm/root' -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list