cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francois Gaudreault (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1660) CloudStack 4.1 RPM install Warning
Date Wed, 13 Mar 2013 17:16:13 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601373#comment-13601373
] 

Francois Gaudreault commented on CLOUDSTACK-1660:
-------------------------------------------------

The git repo is under root homedir, so root owns everything.  The warning comes from the defattr
within the spec awsapi files section:

%files awsapi
%defattr(0644,cloud,cloud,0755)

But the cloud user is added in the pre section of the management RPM:
%pre management
id cloud > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user"
\
     -r -s /bin/sh -d %{_localstatedir}/cloudstack/management cloud|| true

And awsapi is installed before the management RPM, and the user is not existing on the target
system yet.


                
> CloudStack 4.1 RPM install Warning
> ----------------------------------
>
>                 Key: CLOUDSTACK-1660
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1660
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.1.0
>            Reporter: Francois Gaudreault
>            Priority: Trivial
>
> When install the RPMs on a baremetal CentOS 6, we have couple warnings regarding the
"cloud" user missing when installing the awsapi package.  Looks like the cloud user is created
on a later RPM:
>   Installing : libvirt-0.10.2-18.el6.x86_64                                         
                                                                                         
42/49 
>   Installing : cloudstack-usage-4.1.0-SNAPSHOT.el6.x86_64                           
                                                                                         
43/49 
>   Installing : cloudstack-cli-4.1.0-SNAPSHOT.el6.x86_64                             
                                                                                         
44/49 
>   Installing : cloudstack-docs-4.1.0-SNAPSHOT.el6.x86_64                            
                                                                                         
45/49 
>   Installing : cloudstack-common-4.1.0-SNAPSHOT.el6.x86_64                          
                                                                                         
46/49 
>   Installing : cloudstack-awsapi-4.1.0-SNAPSHOT.el6.x86_64                          
                                                                                         
47/49 
> warning: user cloud does not exist - using root
> warning: group cloud does not exist - using root
> [...]
> warning: user cloud does not exist - using root
> warning: group cloud does not exist - using root
>   Installing : cloudstack-management-4.1.0-SNAPSHOT.el6.x86_64                      
                                                                                         
48/49 
>   Installing : cloudstack-agent-4.1.0-SNAPSHOT.el6.x86_64 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message