Project

General

Profile

Bug #394

batctl: dmesg deprecation warnings triggered via "batctl if"

Added by Linus Lüssing over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
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?

History

#1

Updated by Sven Eckelmann over 1 year ago

This was done on purpose for now. But we can also switch this behavior to avoid these warnings

#2

Updated by Sven Eckelmann over 1 year ago

  • Target version set to 2019.3
  • Status changed from New to Resolved
#3

Updated by Sven Eckelmann over 1 year ago

  • Assignee changed from batman-adv developers to Linus Lüssing
#4

Updated by Sven Eckelmann over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF