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

Bug 210082

Summary: dev-libs/openct installs useless hotplug stuff
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 145809    

Description Jakub Moc (RETIRED) gentoo-dev 2008-02-14 08:27:04 UTC
<snip>
if use usb ; then
        insinto /etc/hotplug/usb
        doins etc/openct.usermap || die
        exeinto /etc/hotplug/usb
        newexe etc/openct_usb openct || die
fi
</snip>

Well, that won't do anything useful without hotplug; in fact it won't do anything useful even with hotplug installed on udev systems, so USE=usb is a wrong check. I'd suggest to just completely drop this, the ebuild already installs udev rules and scripts anyway.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-14 19:08:49 UTC
Is that policy to drop hotplug stuff from Gentoo?
Is udev will be a requirement for future layouts?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-14 19:14:14 UTC
Hmmm, I don't really understand what you are asking here? udev is required unless you maintain static /dev... plus USE="usb" tells us exactly zero about whether the user actually has udev installed or not. The /etc/hotplug stuff is completely useless on any udev system.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-14 19:22:11 UTC
If I understand correctly, there is an old preudev hotplug configuration... There are a lot of packages with usb USE flag that use it, one comes to mind libgphoto2... Are you sure nobody uses this interface?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-14 19:27:30 UTC
media-libs/libgphoto2 doesn't install any such stuff. The only two ebuilds that install anything to /etc/hotplug are this one and sci-geosciences/gpsd (Bug 210079). It will be completely unused on any udev-based system - udev doesn't use hotplug since 096 or so...
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-02-15 09:29:54 UTC
OK. Removed hotplug stuff.
Do you use this package?