← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2129021] Re: ERROR:Unknown state for interface

 

Any idea how to actually reproduce this? Does your `networkctl list`
output actually contain a '-'?

Without knowing much about networkd-dispatcher, I would say it should
just ignore unmanaged interfaces (i.e. administrative="unmanaged"), and
then the unknown operational state is irrelevant. Though I am not
exactly sure where the '-' is coming from.

** Changed in: networkd-dispatcher (Ubuntu)
       Status: New => Incomplete

** Changed in: networkd-dispatcher (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to networkd-dispatcher in
Ubuntu.
https://bugs.launchpad.net/bugs/2129021

Title:
  ERROR:Unknown state for interface

Status in networkd-dispatcher package in Ubuntu:
  Incomplete

Bug description:
  From the log. Not sure if it causes any actual problems.

  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: ERROR:Unknown state for interface NetworkctlListState(idx=1, name='lo', type='loopback', operational='-', administrative='unmanaged'): -
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: Traceback (most recent call last):
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:   File "/usr/bin/networkd-dispatcher", line 299, in trigger_all
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     self.handle_state(iface_name,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       administrative_state=iface.administrative,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       operational_state=iface.operational,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       force=True)
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:   File "/usr/bin/networkd-dispatcher", line 349, in handle_state
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     raise UnknownState(operational_state)
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: UnknownState: -
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: ERROR:Unknown state for interface NetworkctlListState(idx=2, name='enp2s0', type='ether', operational='-', administrative='unmanaged'): -
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: Traceback (most recent call last):
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:   File "/usr/bin/networkd-dispatcher", line 299, in trigger_all
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     self.handle_state(iface_name,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       administrative_state=iface.administrative,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       operational_state=iface.operational,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       force=True)
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:   File "/usr/bin/networkd-dispatcher", line 349, in handle_state
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     raise UnknownState(operational_state)
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: UnknownState: -
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: ERROR:Unknown state for interface NetworkctlListState(idx=3, name='enp3s0', type='ether', operational='-', administrative='unmanaged'): -
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: Traceback (most recent call last):
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:   File "/usr/bin/networkd-dispatcher", line 299, in trigger_all
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     self.handle_state(iface_name,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       administrative_state=iface.administrative,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       operational_state=iface.operational,
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       force=True)
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:                       ^^^^^^^^^^^
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:   File "/usr/bin/networkd-dispatcher", line 349, in handle_state
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]:     raise UnknownState(operational_state)
  Oct 20 11:32:27 gollum networkd-dispatcher[1350]: UnknownState: -

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: networkd-dispatcher 2.2.4-1.1
  ProcVersionSignature: Ubuntu 6.14.0-29.29-generic 6.14.8
  Uname: Linux 6.14.0-29-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.32.0-0ubuntu5.3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 20 13:24:16 2025
  InstallationDate: Installed on 2024-03-04 (595 days ago)
  InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
  SourcePackage: networkd-dispatcher
  UpgradeStatus: Upgraded to plucky on 2025-05-28 (145 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/networkd-dispatcher/+bug/2129021/+subscriptions



References