Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32768 - cupsd no dependency on hotplug or network card activation
Summary: cupsd no dependency on hotplug or network card activation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 21:40 UTC by Derk W te Bokkel
Modified: 2003-11-05 12:07 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 Derk W te Bokkel 2003-11-04 21:40:17 UTC
Hi, 
 cupsd  lacks some depndencies if usb hotplugging is used. also it does not seem to 
use the net dependency properly .. ie it will load if only 'lo' is up and not wait for the 
ethernet card init.d scripts to load .. i.e. net.eth0, net.eth? etc. 
(part of cups printer driver software) 
 
This causes it to bork on a reboot. 
 
My fix is to add the lines: 
 
after hotplug 
after net.eth0 
after net.eth1 
 
 to the depend() {    }  section 
 
could we get this or a better fix added to the /etc/init.d/cupsd code? 
 
derk 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-05 12:07:56 UTC
I added use hotplug to the init script, there are problems with the "use"-flag,
but they are baselayout related. If it does not work for you please change
the init script yourself, these problems will hopefully be solved soon.