Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71130

Summary: When I emerge hotplug, it deletes directories that it just created.
Product: Gentoo Linux Reporter: gentoo_lan <devinkinder>
Component: Current packagesAssignee: Greg Kroah-Hartman (RETIRED) <gregkh>
Status: VERIFIED NEEDINFO    
Severity: major CC: e.montezinos
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gentoo_lan 2004-11-14 02:12:40 UTC
# emerge hotplug
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/hotplug-20040923 to /
>>> md5 src_uri ;-) hotplug-2004_09_23.tar.gz
>>> Unpacking source...
>>> Unpacking hotplug-2004_09_23.tar.gz to /var/tmp/portage/hotplug-20040923/work
>>> Source unpacked.
Built hotplug-2004_11_14.tar.gz
>>> Test phase [not enabled]: sys-apps/hotplug-20040923

>>> Install hotplug-20040923 into /var/tmp/portage/hotplug-20040923/image/ category sys-apps
man:
prepallstrip:
strip:
strip:
>>> Completed installing into /var/tmp/portage/hotplug-20040923/image/

>>> Merging sys-apps/hotplug-20040923 to /

[...]

>>> /usr/lib/hotplug/
>>> /usr/lib/hotplug/firmware/

[...]

>>> /var/run/usb/
>>> Safely unmerging already-installed instance...

[...]

<<<        dir /var/run/usb
<<<        dir /usr/lib/hotplug/firmware
<<<        dir /usr/lib/hotplug

[...]

>>> original instance of package unmerged safely.
 * WARNING: The hotplug init script is now gone (dead and burried.)
 * WARNING: If you want to load modules for hardware that was already
 * WARNING: discovered at boot time, like the old hotplug init script
 * WARNING: did, then emerge the coldplug package, and add coldplug to
 * WARNING: a runlevel, e.g. # rc-update add coldplug boot

 * WARNING: All firmware loaded by the hotplug scripts needs to be
 * WARNING: moved to the /lib/firmware directory, as the scripts now
 * WARNING: expect it to be in that location.

 * If you still have the file /etc/hotplug/isapnp.rc on your system,
 * please delete it by hand, the file /etc/hotplug/pnp.rc superseeds it.
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> sys-apps/hotplug-20040923 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

# qpkg -c -v hotplug
sys-apps/hotplug-20040923 *
/usr/lib/hotplug !not exist!
/usr/lib/hotplug/firmware !not exist!
/var/run/usb !not exist!
3/49 

Reproducible: Always
Steps to Reproduce:
1.emerge hotplug
2.
3.
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2004-11-14 05:38:20 UTC
NOT a bugzilla bug, this is a gentoo linux bug.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-11-17 12:33:27 UTC
I don't understand, what is the issue here?

What is getting deleted?
Comment 3 gentoo_lan 2004-11-17 15:49:13 UTC
When you type:

qpkg -c -v hotplug 

The output you get is:

sys-apps/hotplug-20040923 *
/var/run/usb !not exist!
/usr/lib/hotplug !not exist!
/usr/lib/hotplug/firmware !not exist!
3/49

Are these directories supposed to exist?
Comment 4 gentoo_lan 2004-11-22 21:13:12 UTC
When you type:

qpkg -c -v hotplug 

The output you get is:

sys-apps/hotplug-20040923 *
/var/run/usb !not exist!
/usr/lib/hotplug !not exist!
/usr/lib/hotplug/firmware !not exist!
3/49

Are these directories supposed to exist?
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-04-24 11:48:07 UTC
Any suggestion as to how to fix this in the ebuild?
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2005-08-16 12:00:08 UTC
Closed due to lack of info.