Skip to content

Non-critical error in %post scriptlet #4808

@devurandom

Description

@devurandom

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions