Bug 887001
Summary: | Root privilege faking fails for a file/directory copy | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miloslav Trmač <mitr> |
Component: | fakeroot | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | axel.thimm, lantw44, lnie |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | fakeroot-1.20.2-3.fc23 fakeroot-1.20.2-3.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-01-08 03:22:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Miloslav Trmač
2012-12-13 19:32:38 UTC
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Reproduced with fakeroot-1.12.4-5.fc18.x86_64. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. Reproduced with fakeroot-1.12.4-6.fc19.x86_64 . This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Reproduced with fakeroot-1.18.4-2.fc20.x86_64. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Same in fakeroot-1.18.4-4.fc22.x86_64 . I'm planning to update to 1.20.2 first. Let's see if it's fixed there. If not, I'll file a bug upstream. Unfortunately it's still reproducible with 1.20.2: [rathann@sakura /tmp]$ fakeroot [root@sakura /tmp]# echo 'foo' > file1 [root@sakura /tmp]# chmod 0 file1 [root@sakura /tmp]# ls -l file1 ---------- 1 root root 4 Jun 18 10:34 file1 [root@sakura /tmp]# cat file1 foo [root@sakura /tmp]# cp -a file1 file2 [root@sakura /tmp]# ls -l file1 file2 ---------- 1 root root 4 Jun 18 10:34 file1 ---------- 1 rathann rathann 4 Jun 18 10:34 file2 [root@sakura /tmp]# cat file2 cat: file2: Permission denied I'll file a report upstream. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 Filed upstream: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799852 Adding libacl-devel to BuildRequires seems to fix the issue: https://bugs.alpinelinux.org/issues/2689 My commands output: [test2@wn tmp]$ fakeroot [root@wn tmp]# echo 'foo' > file1 [root@wn tmp]# chmod 0 file1 [root@wn tmp]# ls -l file1 ---------- 1 root root 4 Dec 11 13:52 file1 [root@wn tmp]# cat file1 foo [root@wn tmp]# cp -a file1 file2 [root@wn tmp]# ls -l file1 file2 ---------- 1 root root 4 Dec 11 13:52 file1 ---------- 1 root root 4 Dec 11 13:52 file2 [root@wn tmp]# cat file2 foo fakeroot-1.20.2-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-0a31119f77 fakeroot-1.20.2-3.fc23 fixed this bug,but I got the following output when installing the package: warning: %post(fakeroot-1.20.2-3.fc23.x86_64) scriptlet failed, exit status 126 Non-fatal POSTIN scriptlet failure in rpm package fakeroot Non-fatal POSTIN scriptlet failure in rpm package fakeroot error: %preun(fakeroot-1.20.2-1.fc23.x86_64) scriptlet failed, exit status 126 Error in PREUN scriptlet in rpm package fakeroot Error in PREUN scriptlet in rpm package fakeroot fakeroot-1.20.2-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7df1a39fc5 fakeroot-1.20.2-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. fakeroot-1.20.2-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-0a31119f77 (In reply to lnie from comment #16) > fakeroot-1.20.2-3.fc23 fixed this bug,but I got the following output when > installing the package: > warning: %post(fakeroot-1.20.2-3.fc23.x86_64) scriptlet failed, exit status > 126 > Non-fatal POSTIN scriptlet failure in rpm package fakeroot > Non-fatal POSTIN scriptlet failure in rpm package fakeroot > error: %preun(fakeroot-1.20.2-1.fc23.x86_64) scriptlet failed, exit status > 126 > Error in PREUN scriptlet in rpm package fakeroot > Error in PREUN scriptlet in rpm package fakeroot Sorry, but I cannot reproduce this (using dnf). Is this using dnf or yum? Please open a new bug and attach full debug log. fakeroot-1.20.2-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. Fix confirmed, thanks! (I didn’t check the scriptlets.) |