Summary: | udev does not respect for networking RC_COLDPLUG=no | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] Core system | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexxy, base-system, roy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 191466 | ||
Bug Blocks: |
Description
SpanKY
![]() This could be a solution: In udev-start: touch /dev/.udev_no_rc_call ... usual udevtrigger ... udevsettle rm /dev/.udev_no_rc_call And in net.sh (that runs the services) do: if [ -e /dev/.udev_no_rc_call ]; then exit 0 fi Second possibility (same effect just using nicer interface): Inject a variable into the udev-events: udevadm control --env do_not_run_rc=1 udevtrigger udevsettle udevadm control --env do_not_run_rc= OpenRC now says if rc_coldplug=no, ignore udev coldplug requests. This has a knock on effect of the udev-postmount script not running. I don't know how important that is to udev with regard to this. (In reply to comment #2) > Second possibility (same effect just using nicer interface): > > Inject a variable into the udev-events: > udevadm control --env do_not_run_rc=1 > udevtrigger > udevsettle > udevadm control --env do_not_run_rc= > This has been implemented in udev-118-r1. Hmm... I have latest versions of openrc and udev-118-r1 in rc.conf rc_coldplug=yes but no interfaces starts automaticaly at boot (In reply to comment #5) > Hmm... > I have latest versions of openrc and udev-118-r1 > in rc.conf rc_coldplug=yes but no interfaces starts automaticaly at boot > Is this more than slightly related to the content of this bug? I guess this belongs to bug 208245. |