[PATCH conductor] Create homedir for aeolus user

Steve Linabery slinaber at redhat.com
Wed Jun 13 16:12:15 UTC 2012


On Wed, Jun 13, 2012 at 12:06:48PM -0400, John Eckersberg wrote:
> Since the aeolus user is being created as a system user (-r), we must
> also pass -m to explicity create the home directory.  See USERADD(8)
> for details.
> ---
>  aeolus-conductor.spec.in |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/aeolus-conductor.spec.in b/aeolus-conductor.spec.in
> index fd45417..1aa7a08 100644
> --- a/aeolus-conductor.spec.in
> +++ b/aeolus-conductor.spec.in
> @@ -154,7 +154,7 @@ run aeolus-configure to configure everything.
>  getent group aeolus >/dev/null || /usr/sbin/groupadd -g 180 -r aeolus 2>/dev/null || :
>  getent passwd aeolus >/dev/null || \
>      /usr/sbin/useradd -u 180 -g aeolus -c "aeolus" \
> -    -s /sbin/nologin -r -d /var/aeolus aeolus 2> /dev/null || :
> +    -s /sbin/nologin -r -m -d /var/aeolus aeolus 2> /dev/null || :
>  
>  %install
>  %{__mkdir} -p %{buildroot}
> -- 
> 1.7.10.2
> 

ACK!

s



More information about the aeolus-devel mailing list