Unable to set up socket option IPV6_PKTINFO

Bug #67042 reported by Larry
2
Affects Status Importance Assigned to Milestone
dibbler (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Downloading the binaries for 0.5.0 from http://klub.com.pl/dhcpv6/#DOWNLOAD and replacing edgy's dibbler-client binary with the one from 0.5.0 solved the problem and did not generate the "Unable to set up socket option IPV6_PKTINFO" error.

root@stig:~# dibbler-client run
| Dibbler - a portable DHCPv6, version 0.4.2 (CLIENT, Linux port)
| Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
| Licence : GNU GPL v2 or later. Developed at Gdansk University of Technology.
| Homepage: http://klub.com.pl/dhcpv6/
19:58:43 Notice My pid (30148) is stored in /var/lib/dibbler/client.pid
19:58:43 Notice Detected iface vmnet8/6, MAC=00:50:56:c0:00:08.
19:58:43 Notice Detected iface vmnet1/5, MAC=00:50:56:c0:00:01.
19:58:43 Notice Detected iface sit0/4, MAC=00:00:00:00.
19:58:43 Notice Detected iface eth1/3, MAC=00:a0:cc:63:10:e8.
19:58:43 Notice Detected iface eth0/2, MAC=00:e0:18:ec:77:ea.
19:58:43 Notice Detected iface lo/1, MAC=00:00:00:00:00:00.
19:58:43 Notice Parsing /etc/dibbler/client.conf config file...
19:58:43 Debug Parsing /etc/dibbler/client.conf done.
19:58:43 Debug 0 interface(s) specified in /etc/dibbler/client.conf
19:58:43 Warning Config file does not contain any interface definitions.
19:58:43 Info Interface vmnet8/6 has been added.
19:58:43 Info Interface vmnet1/5 has been added.
19:58:43 Notice Interface sit0/4 is down, ignoring.
19:58:43 Notice Interface eth1/3 is down, ignoring.
19:58:43 Info Interface eth0/2 has been added.
19:58:43 Notice Interface lo/1 is not multicast capable, ignoring.
19:58:43 Info Bind reuse enabled.
19:58:43 Notice Creating control (::) socket on the lo/1 interface.
19:58:43 Error Unable to set up socket option IPV6_PKTINFO
19:58:43 Critical Proper socket creation failed.
19:58:43 Critical Fatal error during TransMgr initialization.
19:58:43 Notice Bye bye.
19:58:43 Debug ClntTransMgr cleanup.
19:58:43 Debug ClntCfgMgr cleanup.
19:58:43 Debug ClntAddrMgr cleanup.
19:58:43 Debug ClntIfaceMgr cleanup.

larry@stig:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:18:EC:77:EA
          inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
          inet6 addr: fe80::2e0:18ff:feec:77ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:476300 errors:0 dropped:0 overruns:0 frame:0
          TX packets:389749 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:535961037 (511.1 MiB) TX bytes:105587792 (100.6 MiB)
          Interrupt:185

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:118 errors:0 dropped:0 overruns:0 frame:0
          TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13140 (12.8 KiB) TX bytes:13140 (12.8 KiB)

vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
          inet addr:192.168.21.1 Bcast:192.168.21.255 Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
          inet addr:192.168.170.1 Bcast:192.168.170.255 Mask:255.255.255.0
          inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

larry@stig:~$

root@stig:~# cat /etc/dibbler/client.conf
# Defaults for dibbler-client.
# installed at /etc/dibbler/client.conf by the maintainer scripts

# 8 (Debug) is most verbose. 7 (Info) is usually the best option
log-level 8

# To perform stateless (i.e. options only) configuration, uncomment
# this line below and remove any "ia" keywords from interface definitions
# stateless

iface eth0 {
# ask for address
    ia

# ask for options
    option dns-server
# option domain
# option ntp-server
# option time-zone
# option sip-server
# option sip-domain
# option nis-server
# option nis-domain
# option nis+-server
# option nis+-domain
}

root@stig:~#

root@stig:~# uname -a
Linux stig 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I can reproduce this (both the problem and the fix). Packaging 0.5.0 would fix this.

Changed in dibbler:
status: Unconfirmed → Confirmed
Revision history for this message
Tomek Mrugalski (thomson-klub) wrote :

This is very old issue. It was fixed in 0.5.0. Latest upstream (and packaged, at least in Debian) is 0.7.1.
I think this bug should be closed.

Changed in dibbler:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.