** Description changed:

  Hi everyone,
  
  We have an issue with latest version of systemd on Ubuntu 22.04
  (249.11-0ubuntu3.12).
  
  We have a udev rule running a service (custom wpa supplicant) on physical 
wired network devices that is not working during boot process anymore.
- The same rule works fine with a usb dongle I unplug and plug back after the 
machine has started.
- 
- A colleague has rebuilt systemd package by reverting below patch and
- everything started working again
- 
- core/device: ignore DEVICE_FOUND_UDEV bit on switching root (LP: #2037281)
-     File: 
debian/patches/lp2037281-core-device-ignore-DEVICE_FOUND_UDEV-bit-on-switching-roo.patch
-     
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=00f86f0b20f794f30aabe7181912d2ec2207e292
- 
- This is causing an issue to access network when the machine is starting.
+ The same rule works fine with a usb dongle when I unplug it and plug it back 
after the machine has started.
  
  ```
  ACTION=="add|move", SUBSYSTEM=="net", TAG+="systemd", ENV{DEVTYPE}!="wlan", 
DEVPATH!="/devices/virtual/*",\
-   ENV{SYSTEMD_WANTS}+="supplicant-wired@$name.service"
+   ENV{SYSTEMD_WANTS}+="supplicant-wired@$name.service"
  ```
+ 
+ A colleague has rebuilt systemd package by reverting below patch and
+ everything started working again:
+ 
+ core/device: ignore DEVICE_FOUND_UDEV bit on switching root (LP: #2037281)
+     File: 
debian/patches/lp2037281-core-device-ignore-DEVICE_FOUND_UDEV-bit-on-switching-roo.patch
+     
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=00f86f0b20f794f30aabe7181912d2ec2207e292
+ 
+ This is causing us an issue to access network when the machine is
+ starting.
+ 
  
  Does above patch requires a change in the udev rule we are using ?
  
  Thanks in advance for your help.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2051358

Title:
  Start of systemd service on physical network devices using a udev rule
  has stopped working

Status in systemd package in Ubuntu:
  New

Bug description:
  Hi everyone,

  We have an issue with latest version of systemd on Ubuntu 22.04
  (249.11-0ubuntu3.12).

  We have a udev rule running a service (custom wpa supplicant) on physical 
wired network devices that is not working during boot process anymore.
  The same rule works fine with a usb dongle when I unplug it and plug it back 
after the machine has started.

  ```
  ACTION=="add|move", SUBSYSTEM=="net", TAG+="systemd", ENV{DEVTYPE}!="wlan", 
DEVPATH!="/devices/virtual/*",\
    ENV{SYSTEMD_WANTS}+="supplicant-wired@$name.service"
  ```

  A colleague has rebuilt systemd package by reverting below patch and
  everything started working again:

  core/device: ignore DEVICE_FOUND_UDEV bit on switching root (LP: #2037281)
      File: 
debian/patches/lp2037281-core-device-ignore-DEVICE_FOUND_UDEV-bit-on-switching-roo.patch
      
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=00f86f0b20f794f30aabe7181912d2ec2207e292

  This is causing us an issue to access network when the machine is
  starting.

  
  Does above patch requires a change in the udev rule we are using ?

  Thanks in advance for your help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2051358/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to