Ticket #131 (closed defect: fixed)

Opened 20 months ago

Last modified 20 months ago

runscript fails to bring up net.eth0 during startup when using netplug

Reported by: Matěj Laitl <matej@laitl.cz> Owned by: roy
Priority: major Milestone:
Component: rc Version: 0.4
Keywords: Cc: matej@laitl.cz

Description

Hi Roy,
I've encountered following regression in openrc-0.4.0, steps to reproduce:

  1. Add net.eth0 to default runlevel
  2. emerge netplug and enable it to be used by net.eth0 (this is afaik by default)
  3. boot your system with cable plugged into eth0.

### see that net.eth0 start was not triggered by netplug

  1. unplug and replug your cable. net.eth0 gets started.

I suspected netplug was to blame, so I edited /etc/netplug.d/netplug to log what it does:

# cat /etc/netplug.d/netplug
<cut>
export IN_BACKGROUND=true

if [ -x "${EXEC}" ]
then

logger -t netplug.d/netplug "Executing ${EXEC} ${ARGS} &> /dev/tty11"
${EXEC} ${ARGS} &> /dev/tty11

<cut>

syslog said:
netplug.d/netplug: Executing /etc/init.d/net.eth0 start &> /dev/tty11

tty11 said:
net.eth0 | *WARNING: net.eth0 will be started when the runlevel has finished

Regards, Matěj.

Change History

comment:1 Changed 20 months ago by Matěj Laitl <matej@laitl.cz>

  • Cc matej@laitl.cz added

comment:2 Changed 20 months ago by roy

  • Status changed from new to closed
  • Resolution set to fixed

This should be fixed in r1455 (and the typo in r1456)
Re-open if you disagree.

Note: See TracTickets for help on using tickets.