On Sunday, 9 August 2026 03:21:55 AEST Chris Hofstaedtler wrote:
> On Sat, Aug 08, 2026 at 04:52:46PM +1000, Russell Coker wrote:
> > Package: wide-dhcpv6-client
> > Version: 20080615-24
> > Severity: normal
> > 
> > root@xev:~# service wide-dhcpv6-client restart
> > Failed to restart wide-dhcpv6-client.service: Unit
> > wide-dhcpv6-client.service not found. root@xev:~#
> > /etc/init.d/wide-dhcpv6-client restart
> > Restarting wide-dhcpv6-client (via systemctl):
> > wide-dhcpv6-client.serviceFailed to restart wide-dhcpv6-client.service:
> > Unit wide-dhcpv6-client.service not found.> 
> >  failed!
> 
> This is basically a dupe of #1039419.

This service file has basically worked for me.  Just need a way of configuring 
the interface.

[Unit]
Description=wide-dhcpv6-client

[Service]
RestartSec=20
Restart=always
ExecStart=/usr/sbin/dhcp6c -f -Pdefault ppp0
ExecReload=/bin/kill -HUP $MAINPID
KillMode=mixed
Type=simple
RestartForceExitStatus=133
SuccessExitStatus=133

CapabilityBoundingSet=CAP_ CAP_DAC_OVERRIDE CAP_FSETID CAP_NET_ADMIN 
CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETPCAP CAP_SETUID 
CAP_SYS_CHROOT CAP_SYS_NICE CAP_SYS_RESOURCE CAP_SYS_TTY_CONFIG
ProtectSystem=true
ProtectControlGroups=true
RestrictSUIDSGID=false
NoNewPrivileges=false
ProtectHostname=true
PrivateDevices=false
ProtectClock=true
MemoryDenyWriteExecute=true
PrivateTmp=true
RestrictNamespaces=false
ProtectKernelLogs=true
ProtectKernelModules=false
ProtectKernelTunables=false
ProtectHome=false
RestrictAddressFamilies=AF_PACKET AF_INET AF_INET6 AF_NETLINK AF_UNIX

[Install]
WantedBy=multi-user.target


-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

Reply via email to