Ticket #322 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

fwifupdown broken

Reported by: tg Assigned to: spaetzle, wbx
Priority: blocker Milestone: 1.1
Component: packages Version: trunk
Keywords: Cc:

Description

After fixing failsafe (hrhr) I tried to manually ifup the interfaces (with mount_root etc. run of course):

root@(none):/tmp # ifup -v eth0.1
run-parts /etc/network/if-pre-up.d
\x0D \x1B[32;01m*\x1B[0m Starting vlan eth0.1 ...\x1B[0m
\x0D \x1B[32;01m*\x1B[0m \x1B[2CCreating vlan eth0.1\x1B[0m\x0D \x1B[31;01m*\x1B[0m \x1B[200C\x1B[6D\x1B[34;01m[ \x1B[31;01m!!\x1B[34;01m ]\x1B[0m
\x0D\x1B[3C\x1B[2C\x1B[36;01mError: vconfig executable not found\x1B[0m\x1B[0m
\x0D \x1B[32;01m*\x1B[0m \x1B[200C\x1B[6D\x1B[34;01m[ \x1B[32;01mok\x1B[34;01m ]\x1B[0m
\x0D \x1B[32;01m*\x1B[0m \x1B[2CBringing up vlan eth0.1\x1B[0m\x0D \x1B[32;01m*\x1B[0m \x1B[200C\x1B[6D\x1B[34;01m[ \x1B[32;01mok\x1B[34;01m ]\x1B[0m

Some comments:

• don't use colour codes please
• if you use them, do it right (hint: echo -e is not portable,
  but printf is)
• this is with mksh, and ash can do even less

Attachments

screenlog.0 (10.9 kB) - added by tg on 06/11/07 12:20:25.
log from dusk till dawn

Change History

06/08/07 19:03:16 changed by tg

I fixed most of it, but it still doesn't configure anything properly. I'll re-test that on Monday with a serial console attached, because it's not easily verifyable from telnet-failsafe (because eth0 is already in use then).

06/11/07 12:20:25 changed by tg

  • attachment screenlog.0 added.

log from dusk till dawn

06/11/07 12:22:30 changed by tg

This still doesn't work (even starting up not, much worse is shutting down). I'm quite at a loss here, for I don't see what's going on behind the scenes. Maybe you should throw the commands that are to be executed at logger(1), I think syslogd is run before the network is up, and so we could use logread to check what was going on.

By the way: please bump dashvers if changing the content of packages.

06/21/07 17:26:43 changed by spaetzle

  • status changed from new to closed.
  • resolution set to fixed.

fixed in rev 2874


Add/Change #322 (fwifupdown broken)




Action