User cannot chdir to their AFS home when logging in to RHEL workstation

User cannot chdir to their AFS home when logging in to RHEL workstation

When a new Linux kernel is installed some kernel modules might cease to work and will have to be recompiled. For modules using DKMS the recompiling will occur automatically but modules not using DKMS have to be done manually.

In the case where a user is unable to log in to a RHEL workstation because they cannot chdir to their AFS home, the OpenAFS client needs to be switched to use DKMS.

The user will have to boot to an earlier version of the kernel before anyone will be able to log in successfully. A version that works with the non-DKMS OpenAFS client is, 3.10.0-327.36.3.el7.x86_64.

Once that is done, shell into the computer and run the following commands.

$ sudo bash
$ yum -y remove kmod-openafs; yum -y install openafs-dkms; systemctl enable openafs-client; systemctl start openafs-client