• Bug#1110053: waybar network plugin ignores "family" directive

    From Kevin Otte@21:1/5 to The man page on Mon Jul 28 22:00:01 2025
    Package: waybar
    Version: 0.12.0-1
    Severity: normal
    Tags: ipv6

    Dear Maintainer,

    In .config/waybar/config I have the network plugin defined with a parameter
    "family": "ipv6"

    The man page says this is
    The address family that is used for the format replacement {ipaddr} and to determine if a network connection is present.

    This laptop is sitting on a WiFi network (wlp1s0) with only an IPv6 interface so everything is fine by default.
    However, as soon as I activate my CLAT interface (wlp1s0-v4, a veth into another namespace) waybar begins showing it instead of the physical interface.

    $ ip -br addr show
    lo UNKNOWN 127.0.0.1/8 ::1/128
    wlp1s0 UP 2605:a601:a63f:7c02:caa3:e8ff:fe76:98ff/64 fe80::caa3:e8ff:fe76:98ff/64
    wlp1s0-v4@if8 UP 192.0.0.1 peer 192.0.0.0/32 fe80::a006:7ff:fe08:fdf4/64

    Since this interface only has an IPv4 address I would expect it to be exempt from consideration with this setting.
    As soon as the CLAT interface is deleted waybar resumes displaying the stats for wlp1s0.

    While I could work around this by setting "interface", I would prefer the autodetect function correctly in the event I were to begin using a USB Ethernet adapter.

    -- System Information:
    Debian Release: 13.0
    APT prefers testing
    APT policy: (500, 'testing')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.38+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages waybar depends on:
    ii init-system-helpers 1.68
    ii libatkmm-1.6-1v5 2.28.4-1+b2
    ii libc6 2.41-10
    ii libcairomm-1.0-1v5 1.14.5-2+b1
    ii libdbusmenu-gtk3-4 18.10.20180917~bzr492+repack1-4
    ii libevdev2 1.13.4+dfsg-1
    ii libfmt10 10.1.1+ds1-4
    ii libgcc-s1 14.2.0-19
    ii libglib2.0-0t64 2.84.3-1
    ii libglibmm-2.4-1t64 2.66.8-1
    ii libgtk-3-0t64 3.24.49-3
    ii libgtk-layer-shell0 0.9.0-2
    ii libgtkmm-3.0-1t64 3.24.10-1
    ii libinput10 1.28.1-1
    ii libjack-jackd2-0 [libjack-0.125] 1.9.22~dfsg-4
    ii libjsoncpp26 1.9.6-3
    ii libmpdclient2t64 2.22-1.1+b1
    ii libnl-3-200 3.7.0-2
    ii libnl-genl-3-200 3.7.0-2
    ii libpipewire-0.3-0t64 1.4.2-1
    ii libplayerctl2 2.4.1-3
    ii libpulse0 17.0+dfsg1-2+b1
    ii libsigc++-2.0-0v5 2.12.1-3
    ii libsndio7.0 1.10.0-0.1
    ii libspdlog1.15 [libspdlog1.15-fmt10] 1:1.15.2+ds-2
    ii libstdc++6 14.2.0-19
    ii libudev1 257.7-1
    ii libupower-glib3 1.90.9-1
    ii libwayland-client0 1.23.1-3
    ii libwireplumber-0.5-0 0.5.8-2
    ii libxkbregistry0 1.7.0-2

    waybar recommends no packages.

    Versions of packages waybar suggests:
    ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-4.1 pn gir1.2-playerctl-2.0 <none>
    ii libayatana-appindicator3-1 [libappindicator3-1 0.5.94-1
    ]
    ii python3 3.13.5-1
    ii sway 1.10.1-2

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)