• Bug#1101339: Unnecessary "rule without statements?!" message

    From Michael Deegan@21:1/5 to All on Wed Mar 26 03:10:01 2025
    Package: libnftables1
    Version: 1.1.1-1
    Severity: minor

    Hello, when getting JSON output from a ruleset (or subset thereof)
    containing a rule with no statements in it, "rule without statements?!" is printed to stderr. To which my response is "Yes, I know, it's on purpose,
    no need to tell me! :P".

    It would be nice if this particular fprintf() went away, or was otherwise suppressable. In the meantime I guess I'll need to add a no-op statement to
    the rule...

    Thanks,

    -MD

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'testing'), (500, 'oldstable'), (490, 'stable-debug'), (490, 'stable'), (400,
    'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.19-amd64 (SMP w/4 CPU threads; PREEMPT)
    Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages libnftables1 depends on:
    ii libc6 2.41-6
    ii libgmp10 2:6.3.0+dfsg-3
    ii libjansson4 2.14-2+b3
    ii libmnl0 1.0.5-3
    ii libnftnl11 1.2.8-1
    ii libxtables12 1.8.11-2

    libnftables1 recommends no packages.

    libnftables1 suggests no packages.

    -- no debconf information

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