Project

General

Profile

Bug #362

batctl l gives inaccurate feedback when compiled without debugfs

Added by Andre Kasper 11 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
batman-adv developers
Target version:
Start date:
08/02/2018
Due date:
% Done:

100%


Description

I spotted this behaviour in batctl 2018.2 with batman 2018.2:

root@node72:~# batctl l
Error - mesh has not been enabled yet
Activate your mesh by adding interfaces to batman-adv

but with:

root@node72:~# batctl if
ens20: active
tap0: active

according to ecsv batctl can't access /sys/kernel/debug/batman_adv/bat0/ if debugfs is deactivated. (This is new default.)

Maybe the message could be more accurate to give a hint how to get batctl l working.

History

#1 Updated by Sven Eckelmann 11 months ago

This also affects the nc_nodes (nn) subcommand because there is no netlink implementation for that.

#2 Updated by Sven Eckelmann 7 months ago

  • Project changed from batman-adv to batctl

#3 Updated by Sven Eckelmann 6 months ago

  • Status changed from New to In Progress
  • Target version set to 2019.0

There is now a patch series to work around this problem https://patchwork.open-mesh.org/project/b.a.t.m.a.n./list/?series=191

#4 Updated by Sven Eckelmann 6 months ago

  • Status changed from In Progress to Resolved

It is now in the queue for 2019.0

#5 Updated by Sven Eckelmann 6 months ago

  • % Done changed from 0 to 100

#6 Updated by Sven Eckelmann 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF