Package: wide-dhcpv6-client
Version: 20080615-13
Followup-For: Bug #725702

Having the symptoms of this bug as well.

This is from /var/log/syslog:

    [...]
    Jun  2 01:45:55 love dhcp6c[8673]: dhcp6_reset_timer: reset a timer on 
ppp0, state=RELEASE, timeo=4, retrans=16868
    Jun  2 01:46:12 love dhcp6c[8673]: client6_timo: no responses were received
    Jun  2 01:46:12 love dhcp6c[8673]: dhcp6_remove_event: removing an event on 
ppp0, state=RELEASE
    Jun  2 01:46:12 love dhcp6c[8673]: check_exit: exiting
    Jun  2 02:12:30 love dhcp6c[18495]: get_duid: extracted an existing DUID 
from /var/lib/dhcpv6/dhcp6c_duid: [duid elided]
    Jun  2 02:12:30 love dhcp6c[18495]: client6_init: setsockopt(SO_REUSEPORT): 
Protocol not available
    Jun  4 08:44:10 love dhcp6c[21084]: get_duid: extracted an existing DUID 
from /var/lib/dhcpv6/dhcp6c_duid: [duid elided]
    Jun  4 08:44:10 love dhcp6c[21084]: client6_init: setsockopt(SO_REUSEPORT): 
Protocol not available
    Jun  4 08:46:41 love dhcp6c[21147]: client6_init: setsockopt(SO_REUSEPORT): 
Protocol not available
    Jun  4 08:46:47 love dhcp6c[21150]: get_duid: extracted an existing DUID 
from /var/lib/dhcpv6/dhcp6c_duid: [duid elided]
    Jun  4 08:46:47 love dhcp6c[21150]: client6_init: setsockopt(SO_REUSEPORT): 
Protocol not available
    Jun  4 08:47:29 love dhcp6c[21166]: get_duid: extracted an existing DUID 
from /var/lib/dhcpv6/dhcp6c_duid: [duid elided]
    Jun  4 08:47:29 love dhcp6c[21166]: client6_init: setsockopt(SO_REUSEPORT): 
Protocol not available

Strace shows this, associated with the last two lines, I think:

    21166 1433400449.523386 execve("/usr/sbin/dhcp6c", ["dhcp6c", "-D", "-p", 
"/var/run/dhcp6c-xs4all.pid", "ppp0"], [/* 20 vars */]) = 0
    [...]
    21166 1433400449.603832 open("/etc/wide-dhcpv6/dhcp6cctlkey", O_RDONLY) = 4
    21166 1433400449.603975 fstat64(4, {st_mode=S_IFREG|0600, st_size=33, ...}) 
= 0
    21166 1433400449.604061 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77d0000
    21166 1433400449.604187 read(4, [elided], 4096) = 33
    21166 1433400449.604299 close(4)        = 0
    21166 1433400449.604372 munmap(0xb77d0000, 4096) = 0
    21166 1433400449.604487 socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, 
IPPROTO_UDP) = 4
    21166 1433400449.604590 setsockopt(4, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 
-1 ENOPROTOOPT (Protocol not available)
    21166 1433400449.604700 time(NULL)      = 1433400449
    21166 1433400449.604788 send(3, "<27>Jun  4 08:47:29 dhcp6c[21166"..., 97, 
MSG_NOSIGNAL) = 97
    21166 1433400449.604962 exit_group(1)   = ?
    21166 1433400449.605131 +++ exited with 1 +++

I suspect it's this fragment in dhcp6c.c (taken from upstream git repo):

     290         if (setsockopt(sock, SOL_SOCKET, SO_REUSEPORT,
     291                        &on, sizeof(on)) < 0) {
     292                 dprintf(LOG_ERR, FNAME,
     293                     "setsockopt(SO_REUSEPORT): %s", strerror(errno));
     294                 exit(1);
     295         }

... although it doesn't seem to correspond exactly with the strace output.

No idea why this would fail: socket(7) suggests this should be ok.

Vincent.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (500, 'oldstable-updates'), 
(500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages wide-dhcpv6-client depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-18
ii  lsb-base               4.1+Debian13+nmu1
ii  sharutils              1:4.15.1-1

wide-dhcpv6-client recommends no packages.

wide-dhcpv6-client suggests no packages.

-- Configuration Files:
/etc/wide-dhcpv6/dhcp6c.conf changed:
interface ppp0
{
        send ia-pd 0;
};
id-assoc pd 0 {
        prefix-interface eth0  {
                sla-id 19;
        };
        prefix-interface wlan0 {
                sla-id 83;
        };
};


-- debconf information:
* wide-dhcpv6-client/interfaces:

-- 
Vincent Zweije <vinc...@zweije.nl>   | "If you're flamed in a group you
<http://www.xs4all.nl/~zweije/>      | don't read, does anybody get burnt?"
[Xhost should be taken out and shot] |            -- Paul Tomblin on a.s.r.

Attachment: signature.asc
Description: Digital signature

Reply via email to