Bug 148017

Summary: [stf] [patch] rc script for stf does not honour create_flags
Product: Base System Reporter: mwisnicki+freebsd
Component: confAssignee: Hiroki Sato <hrs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.1-PRERELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mwisnicki+freebsd 2010-06-20 19:00:11 UTC
If I enable 6to4 with stf_interface_ipv4addr there is no way to set
configuration for created interface using create_args_stf0 even though
startup scripts create such [interface].

[nb: bugmeister edit]

Fix: Apply attached patch

Patch attached with submission follows:
How-To-Repeat: cat << EOT >> /etc/rc.conf
ipv6_enable="YES"
stf_interface_ipv4addr="YOUR IP"
create_args_stf0="group ext"
EOT
ifconfig stf0 destroy
/etc/rc.d/network_ipv6 restart
ifconfig -g ext
# no interfaces listed
Comment 1 mwisnicki 2010-06-20 19:18:07 UTC
Err... I meant "create such interface".
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-06-21 04:27:54 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-rc

Over to maintainer(s).
Comment 3 Hiroki Sato freebsd_committer 2010-06-21 04:42:41 UTC
Responsible Changed
From-To: freebsd-rc->hrs

I'll take this.
Comment 4 mwisnicki+freebsd 2014-10-11 18:27:40 UTC
Any news ? :)

The code moved from network.subr to rc.d/stf.
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:45:54 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.