Gavino Posted July 18, 2024 Posted July 18, 2024 I have reasons to want to specify my preferred User ID and Group ID for the bhsvc user and bhsvc group when installing Nakivo on Linux, but I can't see how I am able to do that using the instructions below: https://helpcenter.nakivo.com/User-Guide/Content/Deployment/Installing-NAKIVO-Backup-and-Replication/Installing-on-Linux/Installing-on-Linux.htm I have a workaround, but it's not as nice as specifying it from the start. Devs - are you able to add an option for specifying this during install? That would be much appreciated. If anyone is interested, my workaround is the following (use at own risk): Quote # Make a note of bhsvc UID/GID before continuing systemctl stop nkv-dirsvc systemctl stop nkv-bhsvc usermod -u 1080 bhsvc #1080 is the new UID groupmod -g 1080 bhsvc #1080 is the new GID # Substitute UID and GID values below for the old values you had find / -group 1001 -exec chgrp -h bhsvc {} \; find / -user 998 -exec chown -h bhsvc {} \; systemctl start nkv-dirsvc systemctl start nkv-bhsvc Thanks. 1 Quote
The Official Moderator Posted September 17, 2024 Posted September 17, 2024 On 7/18/2024 at 12:44 PM, Gavino said: I have reasons to want to specify my preferred User ID and Group ID for the bhsvc user and bhsvc group when installing Nakivo on Linux, but I can't see how I am able to do that using the instructions below: https://helpcenter.nakivo.com/User-Guide/Content/Deployment/Installing-NAKIVO-Backup-and-Replication/Installing-on-Linux/Installing-on-Linux.htm I have a workaround, but it's not as nice as specifying it from the start. Devs - are you able to add an option for specifying this during install? That would be much appreciated. If anyone is interested, my workaround is the following (use at own risk): Thanks. Hi @Gavino, We have created a new feature request based on your message. Thank you for writing to us. Quote
Gavino Posted September 17, 2024 Author Posted September 17, 2024 Excellent. This will be of benefit to a lot of Linux users - especially those with NFS shares, so thank you. 1 Quote
The Official Moderator Posted January 6, 2025 Posted January 6, 2025 On 9/17/2024 at 4:35 PM, Gavino said: Excellent. This will be of benefit to a lot of Linux users - especially those with NFS shares, so thank you. Hi @Gavino The NAKIVO support team sent you an email about your your feature request. Let me know if you receive the email, as they need some information your side. Thank you for choosing NAKIVO. Quote
Gavino Posted February 3, 2025 Author Posted February 3, 2025 For other users that might stumble on this thread, I should provide some more information. I have run into UID/GID clashing issues on multiple occasions. The first time was several years ago when I was using Nakivo with a NFS repository, where the auto-assigned UID/GID of Nakivo clashed with those on my NFS storage. I ran into issues a second time when I found another clash when I had a new setup with Nakivo running in an systemd n-spawn container under TrueNAS SCALE 24.10. The Nakivo installer cannot see the in-use UID/GID outside the container, and this caused me some headaches. In future, being able to specify UID/GID at Nakivo Director install time will become even more important because in the new FreeNAS SCALE 25.04 "fangtooth" supports building LXC containers locally, which would be an excellent for Nakivo installation. I'm sure that this will be a very popular way to run Nakivo - with the Controller and storage all on the one physical host with no VM required. Also Proxmox, which is gaining in popularity and has been recently supported by Nakivo, also supports building LXC containers. So container usage for the Nakivo Director is sure to grow and grow, making this requested feature ever-more important in future. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.