This article applies to BoKS Manager 6.7.0, 6.7.1 and 7.0.0.
If a user's home directory is located on an nfs-mounted area exported with root squash, boks_clntd will remove any customized lines in profile files if mkhome is executed for the user.
Resolution / Workaround
To resolve this issue, apply the hotfix HFBM-0146 (for BoKS Manager 6.7 / 6.7.1) or hotfix HFBM-0147 (for BoKS Manager 7.0), available for download from the HelpSystems Community Portal.
The problem was in the code that tries to add the BoKS specific pre- and postpatch lines to the profile files. It only tried to read the file as root, and when that failed, it assumed the file was empty and created a new one, discarding the old content. The fix was to try to read the file as the user when reading it as root failed.
Still have questions? We can help. Submit a case to Technical Support.