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
Configure udbsync clients for nfsroot to write in nfsroot_staging instead of nfsroot_ro #169
Comments
Is this just a matter of changing https://github.com/prologin/sadm/blob/master/etc/systemd/system/udbsync_passwd_nfsroot.service or am I getting this wrong? |
That, and we also need a new process to automatically sync _stanging to _ro after a change is applied. Currently the change is applied directly to the prod image so that problem does not exist. |
Fixes #169. Tested: $ machinectl shell myrhfs0 $ diff -u /export/nfsroot_{staging,ro}/etc/group ( empty ) $ systemd-nspawn -D /export/nfsroot_staging $ pacman -S minidlna ... Creating user minidlna (minidlna server) with uid 971 and gid 971. $ diff -u /export/nfsroot_{staging,ro}/etc/group --- /export/nfsroot_staging/etc/group 2020-03-15 21:36:38.539844642 +0100 +++ /export/nfsroot_ro/etc/group 2020-03-15 21:34:10.167058855 +0100 @@ -76,2 +76,1 @@ -minidlna:x:971: $ systemctl restart udbsync_passwd_nfsroot $ diff -u /export/nfsroot_{staging,ro}/etc/group ( empty )
Fixes #169. Tested: $ machinectl shell myrhfs0 $ diff -u /export/nfsroot_{staging,ro}/etc/group ( empty ) $ systemd-nspawn -D /export/nfsroot_staging $ pacman -S minidlna ... Creating user minidlna (minidlna server) with uid 971 and gid 971. $ diff -u /export/nfsroot_{staging,ro}/etc/group --- /export/nfsroot_staging/etc/group 2020-03-15 21:36:38.539844642 +0100 +++ /export/nfsroot_ro/etc/group 2020-03-15 21:34:10.167058855 +0100 @@ -76,2 +76,1 @@ -minidlna:x:971: $ systemctl restart udbsync_passwd_nfsroot $ diff -u /export/nfsroot_{staging,ro}/etc/group ( empty )
We no longer split between _staging and _root with the container/mount namespace setup. |
No description provided.
The text was updated successfully, but these errors were encountered: