Re: [PATCH v2] base-files: restore status of system-services after sysupgrade

2021-09-21 Thread Paul Spooren
On 1/12/21 12:05, Sven Roederer wrote: Am Dienstag, 12. Januar 2021, 13:01:45 CET schrieb Adrian Schmutzler: Hello, You don't have to run such complicated script. Just restore /etc/rc.d/ directory after upgrade. Well, that depends on how we want to deal with new services. If I upgrade from 19.0

Re: WDS stopped working in 21.02, looking for bug in netifd

2021-09-21 Thread Daniel Haid
Small update: Preventing the call to mdev->hotplug_ops->add (and replacing it with return 0) inside the function interface_add_link whenever it is called from interface_handle_link and the string name contains the substring ".sta" seems to "fix" the bug. What kind of hotplug_ops are called f

Re: WDS stopped working in 21.02, looking for bug in netifd

2021-09-21 Thread Daniel Haid
By the way, maybe I should add that both devices are GL.iNet GL-AR150. Also, the configs are only minimally different from the defaults. The only option that could be a bit unusual is having 802.11r enabled. And indeed, after disabling 802.11r, the bug occurs much less often. In fact, without

Re: uci: unnecessary write accesses

2021-09-21 Thread Felix Fietkau
On 2021-09-21 13:19, Florian Eckert wrote: > > I have written a small shell script, to track write access to the > '/etc/config' directory. > For this task I am using the inotify-tool package [1]. > I am using the inotifywait tool to add the watchers [2] with a small > shell script and log them

Re: WDS stopped working in 21.02, looking for bug in netifd

2021-09-21 Thread Daniel Haid
Can you please send me the config that you're using? I'd like to try to reproduce it myself. Find attached the config dumps of the AP and the client. They have been created with 21.02, but after flashing the snapshot on the AP I restored exactly this config (and the bug was still there). ---

Re: uci: unnecessary write accesses

2021-09-21 Thread Florian Eckert
Thanks for your feedback I have written a small shell script, to track write access to the '/etc/config' directory. For this task I am using the inotify-tool package [1]. I am using the inotifywait tool to add the watchers [2] with a small shell script and log them to the syslog. If I change a

Re: uci: unnecessary write accesses

2021-09-21 Thread Ansuel Smith
> > > I have written a small shell script, to track write access to the > '/etc/config' directory. > For this task I am using the inotify-tool package [1]. > I am using the inotifywait tool to add the watchers [2] with a small > shell script and log them to the syslog. > > If I change a 'uci' optio

uci: unnecessary write accesses

2021-09-21 Thread Florian Eckert
I have written a small shell script, to track write access to the '/etc/config' directory. For this task I am using the inotify-tool package [1]. I am using the inotifywait tool to add the watchers [2] with a small shell script and log them to the syslog. If I change a 'uci' option with the

Re: WDS stopped working in 21.02, looking for bug in netifd

2021-09-21 Thread Felix Fietkau
On 2021-09-20 22:56, Daniel Haid wrote: > Felix, I took the last openwrt snapshot and compiled netifd from master > with your patch applied and installed it. > > Result: > After boot wlan0.sta1 was DOWN. > After "/etc/init.d/network restart" it was UP and the connection worked! > After another "/