hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Farrellee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9777) RPM should not claim ownership of paths owned by the platform
Date Mon, 05 Aug 2013 21:30:48 GMT

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

Matthew Farrellee commented on HADOOP-9777:
-------------------------------------------

This is still an issue in the recently released 1.2.1 RPMs -

Transaction check error:
  file /usr/bin from install of hadoop-1.2.1-1.x86_64 conflicts with file from package filesystem-3.2-13.fc19.x86_64
  file /usr/lib from install of hadoop-1.2.1-1.x86_64 conflicts with file from package filesystem-3.2-13.fc19.x86_64
  file /usr/lib64 from install of hadoop-1.2.1-1.x86_64 conflicts with file from package filesystem-3.2-13.fc19.x86_64
  file /usr/sbin from install of hadoop-1.2.1-1.x86_64 conflicts with file from package filesystem-3.2-13.fc19.x86_64

                
> RPM should not claim ownership of paths owned by the platform
> -------------------------------------------------------------
>
>                 Key: HADOOP-9777
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9777
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.1.2
>         Environment: Fedora 19 x64
>            Reporter: Stevo Slavic
>            Priority: Critical
>
> Installing Apache Hadoop rpm ( hadoop-1.1.2-1.x86_64.rpm ) on Fedora 19 x64 fails with:
> [root@laptop hadoop]# rpm -i /home/sslavic/Downloads/hadoop-1.1.2-1.x86_64.rpm
> file /usr/bin from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> file /usr/lib from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> file /usr/lib64 from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> file /usr/sbin from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> Same issue occurs if one tries to install as non-root user:
> [sslavic@laptop ~]$ sudo rpm -i Downloads/hadoop-1.1.2-1.x86_64.rpm 
> file /usr/bin from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> file /usr/lib from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> file /usr/lib64 from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> file /usr/sbin from install of hadoop-1.1.2-1.x86_64 conflicts with file from package
filesystem-3.2-12.fc19.x86_64
> It seems these 4 directories in Hadoop rpm have wrong permissions (+w for owner).
> This is violation of packaging rules. Hadoop rpm spec and/or build scripts need to be
fixed, so that rpm on installation doesn't try to claim ownership of paths owned by the platform,
in this case, filesystem.

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