summaryrefslogtreecommitdiff
path: root/lang/python/python-platformdirs
diff options
context:
space:
mode:
authorOliver Sedlbauer <osedlbauer@tdt.de>2023-08-16 17:24:56 +0200
committerOliver Sedlbauer <osedlbauer@tdt.de>2023-09-01 13:46:45 +0200
commitac806e99212e43358816ccd733a5fdb7013ef234 (patch)
treeae3fbfb97c0b6703afd87e52b423a0bc7558d3ce /lang/python/python-platformdirs
parent4299e892def0812ba904aa8e662e3608f8198610 (diff)
modemmanager: Fix Permission Denied error
The proto_send_update function is sending a notification to netifd during the teardown section. However, netifd filters link update notifications executed during teardown, as indicated here: https://git.openwrt.org/?p=project/netifd.git;a=blob;f=proto-shell.c#l515 This was leading to a Permission Denied error due to its behavior, making proto_send_update ineffective during teardown. To address the issue, the proto_send_update function has been removed from the teardown section. This prevents the Permission Denied error while ensuring proper operation during teardown. Additionally, in the 10-report-down helper script, a check has been implemented to determine if the interface is already down. This check is crucial to avoid triggering a Permission Denied error, especially in cases where netifd is already aware of a controlled ifdown operation. Signed-off-by: Oliver Sedlbauer <osedlbauer@tdt.de>
Diffstat (limited to 'lang/python/python-platformdirs')
0 files changed, 0 insertions, 0 deletions