[PATCH conductor] Fix aeolus user home directory on upgrade

Justin Clift jclift at redhat.com
Wed Jul 11 19:50:30 UTC 2012


On 11/07/2012, at 11:37 PM, John Eckersberg wrote:
<snip>
> I guess in the specific edge case that we:
> 
> 1) Are upgrading
> 
> 2) Already have an aeolus user, with home directory /var/aeolus
> 
> 3) Already have a new enough version of aeolus-configure installed so
>   that the `aeolus-services` script is available to stop/start all
>   services (as opposed to aeolus-restart-services which is useless in
>   this situation).  Looks like this is only in aeolus-configure >= 2.6.0-1.
> 
> In this case, we can stop services, change the home directory with
> usermod, and start the services.

Probably worth trying.  We seem to have backed ourselves into a bit of
a corner with this one.  Oh well, things to remember for next time. :)


> Alternatively, we could probably do something nasty like sed
> /etc/passwd.  I have no idea how badly that may screw things up though.
> I'll go look into that a bit right now...

Will this work for environments using network based auth mechanisms?

Suspecting "no" there. :/

+ Justin

--
Aeolus Community Manager
http://www.aeolusproject.org




More information about the aeolus-devel mailing list