Non-critical error in %post scriptlet #2470

Open
opened 2025-11-20 07:10:11 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @devurandom on GitHub (Nov 18, 2025).

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). **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 2025-11-20 07:10:11 -05:00
Author
Owner

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

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

@devurandom commented on GitHub (Nov 18, 2025): See https://github.com/netbirdio/netbird/pull/4809 for a fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2470