Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextuid get reset after importing from a backup #7384

Open
2 tasks done
K3rN3lPaN1c opened this issue Apr 16, 2024 · 1 comment
Open
2 tasks done

nextuid get reset after importing from a backup #7384

K3rN3lPaN1c opened this issue Apr 16, 2024 · 1 comment

Comments

@K3rN3lPaN1c
Copy link

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

When we import a config backup from one opnsense to an another one including users the nextuid was ignored on 2 machines. So after adding new user on the web ui the uid was (re)starting from the initial 2000 causing uid collision (2 users had the same uid)

To Reproduce

Steps to reproduce the behavior:

  1. Create a config backup on opnsense-01
  2. Import the backup on opnsense-02
  3. Check the created users (Lookong good)
  4. Create a new user on opnsense-02
  5. The new user have the initial UID of 2000

Expected behavior

When importing a config backup it should respect the nextuid parameter and should not restart the UID creation.

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 24.1.5_3-amd64.
Intel Xeon Processor (Skylake, IBRS) (4 cores, 8 threads)

@fichtner
Copy link
Member

fichtner commented Apr 16, 2024

Step 1: unclear WRT relevant contents of config.xml
Step 3: Unclear where a user was created that was "ok" (what does "ok" mean?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants