Bug 91977 - new version of eject
|
Bug#:
91977
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: npmccallum@gentoo.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: new version of eject
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-05-08 23:35 0000
|
New version of eject including a bunch of patches from ubuntu, including:
- a new version of the finddev patch (adds documentation)
- pumount support (for Utopia; blocks #91928)
- several fixes for remote situations
- check malloc return value for NULL
Reproducible: Always
Steps to Reproduce:
Would you like to have a look at Bug 62612 as well? :-)
sure, you can assign it to me if you like, but I'd like to put it in a revision
on its own to get more testing. All the patches I've put here are fairly well
tested.
fedora has a patch or two not included here ...
Comment #11: As you wish, assigned #62612 to you. If you
Comment #11: As you wish, assigned #62612 to you. If you´d like to maintain
this ebuild, then you could add yourself to metadata.xml.
some notes ...
- the close patch is pretty stupid/pointless
- the malloc check is incomplete ... it's not the only malloc in eject.c
- the regcomp check is incomplete ... it's not the only regcomp in eject.c
- what's the point of the pumount patch ?
added all but the pumount patch to eject-2.0.13-r2 after cleaning many of them up
pmount (and pumount) are policy wrappers around mount for removeable devices
that aren't in fstab. Desktop programs use eject (ie. gnome-vfs). Lets say in
this case you plug in a usb zip drive. gnome-vfs uses pmount to mount it, then
the user wants to eject it. The user chooses eject in nautilus, which (through
gnome-vfs) calls eject. When eject tries to umount the device, it will fail, so
eject will be broken. The pumount tries at runtime to run pumount before
umount. Nothing breaks if pumount isn't installed or fails (we don't check the
exit status).