misc/87574: ifconfig create does not print device name to STDOUT when creation was successfull

Vladimir Kotal vlada at devnull.cz
Mon Oct 17 08:30:16 PDT 2005


>Number:         87574
>Category:       misc
>Synopsis:       ifconfig create does not print device name to STDOUT when creation was successfull
>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:   Mon Oct 17 15:30:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Kotal
>Release:        4.11-RELEASE
>Organization:
>Environment:
FreeBSD  4.11-RELEASE FreeBSD 4.11-RELEASE #0: Fri Jan 21 17:21:22 GMT 2005     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
in ifconfig(8) man page it is stated that 

'If creation of an arbitrary device is successful, the new device name is printed to standard output.'

This does not correspond with actual behavior of ifconfig:

root@# ifconfig gif4 create
root@# ifconfig gif4
gif4: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
root@# 
>How-To-Repeat:
Try to create gif (and maybe other clone-ized) interface on FreeBSD 4.x and watch for successfull creation of the device followed by its name printed out to stdout.
>Fix:
either fix the man page or apply following patch:
http://techie.devnull.cz/public/patches/ifconfig.c-create.patch
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list