Public bug reported:

Journalctl:

3-- A start job for unit networkd-dispatcher.service has begun execution.
--
-- The job identifier is 2671.
Aug 05 10:22:38 networkd-dispatcher[24517]: Traceback (most recent call last):
Aug 05 10:22:38 networkd-dispatcher[24517]:   File 
"/usr/bin/networkd-dispatcher", line 25, in <module>
Aug 05 10:22:38 networkd-dispatcher[24517]:     from gi.repository import GLib 
as glib  # pragma: no cover
Aug 05 10:22:38 networkd-dispatcher[24517]: ModuleNotFoundError: No module 
named 'gi'
Aug 05 10:22:38 networkd-dispatcher[24517]: During handling of the above 
exception, another exception occurred:
Aug 05 10:22:38 networkd-dispatcher[24517]: Traceback (most recent call last):
Aug 05 10:22:38 networkd-dispatcher[24517]:   File 
"/usr/bin/networkd-dispatcher", line 27, in <module>
Aug 05 10:22:38 networkd-dispatcher[24517]:     import glib                     
        # pragma: no cover
Aug 05 10:22:38 networkd-dispatcher[24517]: ModuleNotFoundError: No module 
named 'glib'
Aug 05 10:22:38 systemd[1]: networkd-dispatcher.service: Main process exited, 
code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit networkd-dispatcher.service has 
exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 05 10:22:38 systemd[1]: networkd-dispatcher.service: Failed with result 
'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
 An ExecStart= process belonging to unit networkd-dispatcher.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 05 10:22:38 systemd[1]: networkd-dispatcher.service: Failed with result 
'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit networkd-dispatcher.service has entered the 'failed' state with 
result 'exit-code'.
Aug 05 10:22:38 systemd[1]: Failed to start Dispatcher daemon for 
systemd-networkd.
-- Subject: A start job for unit networkd-dispatcher.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit networkd-dispatcher.service has finished with a failure.
--

systemctl status:

● networkd-dispatcher.service - Dispatcher daemon for systemd-networkd
     Loaded: loaded (/lib/systemd/system/networkd-dispatcher.service; enabled; 
vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2020-08-05 05:39:10 
    Process: 1118 ExecStart=/usr/bin/networkd-dispatcher 
$networkd_dispatcher_args (code=exited, status>
   Main PID: 1118 (code=exited, status=1/FAILURE)

Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]:     from 
gi.repository import GLib as glib  >
Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: ModuleNotFoundError: 
No module named 'gi'
Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: During handling of 
the above exception, anot>
Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: Traceback (most 
recent call last):
Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]:   File 
"/usr/bin/networkd-dispatcher", line >
Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]:     import glib      
                       >
Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: ModuleNotFoundError: 
No module named 'glib'
Aug 05 06:39:10 kortewegdevries systemd[1]: networkd-dispatcher.service: Main 
process exited, code=exit>
Aug 05 06:39:10 kortewegdevries systemd[1]: networkd-dispatcher.service: Failed 
with result 'exit-code'.
Aug 05 06:39:10 kortewegdevries systemd[1]: Failed to start Dispatcher daemon 
for systemd-networkd.

$ locate glib.py

/usr/lib/python3/dist-packages/dbus/glib.py
/usr/lib/python3/dist-packages/dbus/mainloop/glib.py

System:

Kernel: 5.8.0-12-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2
Distro: Ubuntu 20.10 (Groovy Gorilla) (*Proposed)

 networkd-dispatcher                                        2.0.1-1
linux-firmware                                              1.189
 ---------------------------------------------------
systemd,systemd-coredump,
systemd-sysv                                                245.7-1ubuntu1
---------------------------------------------------

Hopefully this is the right place to report. Tried installing packages
that contain glib.py didn't help.

