Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46876 - hotplug usb.agent error on reboot/shutdown
Summary: hotplug usb.agent error on reboot/shutdown
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
Depends on:
Reported: 2004-04-05 10:45 UTC by Jeff
Modified: 2004-04-14 10:13 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jeff 2004-04-05 10:45:04 UTC
I get the following on reboot:
usb.agent line 439 Cannot remove /var/run/usb is a directory.
My simple fix was to change:
(line 439)$REMOVER
    rm -f $REMOVER

    rm -rf $REMOVER

BTW-Thanks for all your recent work on hotplug Greg KH, much appreciated.
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-04-12 13:54:35 UTC
Hm, no this shouldn't be a problem, as we only want to delete the file in that directory that matches up with the device being removed, we don't want
to remove the whole directory.

Exactly what device removal causes this?
Comment 2 Jeff 2004-04-14 10:08:37 UTC
Not sure, let me change usb.agent back to original and I'll get back to you.
Comment 3 Jeff 2004-04-14 10:13:18 UTC
Couple of days ago upgraded kernel to 2.6.5, not getting it now after changing back usb.agent.
False alarm I guess, sorry 'bout that.