You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2012/09/14 14:59:07 UTC

[jira] [Created] (HADOOP-8809) RPMs should skip useradds if the users already exist

Steve Loughran created HADOOP-8809:
--------------------------------------

             Summary: RPMs should skip useradds if the users already exist
                 Key: HADOOP-8809
                 URL: https://issues.apache.org/jira/browse/HADOOP-8809
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.0.3
            Reporter: Steve Loughran
            Priority: Minor


The hadoop.spec preinstall script creates users -but it does this even if they already exist. This may causes problems if the installation has already got those users with different uids. A check with {{id}} can avoid this.

--
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

[jira] [Commented] (HADOOP-8809) RPMs should skip useradds if the users already exist

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456360#comment-13456360 ] 

Steve Loughran commented on HADOOP-8809:
----------------------------------------

+1, removes confusion.

I need to look at what BT does first, as I've been having UID grief downstream. Clearly it's not from the hadoop-core RPM
                
> RPMs should skip useradds if the users already exist
> ----------------------------------------------------
>
>                 Key: HADOOP-8809
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8809
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.3
>            Reporter: Steve Loughran
>            Priority: Minor
>
> The hadoop.spec preinstall script creates users -but it does this even if they already exist. This may causes problems if the installation has already got those users with different uids. A check with {{id}} can avoid this.

--
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

[jira] [Resolved] (HADOOP-8809) RPMs should skip useradds if the users already exist

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins resolved HADOOP-8809.
---------------------------------

    Resolution: Won't Fix

Filed HADOOP-8925.
                
> RPMs should skip useradds if the users already exist
> ----------------------------------------------------
>
>                 Key: HADOOP-8809
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8809
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.3
>            Reporter: Steve Loughran
>            Priority: Minor
>
> The hadoop.spec preinstall script creates users -but it does this even if they already exist. This may causes problems if the installation has already got those users with different uids. A check with {{id}} can avoid this.

--
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

[jira] [Commented] (HADOOP-8809) RPMs should skip useradds if the users already exist

Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456145#comment-13456145 ] 

Eli Collins commented on HADOOP-8809:
-------------------------------------

Bigtop has a fix for this btw. Now that Bigtop is becoming a TLP what do people thing of just removing the packaging code so we don't maintain the same thing in two projects?
                
> RPMs should skip useradds if the users already exist
> ----------------------------------------------------
>
>                 Key: HADOOP-8809
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8809
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.3
>            Reporter: Steve Loughran
>            Priority: Minor
>
> The hadoop.spec preinstall script creates users -but it does this even if they already exist. This may causes problems if the installation has already got those users with different uids. A check with {{id}} can avoid this.

--
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