kern/164475: gre misses RUNNING flag after a reboot
Eugene M. Zheganin
eugene at zhegan.in
Wed Jan 25 10:20:10 UTC 2012
>Number: 164475
>Category: kern
>Synopsis: gre misses RUNNING flag after a reboot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 25 10:20:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Eugene M. Zheganin
>Release: 8.2-RELEASE
>Organization:
RealService LLC
>Environment:
FreeBSD moscow-omega 8.2-RELEASE FreeBSD 8.2-RELEASE #1: Tue Aug 23 16:30:54 YEKST 2011 emz at moscow-omega:/usr/obj/usr/src/sys/MOSCOW amd64
>Description:
gre misses RUNNING flag after a reboot and thus cannot function. I have to 'up' it manually.
>How-To-Repeat:
Create a gre interface and reboot.
>Fix:
Place this script in /usr/local/etc/rc.d/
#!/bin/sh
#
# PROVIDE: fixgre
# REQUIRE: LOGIN NETWORKING
. /etc/rc.subr
name="fixgre"
rcvar=`set_rcvar`
start_cmd="start_cmd"
start_cmd () {
for i in `ifconfig | grep gre | awk -F: '{print $1}'`
do
ifconfig $i up
done
}
load_rc_config $name
run_rc_command "$1"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list