When starting dhcp6s (dhcp6s -vf) it always outputs: "failed to open DUID file for save" stracing it provides among others the following: open("/var/lib/lib/dhcpv6/dhcp6s_duid", O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory) time(NULL) = 1261052052 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2245, ...}) = 0 write(2, "Dec/17/2009 14:14:12 failed to op"..., 55Dec/17/2009 14:14:12 failed to open DUID file for save ) = 55 The ebuild does: dodir /var/lib/dhcpv6 so the /var/lib/lib/dhcpv6 dir does not exist and dhpc6s stops from running. Reproducible: Always Steps to Reproduce: 1. emerge net-misc/dhcpv6-1.2.0 2. dhcp6s -vf The problem can be fixed by altering the ebuild and replacing the econf line with this one: econf "--localstatedir=/var" || die The following line should also be appended to the src_install section: dodir /var/run/dhcpv6
Please fix it, thanks :-)
I'm seeing this as well, in the same version (net-misc/dhcpv6-1.2.0). This should be a simple fix, right?
I can confirm that okias's fix works.
While you're at it, you'll also need dodir /var/run/dhcpv6
Also ran into this bug (was just trying to test the NAT64 network at IETF 78...Simple fix, but no one seems to have paid attention for a while.
fixed in dhcpv6-1.2.0-r1.ebuild thanks :)