** Affects: networkd-dispatcher (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Journalctl:
  
  3-- A start job for unit networkd-dispatcher.service has begun execution.
- -- 
+ --
  -- The job identifier is 2671.
  Aug 05 10:22:38 networkd-dispatcher[24517]: Traceback (most recent call last):
  Aug 05 10:22:38 networkd-dispatcher[24517]:   File 
"/usr/bin/networkd-dispatcher", line 25, in <module>
  Aug 05 10:22:38 networkd-dispatcher[24517]:     from gi.repository import 
GLib as glib  # pragma: no cover
  Aug 05 10:22:38 networkd-dispatcher[24517]: ModuleNotFoundError: No module 
named 'gi'
  Aug 05 10:22:38 networkd-dispatcher[24517]: During handling of the above 
exception, another exception occurred:
  Aug 05 10:22:38 networkd-dispatcher[24517]: Traceback (most recent call last):
  Aug 05 10:22:38 networkd-dispatcher[24517]:   File 
"/usr/bin/networkd-dispatcher", line 27, in <module>
  Aug 05 10:22:38 networkd-dispatcher[24517]:     import glib                   
          # pragma: no cover
  Aug 05 10:22:38 networkd-dispatcher[24517]: ModuleNotFoundError: No module 
named 'glib'
  Aug 05 10:22:38 systemd[1]: networkd-dispatcher.service: Main process exited, 
code=exited, status=1/FAILURE
  -- Subject: Unit process exited
  -- Defined-By: systemd
  -- Support: http://www.ubuntu.com/support
- -- 
+ --
  -- An ExecStart= process belonging to unit networkd-dispatcher.service has 
exited.
- -- 
+ --
  -- The process' exit code is 'exited' and its exit status is 1.
  Aug 05 10:22:38 systemd[1]: networkd-dispatcher.service: Failed with result 
'exit-code'.
  -- Subject: Unit failed
  -- Defined-By: systemd
  -- Support: http://www.ubuntu.com/support
-  An ExecStart= process belonging to unit networkd-dispatcher.service has 
exited.
- -- 
+  An ExecStart= process belonging to unit networkd-dispatcher.service has 
exited.
+ --
  -- The process' exit code is 'exited' and its exit status is 1.
  Aug 05 10:22:38 systemd[1]: networkd-dispatcher.service: Failed with result 
'exit-code'.
  -- Subject: Unit failed
  -- Defined-By: systemd
  -- Support: http://www.ubuntu.com/support
- -- 
+ --
  -- The unit networkd-dispatcher.service has entered the 'failed' state with 
result 'exit-code'.
  Aug 05 10:22:38 systemd[1]: Failed to start Dispatcher daemon for 
systemd-networkd.
  -- Subject: A start job for unit networkd-dispatcher.service has failed
  -- Defined-By: systemd
  -- Support: http://www.ubuntu.com/support
- -- 
+ --
  -- A start job for unit networkd-dispatcher.service has finished with a 
failure.
- -- 
+ --
  
  systemctl status:
  
  ● networkd-dispatcher.service - Dispatcher daemon for systemd-networkd
-      Loaded: loaded (/lib/systemd/system/networkd-dispatcher.service; 
enabled; vendor preset: enabled)
-      Active: failed (Result: exit-code) since Wed 2020-08-05 17:39:10 IST; 
31min ago
-     Process: 1118 ExecStart=/usr/bin/networkd-dispatcher 
$networkd_dispatcher_args (code=exited, status>
-    Main PID: 1118 (code=exited, status=1/FAILURE)
+      Loaded: loaded (/lib/systemd/system/networkd-dispatcher.service; 
enabled; vendor preset: enabled)
+      Active: failed (Result: exit-code) since Wed 2020-08-05 05:39:10 
+     Process: 1118 ExecStart=/usr/bin/networkd-dispatcher 
$networkd_dispatcher_args (code=exited, status>
+    Main PID: 1118 (code=exited, status=1/FAILURE)
  
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]:     from 
gi.repository import GLib as glib  >
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: 
ModuleNotFoundError: No module named 'gi'
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: During handling of 
the above exception, anot>
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: Traceback (most 
recent call last):
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]:   File 
"/usr/bin/networkd-dispatcher", line >
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]:     import glib    
                         >
  Aug 05 06:39:10 kortewegdevries networkd-dispatcher[1118]: 
ModuleNotFoundError: No module named 'glib'
  Aug 05 06:39:10 kortewegdevries systemd[1]: networkd-dispatcher.service: Main 
process exited, code=exit>
  Aug 05 06:39:10 kortewegdevries systemd[1]: networkd-dispatcher.service: 
Failed with result 'exit-code'.
  Aug 05 06:39:10 kortewegdevries systemd[1]: Failed to start Dispatcher daemon 
for systemd-networkd.
  
- 
  $ locate glib.py
  
  /usr/lib/python3/dist-packages/dbus/glib.py
  /usr/lib/python3/dist-packages/dbus/mainloop/glib.py
  
- System: 
-   
- Kernel: 5.8.0-12-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2 
+ System:
+ 
+ Kernel: 5.8.0-12-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2
  Distro: Ubuntu 20.10 (Groovy Gorilla) (*Proposed)
  
-  networkd-dispatcher                                        2.0.1-1   
- linux-firmware                                              1.189 
-  ---------------------------------------------------
+  networkd-dispatcher                                        2.0.1-1
+ linux-firmware                                              1.189
+  ---------------------------------------------------
  systemd,systemd-coredump,
  systemd-sysv                                                245.7-1ubuntu1
- ---------------------------------------------------                          
+ ---------------------------------------------------
  
  Hopefully this is the right place to report. Tried installing packages
  that contain glib.py didn't help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890438

Title:
  Ubuntu Groovy proposed:networkd-dispatcher.service
  ModuleNotFoundError: No module named 'glib'

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to