Bug? VyOS Stream 2026.03

Hi all,

Running Stream 2026.03, I think this could be a bug, but wanted to check in with the community for feedback.

I simply tried deleting a dhcpv6 configuration line (the only one) and it threw an error.

admin@server:~$ show configuration commands | match dhcpv6
set interfaces pppoe pppoe0 dhcpv6-options pd 0 length '56'

admin@server:~$ conf
[edit]
admin@server# delete interfaces pppoe pppoe0 dhcpv6-options pd 0 length '56'
[edit]
admin@server# commit
[ interfaces pppoe pppoe0 ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 157, in run_script
    script.apply(c)
  File "/usr/libexec/vyos//conf_mode/interfaces_pppoe.py", line 132, in apply
    p.update(pppoe)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/pppoe.py", line 154, in update
    self._cmd(f'rdisc6 --single --retry 3 {self.ifname}')
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 66, in _cmd
    return cmd(command, self.debug, env=env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 174, in cmd
    raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: rdisc6 --single --retry 3 pppoe0
returned: Soliciting ff02::2 (ff02::2) on pppoe0...
Timed out.
Timed out.
Timed out.
No response.
exit code: 2

[[interfaces pppoe pppoe0]] failed
Commit failed
[edit]

Config is below:

interfaces {
    ethernet eth0 {
        description WAN
        duplex full
        hw-id xx:xx:xx:xx:xx:xx
        speed 10000
        vif 40 {
            description WAN_ISP_MANDATED_VLAN_40
        }
    }
    ethernet eth1 {
        address XXX.XXX.XXX.XXX/24
        description LAN
        duplex auto
        hw-id xx:xx:xx:xx:xx:xx
    }
    loopback lo {
    }
    pppoe pppoe0 {
        authentication {
            password ****************
            username username@isp.com
        }
        dhcpv6-options {
            pd 0 {
                length 56
            }
        }
        ip {
            adjust-mss clamp-mss-to-pmtu
        }
        ipv6 {
            address {
                autoconf
            }
            adjust-mss clamp-mss-to-pmtu
        }
        mtu 1492
        no-peer-dns
        source-interface eth0.40
    }

You probably want to do:

delete interfaces pppoe pppoe0 dhcpv6-options

The way you do the delete it leaves everything after the dhcpv6-options in the config and only deletes the 56 which is not what you want. You want the whole node removed.

Regards,

Sander

@ginko regardless of available workarounds, anything with a traceback should is a bug. Could you please verify if this behavior persists in the latest rolling release? If it does, please file a report at https://vyos.dev and include the full configuration along with the steps to reproduce the issue.

Just tried and got the same bug:

admin@server:~$ conf
[edit]
admin@server# delete interfaces pppoe pppoe0 dhcpv6-options
[edit]
admin@server# commit
[ interfaces pppoe pppoe0 ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/services/vyos-configd", line 157, in run_script
    script.apply(c)
  File "/usr/libexec/vyos//conf_mode/interfaces_pppoe.py", line 132, in apply
    p.update(pppoe)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/pppoe.py", line 154, in update
    self._cmd(f'rdisc6 --single --retry 3 {self.ifname}')
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 66, in _cmd
    return cmd(command, self.debug, env=env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 174, in cmd
    raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: rdisc6 --single --retry 3 pppoe0
returned: Soliciting ff02::2 (ff02::2) on pppoe0...
Timed out.
Timed out.
Timed out.
No response.
exit code: 2

[[interfaces pppoe pppoe0]] failed
Commit failed
[edit]
admin@server#

Will do so and report back.

Happy to report the earlier reported issue didn’t re-appear on the latest nightly. I was able to delete dhcpv6-options from my config:



Welcome to VyOS!

   ┌── ┐
   . VyOS 2026.04.13-0034-rolling
   └ ──┘  current

 * Documentation:  https://docs.vyos.io/en/latest
 * Project news:   https://blog.vyos.io
 * Bug reports:    https://vyos.dev

You can change this banner using "set system login banner post-login" command.

VyOS is a free software distribution that includes multiple components,
you can check individual component licenses under /usr/share/doc/*/copyright

---
WARNING: This VyOS system is not a stable long-term support version and
         is not intended for production use.


admin@server:~$ show configuration commands | match dhcpv6
set interfaces pppoe pppoe0 dhcpv6-options pd 0 length '56'
admin@server:~$ conf
[edit]
admin@server# delete interfaces pppoe pppoe0 dhcpv6-options 
[edit]
admin@server# commit
[edit]
admin@server#