Page MenuHomePhabricator

deployment-(mathoid|sca0[12]|cxserver03) puppet failures "Error: Could not set home on user" due to user being in use by process
Closed, ResolvedPublic

Description

Error: Could not set home on user[mathoid]: Execution of '/usr/sbin/usermod -d /nonexistent mathoid' returned 8: usermod: user mathoid is currently used by process 456
Error: Could not set home on user[citoid]: Execution of '/usr/sbin/usermod -d /nonexistent citoid' returned 8: usermod: user citoid is currently used by process 455
Error: Could not set home on user[graphoid]: Execution of '/usr/sbin/usermod -d /nonexistent graphoid' returned 8: usermod: user graphoid is currently used by process 457
Error: Could not set home on user[cxserver]: Execution of '/usr/sbin/usermod -d /nonexistent cxserver' returned 8: usermod: user cxserver is currently used by process 31148

Event Timeline

mobrovac added a project: User-mobrovac.
mobrovac added a subscriber: mobrovac.

*sigh*. A simple service X stop && puppet agent -tv && service X start ought to do it. I shall fix it.

mobrovac triaged this task as Medium priority.Apr 12 2016, 8:22 AM

deployment-(mathoid|sca0[12]) have been fixed. I'm being denied access to deployment-cxserver03, though, for some strange reason, so can't complete the task. If you can log in, simply do sudo service cxserver stop && sudo puppet agent -tv and that'll fix it (Puppet will automatically start the service back up).

Yeah, I can only log in as root there, not myself. Something's broken about it.

mobrovac removed a project: User-mobrovac.

All are done. Resolving.