[GH-ISSUE #4808] Non-critical error in %post scriptlet #9376

Closed
opened 2026-08-05 01:21:53 -04:00 by saavagebueno · 2 comments
Owner

Originally created by @devurandom on GitHub (Nov 18, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/4808

Describe the problem

I followed https://docs.netbird.io/how-to/installation/linux#fedora-amazon-linux-2023-dnf to install Netbird on Fedora 43.

When updating netbird-ui, I get following error:

[4/6] Upgrading netbird-ui-0:0.60.0-1.x86_64                                                                                                           100% | 186.4 MiB/s |  36.2 MiB |  00m00s
>>> Running %post scriptlet: netbird-ui-0:0.60.0-1.x86_64
>>> Non-critical error in %post scriptlet: netbird-ui-0:0.60.0-1.x86_64
>>> Scriptlet output:
>>> su: user TRUNCAT+ does not exist or the user entry does not contain all the required fields
>>>
>>> [RPM] %post(netbird-ui-0.60.0-1.x86_64) scriptlet failed, exit status 1

I.e. the script tries to run su with a wrong username. (The real username is not TRUNCAT+, but e.g. TRUNCATED -- notice how the 8th and following characters are replaced by +.)

The update succeeds nevertheless.

To Reproduce

Steps to reproduce the behavior:

  1. Install netbird-ui on Fedora 43
  2. dnf update netbird-ui
  3. See error

Expected behavior

No error.

Are you using NetBird Cloud?

N/A

NetBird version

netbird-ui-0:0.60.0-1.x86_64

Is any other VPN software installed?

N/A

Debug output

N/A

Screenshots

N/A

Additional context

N/A

Have you tried these troubleshooting steps?

  • Reviewed client troubleshooting (if applicable)
  • Checked for newer NetBird versions
  • Searched for similar issues on GitHub (including closed ones)
  • Restarted the NetBird client
  • Disabled other VPN software
  • Checked firewall settings
Originally created by @devurandom on GitHub (Nov 18, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/4808 **Describe the problem** I followed https://docs.netbird.io/how-to/installation/linux#fedora-amazon-linux-2023-dnf to install Netbird on Fedora 43. When updating `netbird-ui`, I get following error: ``` [4/6] Upgrading netbird-ui-0:0.60.0-1.x86_64 100% | 186.4 MiB/s | 36.2 MiB | 00m00s >>> Running %post scriptlet: netbird-ui-0:0.60.0-1.x86_64 >>> Non-critical error in %post scriptlet: netbird-ui-0:0.60.0-1.x86_64 >>> Scriptlet output: >>> su: user TRUNCAT+ does not exist or the user entry does not contain all the required fields >>> >>> [RPM] %post(netbird-ui-0.60.0-1.x86_64) scriptlet failed, exit status 1 ``` I.e. the script tries to run `su` with a wrong username. (The real username is not `TRUNCAT+`, but e.g. `TRUNCATED` -- notice how the 8th and following characters are replaced by `+`.) The update succeeds nevertheless. **To Reproduce** Steps to reproduce the behavior: 1. Install netbird-ui on Fedora 43 2. `dnf update netbird-ui` 3. See error **Expected behavior** No error. **Are you using NetBird Cloud?** N/A **NetBird version** `netbird-ui-0:0.60.0-1.x86_64` **Is any other VPN software installed?** N/A **Debug output** N/A **Screenshots** N/A **Additional context** N/A **Have you tried these troubleshooting steps?** - [ ] Reviewed [client troubleshooting](https://docs.netbird.io/how-to/troubleshooting-client) (if applicable) - [x] Checked for newer NetBird versions - [x] Searched for similar issues on GitHub (including closed ones) - [ ] Restarted the NetBird client - [ ] Disabled other VPN software - [ ] Checked firewall settings
saavagebueno added the triage-needed label 2026-08-05 01:21:53 -04:00
Author
Owner

@devurandom commented on GitHub (Nov 18, 2025):

See https://github.com/netbirdio/netbird/pull/4809 for a fix.

<!-- gh-comment-id:3549901799 --> @devurandom commented on GitHub (Nov 18, 2025): See https://github.com/netbirdio/netbird/pull/4809 for a fix.
Author
Owner

@devurandom commented on GitHub (Jan 14, 2026):

Confirmed that it works now, with the RPM from the official repository:

❯ sudo dnf update --refresh netbird netbird-ui
[...]
Package                                                          Arch           Version                                                          Repository                                Size
Upgrading:
 netbird                                                         x86_64         0.62.3-1                                                         netbird                               34.5 MiB
   replacing netbird                                             x86_64         0.62.2-1                                                         netbird                               34.5 MiB
 netbird-ui                                                      x86_64         0.62.3-1                                                         netbird                               38.0 MiB
   replacing netbird-ui                                          x86_64         0.62.2-1                                                         netbird                               38.0 MiB

Transaction Summary:
 Upgrading:          2 packages
 Replacing:          2 packages

Total size of inbound packages is 30 MiB. Need to download 30 MiB.
After this operation, 0 B extra will be used (install 72 MiB, remove 72 MiB).
Is this ok [y/N]: y
[1/2] netbird-0:0.62.3-1.x86_64                                                                                                                        100% |   2.5 MiB/s |  13.2 MiB |  00m05s
[2/2] netbird-ui-0:0.62.3-1.x86_64                                                                                                                     100% |   2.6 MiB/s |  16.9 MiB |  00m06s
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[2/2] Total                                                                                                                                            100% |   4.7 MiB/s |  30.1 MiB |  00m06s
Running transaction
[1/6] Verify package files                                                                                                                             100% |  23.0   B/s |   2.0   B |  00m00s
[2/6] Prepare transaction                                                                                                                              100% |  20.0   B/s |   4.0   B |  00m00s
[3/6] Upgrading netbird-0:0.62.3-1.x86_64                                                                                                              100% |  10.7 MiB/s |  34.5 MiB |  00m03s
>>> Running %post scriptlet: netbird-0:0.62.3-1.x86_64
>>> Finished %post scriptlet: netbird-0:0.62.3-1.x86_64
>>> Scriptlet output:
>>>
>>>
>>> NetBird service has been uninstalled
>>> NetBird service has been installed
>>> NetBird service has been started
>>>
[4/6] Upgrading netbird-ui-0:0.62.3-1.x86_64                                                                                                           100% | 124.3 MiB/s |  38.0 MiB |  00m00s
[5/6] Removing netbird-ui-0:0.62.2-1.x86_64                                                                                                            100% | 115.0   B/s |   3.0   B |  00m00s
[6/6] Removing netbird-0:0.62.2-1.x86_64                                                                                                               100% |   2.0   B/s |   1.0   B |  00m00s
Warning: skipped OpenPGP checks for 2 packages from repository: netbird
Complete!
<!-- gh-comment-id:3749774930 --> @devurandom commented on GitHub (Jan 14, 2026): Confirmed that it works now, with the RPM from the official repository: ``` ❯ sudo dnf update --refresh netbird netbird-ui [...] Package Arch Version Repository Size Upgrading: netbird x86_64 0.62.3-1 netbird 34.5 MiB replacing netbird x86_64 0.62.2-1 netbird 34.5 MiB netbird-ui x86_64 0.62.3-1 netbird 38.0 MiB replacing netbird-ui x86_64 0.62.2-1 netbird 38.0 MiB Transaction Summary: Upgrading: 2 packages Replacing: 2 packages Total size of inbound packages is 30 MiB. Need to download 30 MiB. After this operation, 0 B extra will be used (install 72 MiB, remove 72 MiB). Is this ok [y/N]: y [1/2] netbird-0:0.62.3-1.x86_64 100% | 2.5 MiB/s | 13.2 MiB | 00m05s [2/2] netbird-ui-0:0.62.3-1.x86_64 100% | 2.6 MiB/s | 16.9 MiB | 00m06s ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [2/2] Total 100% | 4.7 MiB/s | 30.1 MiB | 00m06s Running transaction [1/6] Verify package files 100% | 23.0 B/s | 2.0 B | 00m00s [2/6] Prepare transaction 100% | 20.0 B/s | 4.0 B | 00m00s [3/6] Upgrading netbird-0:0.62.3-1.x86_64 100% | 10.7 MiB/s | 34.5 MiB | 00m03s >>> Running %post scriptlet: netbird-0:0.62.3-1.x86_64 >>> Finished %post scriptlet: netbird-0:0.62.3-1.x86_64 >>> Scriptlet output: >>> >>> >>> NetBird service has been uninstalled >>> NetBird service has been installed >>> NetBird service has been started >>> [4/6] Upgrading netbird-ui-0:0.62.3-1.x86_64 100% | 124.3 MiB/s | 38.0 MiB | 00m00s [5/6] Removing netbird-ui-0:0.62.2-1.x86_64 100% | 115.0 B/s | 3.0 B | 00m00s [6/6] Removing netbird-0:0.62.2-1.x86_64 100% | 2.0 B/s | 1.0 B | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: netbird Complete! ```
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#9376