RPM FILE: dhcp-server-4.3.2-1.1.mga5.x86_64.rpm dhcpd6 service can't be started. The file /usr/lib/systemd/system/dhcpd6.service has a bug. Line 6 is: Environment=CONFIGFILE=/etc/dhcpd6.conf LEASEFILE=/var/lib/dhcp/dhcpd6.leases And it should be: Environment=CONFIGFILE=/etc/dhcpd6.conf LEASEFILE=/var/lib/dhcpd/dhcpd6.leases The RPM also should include an empty file named /var/lib/dhcpd/dhcpd6.leases because the deamon will not start if this file does not exist. It would be good if you also include an /etc/dhcpd6.conf sample file.
Source RPM: (none) => dhcp-server-4.3.2-1.1.mga5.x86_64.rpm
Hardware: i586 => All
Indeed, thanks for the report. The PID file definition is also wrong and there are some other files missing. I've committed some changes in SVN. Since this is easy to work around if you need to use it (and most don't), I don't see the need to issue an update just for this, but fixes for it will be included in any future update. What I don't have yet is a dhcpd6.conf file. I don't think the example one in the dhcp tarball (like the one in /usr/share/doc/dhcp-server for ipv4 dhcp) is an appropriate sample to put in /etc. Do you have a sample dhcpd6.conf that would be similar to the /etc/dhcpd.conf that we install?
CC: (none) => luigiwalser
Assigning to maintainer.
Assignee: bugsquad => shlomif
This is my working dhcpd6.conf file: default-lease-time 600; max-lease-time 7200; log-facility local7; subnet6 fd00::/64 { # Range for clients range6 fd00:0::1:0 fd00:0::1:ffff; # Range for clients requesting a temporary address range6 fd00:ffff::0/64 temporary; # Additional options option dhcp6.name-servers fd00::fe; option dhcp6.domain-search "localnet"; # Prefix range for delegation to sub-routers #prefix6 2001:db8:0:100:: 2001:db8:0:f00:: /56; # Example for a fixed host address #host specialclient { # host-identifier option dhcp6.client-id 00:01:00:01:4a:1f:ba:e3:60:b9:1f:01:23:45; # fixed-address6 2001:db8:0:1::127; #} } But you can find other sample here: http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/hints-daemons-isc-dhcp.html
Thanks for the tldp link. With that and some research I made a dhcpd6.conf and added it to the package. All of these changes will be available in the next update.
Depends on: (none) => 17490
The update is ready to test in Bug 17490.
Fixed: http://advisories.mageia.org/MGASA-2016-0028.html
Status: NEW => RESOLVEDResolution: (none) => FIXED