Nixpkgs version
Describe the bug
The opensnitch package version 1.7.0.0 with 4 numbers used for both the git tag and the daemon/ui version number breaks the check_versions in opensintch-ui which expects 3 (major, minor, patch).
https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/opensnitch/service.py#L801
https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/opensnitch/utils/__init__.py#L285-L287
Also noticed the opensitch-ui package might be missing a small change:
|
sed -i 's/^import ui_pb2/from . import ui_pb2/' opensnitch/proto/ui_pb2* |
https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/Makefile#L8
Steps to reproduce
Run opensnitch-ui --debug
No values are shown in status bar, i.e. Daemon version and all tabs are empty, except any loaded rules.
Reported as:
Ping exception: too many values to unpack (expected 3)
Expected behaviour
Show the information retrieved from opensnitchd.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.12.34, NixOS, 25.11 (Xantusia), 25.11.19700101.dirty
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.28.3
- nixpkgs:
/nix/store/dxc2swd4dhdxnxjiji62b1z0nb5sms0x-source
Notify maintainers
@onny @LordGrimmauld
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Describe the bug
The
opensnitchpackage version1.7.0.0with 4 numbers used for both the git tag and the daemon/ui version number breaks thecheck_versionsinopensintch-uiwhich expects 3 (major, minor, patch).https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/opensnitch/service.py#L801
https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/opensnitch/utils/__init__.py#L285-L287
Also noticed the
opensitch-uipackage might be missing a small change:nixpkgs/pkgs/by-name/op/opensnitch-ui/package.nix
Line 44 in 08f2208
https://github.com/evilsocket/opensnitch/blob/5bf02e6f706a9ffccc2206cff26a64b328496042/ui/Makefile#L8
Steps to reproduce
Run
opensnitch-ui --debugNo values are shown in status bar, i.e.
Daemon versionand all tabs are empty, except any loaded rules.Reported as:
Expected behaviour
Show the information retrieved from opensnitchd.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"Linux 6.12.34, NixOS, 25.11 (Xantusia), 25.11.19700101.dirtyyesyesnix-env (Nix) 2.28.3/nix/store/dxc2swd4dhdxnxjiji62b1z0nb5sms0x-sourceNotify maintainers
@onny @LordGrimmauld
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.