Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package netbird for openSUSE:Factory checked in at 2026-11-16 10:11:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/netbird (Old) and /work/SRC/openSUSE:Factory/.netbird.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netbird" Mon Nov 16 10:11:12 2026 rev:54 rq:1397803 version:0.83.1 Changes: -------- --- /work/SRC/openSUSE:Factory/netbird/netbird.changes 2026-10-29 20:05:10.815312098 +0100 +++ /work/SRC/openSUSE:Factory/.netbird.new.1251/netbird.changes 2026-11-16 10:11:40.081703023 +0100 @@ -1,0 +2,226 @@ +Fri Nov 13 22:36:22 UTC 2026 - Holden Fried <[email protected]> + +- Refresh service-install-change.patch + +- Comment out skip-ui.patch from series for now + * It may prove untenable to maintain the new netbird wails GUI + over time, so I want to keep things in place to fall back easily + if needed, while still leaving the build in a somewhat sane and + obvious state. + +- New failing test disabled--incompatible with OBS: + * TestDaemonConnectError_KeepsServiceHintOtherwise + +- Renamed GUI package from netbird-applet to netbird-ui to align + with upstream--makes sense to do it now that we're reenabling with + the new full-featured UI + * Also keep netbird-applet package obsoleted just in case, since + it will conflict with netbird-ui (binary in both cases is named + netbird-ui)--netbird-applet has already been "obsoleted" since + v0.76.1, when the new UI initially had to be disabled due to + build failures + +------------------------------------------------------------------- +Fri Nov 13 19:36:23 UTC 2026 - Holden Fried <[email protected]> + +- Update to 0.83.1: + * 499a86f [client] Fall back during user lookup on windows (#8591) + +- Update to 0.83.0: + + Maintainer comment: + - Lots of formatting and links to new documentation in this + version. Highly recommend visiting the upstream release notes + for details: + * https://github.com/netbirdio/netbird/releases/tag/v0.83.0 + + โ ๏ธ Breaking changes: profile ownership and daemon access + control + + - Each profile now has an owner, and local users can control only + their own profiles as the daemon has a new IPC authorization + layer. Single-user desktops and headless peers registered with + a setup key and auto-start (the default) need no action. They + reconnect on their own after the upgrade. Act only if one of + the cases below applies to you. #7407 Who is affected Impact + What to do You connect to the daemon with --daemon-addr tcp://โฆ + The daemon refuses all TCP requests. Before upgrading, switch + to the default Unix socket or Windows named pipe. ๐ TCP + sockets A regular user or script runs netbird commands on a + headless machine (no console login, SSH and RDP don't count) + Commands fail because nobody owns the default profile. Run + sudo netbird up once, or run sudo netbird profile claim default + --owner <user>. ๐ Headless setup Several local users use + NetBird on one machine Users see and control only their own + profiles. Profiles added with sudo belong to root. Add + profiles as the user who will use them. To share a profile, set + NB_DISABLE_PROFILE_OWNERSHIP=true (see below). ๐ Share a + profile + + - Existing profiles migrate automatically on the first start. ๐ + Upgrade from an earlier version + + - New: To limit daemon access to one group, use netbird service + install --allow-group <group>. ๐ Restrict daemon access + + - Opting out: Set these variables with netbird service install + --service-env โฆ: Variable Effect + NB_DISABLE_PROFILE_OWNERSHIP=true Turns ownership off, so all + local users share all profiles. Use it together with + --allow-group. NB_DISABLE_DEFAULT_PROFILE_CLAIM=true Leaves + the default profile without an owner until an administrator + claims it. Recommended on servers. + + - ๐ Profile ownership and daemon access ยท Troubleshooting + Highlights + + ๐ค Manage NetBird from AI agents with the MCP server + + - Management can now serve its REST API as a Model Context + Protocol server at /api/mcp, so AI agents such as Claude Code + can manage a NetBird account with the same permissions as the + user they act for. Every tool is one REST operation run + in-process against the API, so a tool call goes through the + same handler and permission checks and returns the same JSON as + the REST call. Tools only act on the caller's own account, and + update_* tools are marked destructive. + + - Clients sign in with OAuth: management runs its own OAuth 2.1 + authorization server, sends the user to the configured identity + provider to log in, and issues tokens that are accepted only on + /api/mcp. Personal access tokens work too. On the consent page, + write access is unticked by default, so a connection is + read-only unless the user ticks Make changes. Sign-ins, + sign-outs and sessions revoked after token reuse are recorded + in the activity log. + + - The MCP server is off unless NB_MCP_ENABLED=true is set on + management; NB_MCP_TOOLS narrows the list of tools. Self-hosted + installs with the embedded IdP need nothing else, since the + broker's callback is added to the Dex clients on restart. + mcp-consent + + - ๐ MCP server ยท Sign in with OAuth ยท Self-hosted setup ยท #8335, + #8334, #8502, #8499, #8498 ๐ก๏ธ CrowdSec AppSec for the dashboard + and API during self-hosted install + + - The self-hosted installers now offer CrowdSec AppSec once + Traefik, the NetBird Proxy and CrowdSec are enabled. When + enabled, it protects the dashboard, /api and /oauth2; relay, + gRPC, WebSocket relay paths and services exposed through the + NetBird Proxy are not inspected. The option is off by default, + because AppSec enforces immediately, blocks protected paths + when CrowdSec is unavailable, and can lock out an administrator + after repeated rule matches. + + - ๐ Protect the dashboard with CrowdSec AppSec ยท #8341 ๐ Keep + secrets out of the combined server's config.yaml + + - The combined netbird-server now reads the relay auth secret + from NB_AUTH_SECRET and the store encryption key from + NB_STORE_ENCRYPTION_KEY. A non-empty variable overrides the + value in config.yaml, so the file can live in git without + secrets. Values are never logged; the startup log names only + the variable. configure.sh also no longer clears an existing + DataStoreEncryptionKey. + + - On self-hosted Enterprise, keep the store encryption key in + config.yaml and do not set NB_STORE_ENCRYPTION_KEY: the + Enterprise server requires the key in the file, and its + integrations read only that copy. Earlier versions ignore both + variables, so do not remove a secret from config.yaml before + the server runs v0.83.0. + + - ๐ Keeping secrets out of the config file ยท Combined server + variables ยท #8405, #5258 What's New ๐ Security and Access + Control + + Scoped group resource references to the owning account. #8474 + + - ๐ฅ๏ธ Client Improvements + + Sent the relay hostname as Host when dialing a relay by IP. + #8359 Let Signal register behind proxies that hold headers + until the first message. #8380 Started the update manager when + management forces an update. #8232 + + - ๐ฑ Mobile + + Preserved iOS credentials when login checks cannot reach + management. #8202 Reported network loss on iOS through the + existing recovery callback. #7716 Stopped waiting for the utun + interface to be removed on iOS engine stop. #8471 Added + RefreshWireGuardStats to the iOS SDK. #8509 + + - โ๏ธ Management Improvements + + Skipped writes and network map updates for objects that did not + change. #8404 Batched peer disconnects and made reconnects + lock-free. #8373 Moved peer connection state into separate + tables; a database migration runs on the first start after the + upgrade. #8426 Added a configurable statement and transaction + timeout for the PostgreSQL store, set with + NB_STORE_STATEMENT_TIMEOUT and NB_STORE_TRANSACTION_TIMEOUT. + #8381 Added a hard deadline to the update debouncer, so pending + network map updates are always sent. #8437 Used the peer's + last-seen time to detect stale connected statuses. #7268 + Stopped peer expiration jobs when expiration is disabled for + the account. #8521 Limited the store calls made for resource + policies. #8522 + + - ๐ Reverse Proxy + + Attributed agent network errors in the access logs: a failed + request now records whether a policy, a global limit, the + provider, the proxy or authentication caused it. #8460 Kept + gateway refusals out of the agent network log and named NetBird + in deny messages. #8575 Reported LLM token usage as metrics. + #8481 + + - ๐๏ธ Infrastructure and CI + + Fixed the Enterprise migration when the secret comes from the + environment. #8436 Moved the combined server's config onto a + shared Viper-based loader; behavior is unchanged, values still + come from the file and defaults. #8108 Built releases from the + pushed tag instead of GoReleaser's guess. #8427 Made the + skip-latest tests independent of their environment. #8468 + Stopped dispatching the mobile client submodule bumps on + release tags. #8347 + + - ๐ Misc + + Expanded the repository's contribution guidance. #7946 + + - Dashboard (v2.97.0) + + Reshaped the sidebar: Control Center, Peers, Users and Groups + at the top; Networking and Agent Network as collapsible + sections; Settings, Tenants, Integrations and Audit Events + under Account. Users and Service Users are now tabs, and Agent + Network policies are renamed Agent Policies. dashboard#892 + Showed what failed an agent network request in the REASON + column of the access logs (needs management v0.83.0). + dashboard#884 Added a sync interval setting to EDR + integrations. dashboard#865 Allowed single-label domains for + network resources and peer DNS domains. dashboard#670, + dashboard#883 Sized table columns by content and shared spare + width evenly. dashboard#886 Kept the default WASM client from + moving backwards. dashboard#885 Pointed the IdP sync callout to + the docs and added Discord under Help. dashboard#881, + dashboard#890 Fixed the white outline flashing on modals after + the Tailwind v4 upgrade. dashboard#882 + + +------------------------------------------------------------------- +Sun Nov 1 05:56:08 UTC 2026 - Holden Fried <[email protected]> + +- Fix new netbird Wails UI so we can actually build it (thanks to + Johannes Kastl, whose builds I looked to for inspiration) + +------------------------------------------------------------------- +Sat Oct 31 21:30:24 UTC 2026 - Holden Fried <[email protected]> + +- Add new nblink subpackage and associated completions + +------------------------------------------------------------------- Old: ---- netbird-0.82.0.obscpio New: ---- Makefile PACKAGING_README.md frontend-0.83.1.tar.zst netbird-0.83.1.obscpio prepare_webassets.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ netbird.spec ++++++ --- /var/tmp/diff_new_pack.fUc0Tk/_old 2026-11-16 10:11:44.242879590 +0100 +++ /var/tmp/diff_new_pack.fUc0Tk/_new 2026-11-16 10:11:44.244879675 +0100 @@ -17,10 +17,13 @@ %ifnarch %{ix86} -%bcond_with netbird_ui +# leap <16.0 doesn't have gtk4 version required +%if 0%{?suse_version} >= 1600 +%bcond_without netbird_ui %else %bcond_with netbird_ui %endif +%endif %if 0%{?sle_version} <= 150600 && !0%{?is_opensuse} %bcond_without appindicator_sle @@ -32,7 +35,7 @@ %bcond_with stub_config Name: netbird -Version: 0.82.0 +Version: 0.83.1 Release: 0 Summary: Mesh VPN based on WireGuard License: AGPL-3.0-only AND BSD-3-Clause @@ -42,10 +45,15 @@ Source2: %{name}.service Source3: %{name}-management.service Source4: %{name}-signal.service -Source5: series +Source5: frontend-%{version}.tar.zst +Source6: prepare_webassets.sh +Source7: Makefile +Source8: PACKAGING_README.md +Source9: series +# If we need to fall back to skipping the UI, change skip-ui.patch back to Patch1 +Source98: skip-ui.patch Source99: update.sh Patch0: service-install-cli-change.patch -Patch1: skip-ui.patch BuildRequires: fdupes BuildRequires: fish BuildRequires: git-core @@ -60,7 +68,9 @@ BuildRequires: pkgconfig(libpcap) # For GUI applet %if %{with netbird_ui} -BuildRequires: pkgconfig(xxf86vm) +# for old appindicator version, don't think it's still required with newer ui +# BuildRequires: pkgconfig(xxf86vm) +BuildRequires: pkgconfig(webkitgtk-6.0) %if %{with appindicator_sle} BuildRequires: pkgconfig(appindicator3-0.1) %else @@ -68,9 +78,11 @@ %endif BuildRequires: hicolor-icon-theme %endif -%if %{without netbird_ui} -Obsoletes: netbird-applet < %{version}-%{release} -%endif +# If UI becomes too cumbersome and we need to fall back, uncomment/remove macro escapes +# %%if %%{without netbird_ui} +# Obsoletes: netbird-applet < %%{version}-%%{release} +# Obsoletes: netbird-ui < %%{version}-%%{release} +# %%endif %description NetBird combines a configuration-free peer-to-peer private network and a @@ -78,12 +90,15 @@ create secure private networks for your organization or home. %if %{with netbird_ui} -%package applet -Summary: Optional UI panel indicator for %{name} +%package ui +Summary: Optional new Wails GUI (and panel indicator) for %{name} Requires: %{name} +# For new netbird-ui package, we need to obsolete the old netbird-applet package +Obsoletes: %{name}-applet < %{version} +Provides: %{name}-applet = %{version} -%description applet -Optional UI panel indicator for %{name}. +%description ui +Optional GUI and panel indicator for %{name}. %endif %package management @@ -110,6 +125,19 @@ comprise a full netbird backend server, and is merely built for convenience. Management/signal/relay are not required for the netbird client application. +%package nblink +Summary: Standalone userspace port forwarder for %{name} + +%description nblink +nblink is a new standalone binary that forwards local ports into your NetBird +network from an ordinary, unprivileged process. It runs the client in +userspace mode, so there is no TUN device, no root, no installer, and +/etc/resolv.conf is never touched. Names on the upstream side resolve inside +the tunnel. It is built for places the regular agent cannot run: managed +laptops without admin rights, rootless containers on OpenShift and Podman, CI +jobs, MCP servers and local AI agents that need an internal API, and sidecars +for apps that hardcode an HTTP endpoint. + %package bash-completion Summary: Bash Completion for %{name} Requires: %{name} @@ -142,8 +170,8 @@ %package management-bash-completion Summary: Bash Completion for %{name} +Requires: %{name}-management Requires: bash-completion -Requires: netbird-management Supplements: (%{name}-management and bash-completion) BuildArch: noarch @@ -152,8 +180,8 @@ %package management-fish-completion Summary: Fish Completion for %{name}-management +Requires: %{name}-management Requires: fish -Requires: netbird-management Supplements: (%{name}-management and fish) BuildArch: noarch @@ -162,7 +190,7 @@ %package management-zsh-completion Summary: Zsh Completion for %{name}-management -Requires: netbird-management +Requires: %{name}-management Requires: zsh Supplements: (%{name}-management and zsh) BuildArch: noarch @@ -172,8 +200,8 @@ %package signal-bash-completion Summary: Bash Completion for %{name}-management +Requires: %{name}-signal Requires: bash-completion -Requires: netbird-signal Supplements: (%{name}-signal and bash-completion) BuildArch: noarch @@ -182,8 +210,8 @@ %package signal-fish-completion Summary: Fish Completion for %{name}-signal +Requires: %{name}-signal Requires: fish -Requires: netbird-signal Supplements: (%{name}-signal and fish) BuildArch: noarch @@ -192,7 +220,7 @@ %package signal-zsh-completion Summary: Zsh Completion for %{name}-signal -Requires: netbird-signal +Requires: %{name}-signal Requires: zsh Supplements: (%{name}-signal and zsh) BuildArch: noarch @@ -200,8 +228,40 @@ %description signal-zsh-completion Zsh command line completion support for %{name}-signal. +%package nblink-bash-completion +Summary: Bash Completion for nblink +Requires: %{name}-nblink +Requires: bash-completion +Supplements: (%{name}-nblink and bash-completion) +BuildArch: noarch + +%description nblink-bash-completion +Bash command line completion support for nblink. + +%package nblink-fish-completion +Summary: Fish Completion for nblink +Requires: %{name}-nblink +Requires: fish +Supplements: (%{name}-nblink and fish) +BuildArch: noarch + +%description nblink-fish-completion +Fish command line completion support for nblink. + +%package nblink-zsh-completion +Summary: Zsh Completion for nblink +Requires: %{name}-nblink +Requires: zsh +Supplements: (%{name}-nblink and zsh) +BuildArch: noarch + +%description nblink-zsh-completion +Zsh command line completion support for nblink. + %prep %autosetup -p1 -a1 +rm -rf client/ui/frontend +tar xvf %{SOURCE5} %build %if %{without netbird_ui} @@ -221,6 +281,7 @@ go build -o %{name}-mgmt -buildmode=pie -mod=vendor -ldflags "$LDFLAGS" ./management go build -o %{name}-signal -buildmode=pie -mod=vendor -ldflags "$LDFLAGS" ./signal go build -o %{name}-relay -buildmode=pie -mod=vendor -ldflags "$LDFLAGS" ./relay +go build -o nblink -buildmode=pie -mod=vendor -ldflags "$LDFLAGS" ./client/link/cmd/nblink %if %{with netbird_ui} go build -o %{name}-ui -buildmode=pie -mod=vendor -ldflags "$LDFLAGS" ./client/ui @@ -228,12 +289,13 @@ %install install -Dm755 -t %{buildroot}%{_bindir} %{name}{,-mgmt,-signal,-relay} +install -Dm755 -t %{buildroot}%{_bindir} nblink -# Install the applet and the icons, so the desktop file doesn't have an empty icon. +# Install the ui and the icons, so the desktop file doesn't have an empty icon. %if %{with netbird_ui} install -Dm755 %{name}-ui %{buildroot}%{_bindir}/%{name}-ui -install -Dm644 client/ui/build/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop -# All icons are 256x256. These seem to get pulled into the applet binary regardless, +install -Dm644 client/ui/build/linux/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop +# All icons are 256x256. These seem to get pulled into the ui binary regardless, # but still worth throwing in separately. install -dm755 %{buildroot}%{_datadir}/icons/hicolor/256x256/apps install -Dm644 client/ui/assets/%{name}*.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps @@ -242,7 +304,7 @@ %endif # Generate completions -for bin in %{name} %{name}-signal %{name}-mgmt +for bin in %{name} %{name}-signal %{name}-mgmt nblink do for sh in bash zsh fish do @@ -353,6 +415,7 @@ TestLogin_ProfileSwitchRejectsJWTObtainedUnderPreviousConfig TestExchangeWithFallback_TCPTruncatesToClientSize TestSession_ResizeWhileRunningIsApplied + TestDaemonConnectError_KeepsServiceHintOtherwise ) # Assemble skip string by replacing spaces with a pipe. disable=$(echo ${failing_tests[*]} | sed 's/ /|/g') @@ -409,7 +472,7 @@ %{_unitdir}/%{name}.service %if %{with netbird_ui} -%files applet +%files ui %{_bindir}/%{name}-ui %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/256x256/apps/%{name}*.png @@ -429,6 +492,10 @@ %license LICENSE %{_bindir}/%{name}-relay +%files nblink +%license LICENSE +%{_bindir}/nblink + %files bash-completion %{_datadir}/bash-completion/completions/%{name} @@ -459,3 +526,13 @@ %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_%{name}-signal +%files nblink-bash-completion +%{_datadir}/bash-completion/completions/nblink + +%files nblink-fish-completion +%{_datadir}/fish/vendor_completions.d/nblink.fish + +%files nblink-zsh-completion +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_nblink + ++++++ Makefile ++++++ .ONESHELL: .SILENT: obsservices webassets NAME = netbird SPEC = netbird.spec default: clean obsservices prepare_webassets clean: rm -rf $(NAME) $(NAME)-*.tar $(NAME)-*.tar.gz $(NAME)-*.obscpio frontend-*.tar.zst vendor.tar.zst obsservices: echo "##########" echo "Running OBS services" osc service manualrun prepare_webassets: podman run \ -ti \ --rm \ --pull=always \ -v .:/data/:Z \ registry.opensuse.org/opensuse/tumbleweed:20261111 \ bash /data/prepare_webassets.sh $(NAME) nodejs24 ++++++ PACKAGING_README.md ++++++ # Packaging netbird-ui (wails application) In addition to the source code in the tarball, this package also needs the assets for the web UI. These can be generated by the `Makefile` that is present in this package. To do that, you need to have `make` and `podman` installed locally. For the OBS workflow you also need `obs-service-go_modules` as well as `obs-service-tar_scm` and `obs-service-recompress`. 1. Change the version in the `_service` file 2. Run `make` 3. Create a changelog entry 4. Commit the changes as usual 5. If desired, remove the container image used to build the web assets: ``` podman image rm registry.opensuse.org/opensuse/tumbleweed:latest ``` Note that leap would be used here, but it doesn't have the necessary webkit6/GTK4 libraries, thus necessitating using a tumbleweed snapshot. I'm not entirely sure how long tumbleweed container images are kept in the registry, and pulling :latest is liable to cause issues (it did for me the first time I tried to build web assets with it). This strategy may be adjusted slightly in the future. This workaround was shamelessly modified from ojkastl's woodpecker/other builds (thanks for the inspiration)! ++++++ _service ++++++ --- /var/tmp/diff_new_pack.fUc0Tk/_old 2026-11-16 10:11:44.320882900 +0100 +++ /var/tmp/diff_new_pack.fUc0Tk/_new 2026-11-16 10:11:44.323883028 +0100 @@ -3,18 +3,16 @@ <param name="url">https://github.com/netbirdio/netbird.git</param> <param name="scm">git</param> <param name="package-meta">yes</param> - <param name="revision">refs/tags/v0.82.0</param> + <param name="revision">refs/tags/v0.83.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">disable</param> </service> <service name="set_version" mode="manual"> </service> - <!-- <service name="go_modules" mode="manual"> <param name="compression">zst</param> </service> - --> <!-- services below are running at buildtime --> <service name="tar" mode="buildtime"> </service> ++++++ netbird-0.82.0.obscpio -> netbird-0.83.1.obscpio ++++++ /work/SRC/openSUSE:Factory/netbird/netbird-0.82.0.obscpio /work/SRC/openSUSE:Factory/.netbird.new.1251/netbird-0.83.1.obscpio differ: char 49, line 1 ++++++ netbird.obsinfo ++++++ --- /var/tmp/diff_new_pack.fUc0Tk/_old 2026-11-16 10:11:44.389885828 +0100 +++ /var/tmp/diff_new_pack.fUc0Tk/_new 2026-11-16 10:11:44.393885998 +0100 @@ -1,5 +1,5 @@ name: netbird -version: 0.82.0 -mtime: 1793207865 -commit: 3c00a97878e6af537d28c3bdd4f42cb4286aa883 +version: 0.83.1 +mtime: 1794559587 +commit: 499a86f4bc4795310ead5f06ecd5907e585acef4 ++++++ prepare_webassets.sh ++++++ #!/bin/bash set -o pipefail [[ "$#" == "2" ]] || { echo "Please use the package name and the nodejs version as the only arguments" exit 1 } package_name="${1}" nodejs_package="${2}" cd /data || exit 11 zypper -n install \ cpio \ gawk \ make \ git-core \ pnpm \ go \ webkitgtk4-devel \ zstd \ "${nodejs_package}" || exit 13 version="$( awk '/^Version:/ {print $2;exit;}' "${package_name}.spec" )" echo "##########" echo "Package version is $version" basename="${package_name}-$version" webassets_tarball="frontend-${version}.tar.zst" obscpio="$basename.obscpio" working_directory="$(pwd)" tmpdir="$(mktemp -d -p /tmp)" echo "Changing into tmpdir ${tmpdir}" cd "${tmpdir}" || exit 15 echo "##########" echo "Extracting obscpio archive" cpio -id < "${working_directory}/${obscpio}" || exit 21 cd "$basename" || exit 23 echo "##########" cd client/ui/frontend || exit 25 rm -rf node_modules || exit 27 WAILS_VERSION=$(go list -m -f '{{.Version}}' github.com/wailsapp/wails/v3) go install github.com/wailsapp/wails/v3/cmd/wails3@$WAILS_VERSION # ~/go/bin/ not in path by default, and pnpm run bindings calls wails3 to generate the bindings mv /root/go/bin/wails3 /usr/local/bin/ pnpm install --frozen-lockfile --ignore-scripts pnpm run bindings pnpm run check pnpm build cd ../../.. || exit 29 echo "Creating web assets tarball" tar -I "zstd -T0" -cvf "${working_directory}/${webassets_tarball}" client/ui/frontend echo "##########" echo "DONE preparing the webassets" cd "${working_directory}" || exit 31 rm -rf "$tmpdir" ++++++ series ++++++ --- /var/tmp/diff_new_pack.fUc0Tk/_old 2026-11-16 10:11:44.444888162 +0100 +++ /var/tmp/diff_new_pack.fUc0Tk/_new 2026-11-16 10:11:44.450888417 +0100 @@ -1,3 +1,3 @@ service-install-cli-change.patch -skip-ui.patch +# skip-ui.patch ++++++ service-install-cli-change.patch ++++++ --- /var/tmp/diff_new_pack.fUc0Tk/_old 2026-11-16 10:11:44.464889011 +0100 +++ /var/tmp/diff_new_pack.fUc0Tk/_new 2026-11-16 10:11:44.468889181 +0100 @@ -1,51 +1,3 @@ -Index: netbird/client/cmd/login.go -=================================================================== ---- netbird.orig/client/cmd/login.go -+++ netbird/client/cmd/login.go -@@ -100,9 +100,16 @@ func doDaemonLogin(ctx context.Context, - conn, err := DialClientGRPCServer(ctx, daemonAddr) - if err != nil { - //nolint -- return fmt.Errorf("failed to connect to daemon error: %v\n"+ -- "If the daemon is not running please run: "+ -- "\nnetbird service install \nnetbird service start\n", err) -+ return fmt.Errorf("failed to connect to daemon error: %v\n\n" + -+ "The daemon may not be running. Try restarting the service:\n" + -+ " sudo systemctl restart netbird.service\n\n" + -+ "To check the service status, use:\n" + -+ " sudo systemctl status netbird.service\n\n" + -+ "Unless you are manually overriding with a custom drop-in file, " + -+ "you should see the default openSUSE service at:\n" + -+ " /usr/lib/systemd/system/netbird.service\n\n" + -+ "If you see the service is disabled, you can run:\n" + -+ " sudo systemctl enable netbird.service --now\n", err) - } - defer conn.Close() - -Index: netbird/client/cmd/root.go -=================================================================== ---- netbird.orig/client/cmd/root.go -+++ netbird/client/cmd/root.go -@@ -485,9 +485,16 @@ func getClient(cmd *cobra.Command) (*grp - conn, err := DialClientGRPCServer(cmd.Context(), daemonAddr) - if err != nil { - //nolint -- return nil, fmt.Errorf("failed to connect to daemon error: %v\n"+ -- "If the daemon is not running please run: "+ -- "\nnetbird service install \nnetbird service start\n", err) -+ return nil, fmt.Errorf("failed to connect to daemon error: %v\n\n" + -+ "the daemon may not be running. try restarting the service:\n" + -+ " sudo systemctl restart netbird.service\n\n" + -+ "To check the service status, use:\n" + -+ " sudo systemctl status netbird.service\n\n" + -+ "Unless you are manually overriding with a custom drop-in file, " + -+ "you should see the default openSUSE service at:\n" + -+ " /usr/lib/systemd/system/netbird.service\n\n" + -+ "If you see the service is disabled, you can run:\n" + -+ " sudo systemctl enable netbird.service --now\n", err) - } - - return conn, nil Index: netbird/client/cmd/service_installer.go =================================================================== --- netbird.orig/client/cmd/service_installer.go @@ -78,7 +30,7 @@ // Common service command setup func setupServiceCommand(cmd *cobra.Command) error { SetFlagsFromEnvVars(rootCmd) -@@ -131,37 +143,7 @@ var installCmd = &cobra.Command{ +@@ -147,37 +159,7 @@ var installCmd = &cobra.Command{ Use: "install", Short: "Install NetBird service", RunE: func(cmd *cobra.Command, args []string) error { @@ -117,7 +69,7 @@ }, } -@@ -169,35 +151,7 @@ var uninstallCmd = &cobra.Command{ +@@ -185,35 +167,7 @@ var uninstallCmd = &cobra.Command{ Use: "uninstall", Short: "uninstalls NetBird service from system", RunE: func(cmd *cobra.Command, args []string) error { @@ -154,7 +106,7 @@ }, } -@@ -207,64 +161,7 @@ var reconfigureCmd = &cobra.Command{ +@@ -223,64 +177,7 @@ var reconfigureCmd = &cobra.Command{ Long: `Reconfigures the NetBird service with new settings without manual uninstall/install. This command will temporarily stop the service, update its configuration, and restart it if it was running.`, RunE: func(cmd *cobra.Command, args []string) error { @@ -220,52 +172,28 @@ }, } -Index: netbird/client/cmd/status.go +Index: netbird/client/cmd/daemon_error.go =================================================================== ---- netbird.orig/client/cmd/status.go -+++ netbird/client/cmd/status.go -@@ -164,9 +164,16 @@ func getStatus(ctx context.Context, full - conn, err := DialClientGRPCServer(ctx, daemonAddr) - if err != nil { - //nolint -- return nil, fmt.Errorf("failed to connect to daemon error: %v\n"+ -- "If the daemon is not running please run: "+ -- "\nnetbird service install \nnetbird service start\n", err) -+ return nil, fmt.Errorf("failed to connect to daemon error: %v\n\n" + -+ "The daemon may not be running. Try restarting the service:\n" + -+ " sudo systemctl restart netbird.service\n\n" + -+ "To check the service status, use:\n" + -+ " sudo systemctl status netbird.service\n\n" + -+ "Unless you are manually overriding with a custom drop-in file, " + -+ "you should see the default openSUSE service at:\n" + -+ " /usr/lib/systemd/system/netbird.service\n\n" + -+ "If you see the service is disabled, you can run:\n" + -+ " sudo systemctl enable netbird.service --now\n", err) +--- netbird.orig/client/cmd/daemon_error.go ++++ netbird/client/cmd/daemon_error.go +@@ -24,9 +24,16 @@ func daemonConnectError(err error) error + return err } - defer conn.Close() + // nolint +- return fmt.Errorf("failed to connect to daemon error: %w\n"+ +- "If the daemon is not running please run: "+ +- "\nnetbird service install \nnetbird service start\n", err) ++ return fmt.Errorf("failed to connect to daemon error: %v\n\n" + ++ "The daemon may not be running. Try restarting the service:\n" + ++ " sudo systemctl restart netbird.service\n\n" + ++ "To check the service status, use:\n" + ++ " sudo systemctl status netbird.service\n\n" + ++ "Unless you are manually overriding with a custom drop-in file, " + ++ "you should see the default openSUSE service at:\n" + ++ " /usr/lib/systemd/system/netbird.service\n\n" + ++ "If you see the service is disabled, you can run:\n" + ++ " sudo systemctl enable netbird.service --now\n", err) + } -Index: netbird/client/cmd/up.go -=================================================================== ---- netbird.orig/client/cmd/up.go -+++ netbird/client/cmd/up.go -@@ -292,9 +292,16 @@ func runInDaemonMode(ctx context.Context - conn, err := DialClientGRPCServer(ctx, daemonAddr) - if err != nil { - //nolint -- return fmt.Errorf("failed to connect to daemon error: %v\n"+ -- "If the daemon is not running please run: "+ -- "\nnetbird service install \nnetbird service start\n", err) -+ return fmt.Errorf("failed to connect to daemon error: %v\n\n" + -+ "The daemon may not be running. Try restarting the service:\n" + -+ " sudo systemctl restart netbird.service\n\n" + -+ "To check the service status, use:\n" + -+ " sudo systemctl status netbird.service\n\n" + -+ "Unless you are manually overriding with a custom drop-in file, " + -+ "you should see the default openSUSE service at:\n" + -+ " /usr/lib/systemd/system/netbird.service\n\n" + -+ "If you see the service is disabled, you can run:\n" + -+ " sudo systemctl enable netbird.service --now\n", err) - } - defer func() { - err := conn.Close() + // daemonCallError adds the context a failed daemon call happened in. ++++++ vendor.tar.zst ++++++ /work/SRC/openSUSE:Factory/netbird/vendor.tar.zst /work/SRC/openSUSE:Factory/.netbird.new.1251/vendor.tar.zst differ: char 6, line 1
