Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111752 - catalyst2 fails on a re-run
Summary: catalyst2 fails on a re-run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-11-06 19:48 UTC by Lars Weiler (RETIRED)
Modified: 2005-12-20 09:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Weiler (RETIRED) gentoo-dev 2005-11-06 19:48:49 UTC
A previous catalyst2-run died due to genkernel-problems.  When I re-started the
process, it fails during unmounting old bind-mounts:

elrohir ppc # catalyst2 -a -f livecd-stage2-minimal.spec
Gentoo Catalyst, version 2.0_pre20051101
Copyright 2003-2005 The Gentoo Foundation
Distributed under the GNU General Public License version 2

Using default Catalyst configuration file, /etc/catalyst2/catalyst2.conf
Setting sharedir to config file value "/usr/lib/catalyst2"
Setting snapshot_cache to default value "/var/tmp/catalyst2/snapshot_cache"
Setting storedir to config file value "/var/tmp/catalyst2"
Setting portdir to default value "/usr/portage"
Setting distdir to config file value "/usr/portage/distfiles"
Setting options to config file value "pkgcache kerncache seedcache snapcache"
Package cache support enabled.
Snapshot cache support enabled.
Seed cache support enabled.
Kernel cache support enabled.
Envscript support enabled.
Using target: livecd-stage2
Building natively for ppc
MD5 (/var/tmp/catalyst2/snapshots/portage-current.tar.bz2) =
a0def78dc8edf4efbdc82fc85699cbb3
Caching snapshot to /var/tmp/catalyst2/snapshot_cache/current/
The autoresume path is
/var/tmp/catalyst2/tmp/default/.autoresume-livecd-stage2-ppc-2005.1-r1/
Location of the package cache is
/var/tmp/catalyst2/packages/default/livecd-stage2-ppc-2005.1-r1/
Checking for processes running in chroot and killing them.
/proc is still mounted; performing auto-bind-umount...
Catalyst aborting....
Traceback (most recent call last):
  File "/usr/bin/catalyst2", line 354, in ?
    build_target(addlargs, targetmap)
  File "/usr/bin/catalyst2", line 197, in build_target
    mytarget.mount_safety_check()
  File "/usr/lib/catalyst2/modules/generic_stage_target.py", line 464, in
mount_safety_check
    self.unbind()
  File "/usr/lib/catalyst2/modules/generic_stage_target.py", line 684, in unbind
    self.snapshot_lock_object.unlock()
AttributeError: livecd_stage2_target instance has no attribute
'snapshot_lock_object'
elrohir ppc # 

The next call of the same command works properly.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-12-20 09:28:23 UTC
Since the catalyst 2.0_rc* series is no longer in package.mask, I am marking
this one as RESOLVED...