I have WHM v102.0.14 with PHP 8.0.18. Since upcp ran last night, PHP reports the following error on startup:
safelock: Failed to create a lockfile '/etc/userdatadomains.lock-b232a7f711a9-4100a619-1250' in the directory '/etc' that isn't writable: Permission denied at /usr/local/cpanel/Cpanel/SafeFile.pm line 430. This only happens with the user that I log in to the server with using ssh. root and other users with their own cPanel domains are OK. How do I fix it?