Issue #4328 has been updated by Nigel Kersten. Status changed from Needs More Information to Closed
We're suffering under ticket debt right now, so I'm going to close this until someone manages to reproduce it. ---------------------------------------- Bug #4328: modifying user fails if user is logged in https://projects.puppetlabs.com/issues/4328 Author: Klavs Klavsen Status: Closed Priority: Normal Assignee: Nigel Kersten Category: Target version: 2.7.x Affected Puppet version: 0.25.5 Keywords: Branch: Just noticed (on Ubuntu 10.04 - probably valid for more OS'es) - that puppet failed to change a users homedir (the nagios user in this case) - and usermod failed to do so, because the user was logged in (the nrpe service was running). To fix this, one way would be to have a "pre-exec" and "post-exec" hook - which in this case, would be to stop and start the relevant service. or perhaps some "obstruction" parameter - where one could define the Service["nrpe"] as an obstruction (which would mean puppet would stop it before and start it again after - if it was indeed stopped by puppet beforehand). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
