net-misc/dhcp does not include an init script for starting IPv6 dhcrelay agent. I have modified and attached conf.d and init.d files for this purpose. Reproducible: Always
Created attachment 311761 [details] init script for ipv6 dhcrelay Attach init script
Created attachment 311763 [details] conf.d for dhcrelay6 conf.d for dhcrelay6
Comment on attachment 311761 [details] init script for ipv6 dhcrelay no need for a sep script considering it's the same binary
should be all set now in the tree; thanks for the report! Commit message: Version bump, and add dhcrelay6 init.d support http://sources.gentoo.org/net-misc/dhcp/dhcp-4.2.3_p2.ebuild?rev=1.1 http://sources.gentoo.org/net-misc/dhcp/files/dhcrelay6.conf?rev=1.1 http://sources.gentoo.org/net-misc/dhcp/files/dhcrelay.init3?rev=1.1
The syntax for the invocation of dhcrelay is very different depending on the requirement for -4 or -6 support hence the separate init script. The -i that would still be there for dhcrelay6 for example is not valid.
i'm not a fan of adding dedicated variables that merely expand into command line options. so i'm not adding a 2nd init script. the excess -i is there regardless of ipv4 or ipv6, so that should be fixed independently. http://sources.gentoo.org/net-misc/dhcp/files/dhcrelay.init3?r1=1.1&r2=1.2 http://sources.gentoo.org/net-misc/dhcp/files/dhcrelay6.conf?r1=1.1&r2=1.2