lueschem / edi

Embedded development infrastructure.
https://www.get-edi.io
GNU Lesser General Public License v3.0
38 stars 12 forks source link

Trigger udev rule execution during postinst #70

Open lueschem opened 3 years ago

lueschem commented 3 years ago

Current Behaviour

During release upgrade new edi udev rules do not get executed:

  1. Ubuntu with edi installed gets upgraded to new release.
  2. During upgrade edi gets removed because it is no longer part of the sources.list.
  3. edibr* is still in place.
  4. edi gets re-installed.
  5. The existing edibr* do not get modified by the newly installed udev rules.
  6. Some containers linked to edibr* will not get an IPv4 address.
  7. A reboot or a manual triggering of the udev rules is required to apply the changes to edibr*.

Desired Behaviour

The udev changes should be applied without reboot - e.g. during postinst.