Actions
Bug #394
closedbatctl: dmesg deprecation warnings triggered via "batctl if"
Start date:
06/19/2019
Due date:
% Done:
0%
Estimated time:
Description
When using "batctl if" to get the interface status then this triggers the following deprecation warnings in dmesg:
[ 5856.277366] batman_adv: [Deprecated]: batctl (pid 5054) Use of sysfs file "iface_status".
[ 5856.277366] Use batadv genl family instead
Even though batctl v2019.2 supports netlink for the interface status it prefers the syfs version if available.
This is a regression introduced with batman-adv v2019.2 which happens as long as batman-adv is compiled with CONFIG_BATMAN_ADV_SYSFS=y.
@Sven: Was it an accident to prefer sysfs over netlink for "batctl if" or were there some downsides of the netlink variant?
Updated by Sven Eckelmann over 5 years ago
This was done on purpose for now. But we can also switch this behavior to avoid these warnings
Updated by Sven Eckelmann over 5 years ago
- Status changed from New to Resolved
- Target version set to 2019.3
Updated by Sven Eckelmann over 5 years ago
- Assignee changed from batman-adv developers to Linus Lüssing
Updated by Sven Eckelmann over 5 years ago
- Status changed from Resolved to Closed
Actions