Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20908 - supermount-mounted cdrom causes emerge to crash
Summary: supermount-mounted cdrom causes emerge to crash
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 05:38 UTC by Bernd Wurst
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

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 Bernd Wurst 2003-05-13 05:38:38 UTC
I use supermount (and as the gentoo-sources do have this enabled, you should
think there are others that have so) for my cdrom.
As I update baselayout, it tries to create a new /mnt/cdrom folder which results
in a i/o-error in the portage python-script.

Unregarded that there is no need to create mountpoints that I do not want (why
the heck do I ned /mnt/floppy), this should not break emerge at all. I would
prefer if baselayout does not create any mountpoint.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2003-05-13 09:44:43 UTC
I have the same grievance against baselayout.  It is not compatable with supermount mounted filesystems.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-13 17:49:28 UTC
> I have the same grievance against baselayout.  It is not compatable with 
> supermount mounted filesystems.

Huh?

Anyhow, this issue is fixed (or should be) in baselayout-1.8.6.7.
Comment 3 Bernd Wurst 2003-05-13 17:57:26 UTC
I emerged baselayout 1.8.6.7 this morning (app. 7:00am GMT) and the error occured.

I will try to re-emerge it tomorrow.
Could it be that autoclean tries to remove the mountpoints because they were part of the older baselayout-version? Just another suggestion... I did not see when the error was exactly, I just saw the error message there. 
Comment 4 Bernd Wurst 2003-07-21 02:33:28 UTC
Hey, what's going on!
I thought it was fixed (it worked one day), but now I have to see this!

=======================================================
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1949, in ?
    unmerge("clean", ["world"])
  File "/usr/bin/emerge", line 1445, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,unmerge_action not in ["clean","prune"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1825, in unmerge
    mylink.unmerge(trimworld=mytrimworld)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4131, in unmerge
    objld=listdir(obj)
  File "/usr/lib/python2.2/site-packages/portage.py", line 93, in listdir
    list = os.listdir(mypath)
OSError: [Errno 123] No medium found: '/mnt/cdrom'
=======================================================

It's really buggin at all!
Comment 5 Jay Pfeifer (RETIRED) gentoo-dev 2003-07-21 07:05:59 UTC
this has nothing todo with supermount and is an issue with portage.