[FS#3493] hotplug firmware scripts run twice for each device, for ACTION=add, and ACTION=remove

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Dec 7 21:34:09 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - John (johnth) 

Attached to Project - OpenWrt/LEDE Project
Summary - hotplug firmware scripts run twice for each device, for ACTION=add, and ACTION=remove
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Test device: ath79 mikrotik wap-g on snapshot r15165-66d12ce667

Reproduce:
Modify /etc/hotplug.d/firmware/*, or called settings to log to a file:

root at OpenWrt:~# grep -r hotplug.log /etc/hotplug.d/firmware/
/etc/hotplug.d/firmware/10-ath9k-eeprom:        echo "$(date +%s): 10-ath9k-eeprom $ACTION" >> /tmp/hotplug.log
/etc/hotplug.d/firmware/11-ath10k-caldata:              echo "$(date +%s): 11-ath10k-eeprom $ACTION" >> /tmp/hotplug.log
root at OpenWrt:~# grep -r hotplug.log /lib/functions/caldata.sh 
        echo "$(date +%s): caldata sysfsload_from_file $ACTION" >> /tmp/hotplug.log



root at OpenWrt:~# cat /tmp/hotplug.log 
1607349214: caldata sysfsload_from_file add
1607349214: 11-ath10k-eeprom add
1607349214: caldata sysfsload_from_file remove
1607349214: 11-ath10k-eeprom remove
1607349218: 10-ath9k-eeprom add
1607349218: caldata sysfsload_from_file add
1607349219: 10-ath9k-eeprom remove
1607349219: caldata sysfsload_from_file remove


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3493

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list