glean/glean
Clark Boylan f07e8dd438 Handle udev move events in addition to add events
It seems on CentOS 9 (maybe others?) instance boot with an eth0
interface that is renamed to something like ens3. When that renaming
happens it seems to short circuit eth0 udev event handling so glean
never sees an add event for eth0 (which wouldn't be correct anyway since
it has been renamed). Then the ens3 event is a move event and our udev
rule doesn't match that which means we never run glean for ens3 either.

Fix this by handling add|move in the ACTION list of our udev rule for
glean so that we run glean for ens3 when it has been moved.

Change-Id: I5369afb425dcf17e7539a4dd000231830862802b
2022-04-01 08:39:05 -07:00
..
_vendor Add Rocky Linux support 2022-02-23 12:45:57 -08:00
init Handle udev move events in addition to add events 2022-04-01 08:39:05 -07:00
tests Add Rocky Linux support 2022-02-23 12:45:57 -08:00
__init__.py Rename module to Glean 2015-04-13 04:45:28 +00:00
__main__.py Stop requiring /usr/local/bin links for glean.sh 2021-04-28 08:18:02 +10:00
cmd.py Add Rocky Linux support 2022-02-23 12:45:57 -08:00
install.py Cleanup glean.sh variable names 2021-04-28 08:18:02 +10:00
systemlock.py Create systemwide lock for glean 2015-08-17 14:56:09 +00:00
utils.py Update hacking and fix pep8 violations 2021-04-28 08:17:52 +10:00