| Summary: | dev-db/mysql-5.1.56 sandbox violations: ACCESS DENIED unlinkat: /usr/share/info/libc.info-6.bz2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex Barker <alex> |
| Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | gentoo |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge_info.txt
sandbox.log build.log.bz |
||
|
Description
Alex Barker
2012-01-08 19:05:10 UTC
Created attachment 298347 [details]
emerge_info.txt
Created attachment 298349 [details]
sandbox.log
build.log: http://paste.pocoo.org/raw/531880/ I should note that FEATURES="-sandbox" allows the installation to complete normally. This is a brand new system, was emerging kde-meta and mysql was pulled as one of the 500 or so depends. Same problem here. Also happens with dev-db/mysql-5.1.51 (In reply to comment #3) > build.log: http://paste.pocoo.org/raw/531880/ Please attach that file to this bug report. (In reply to comment #6) > (In reply to comment #3) > > build.log: http://paste.pocoo.org/raw/531880/ > > Please attach that file to this bug report. Cannot attach, It is to large. Created attachment 298425 [details]
build.log.bz
Added compressed build.log to the bug.
*** This bug has been marked as a duplicate of bug 398025 *** (In reply to comment #4) > I should note that FEATURES="-sandbox" allows the installation to complete > normally. This is a brand new system, was emerging kde-meta and mysql was > pulled as one of the 500 or so depends. You really, *really* don't want to do that. By adding the prefix support to the mysql.eclass, the ebuild run the following command: rm -Rf "${ED}/usr/share/info" As the ebuild was using EAPI-2, this meant it really run the following: rm -Rf "/usr/share/info" Therefore by disabling the sandbox protection, one will allow the ebuild to remove everything inside /usr/share/info. If you hit this issue please sync ASAP and do *not* disable sandbox. (In reply to comment #10) > (In reply to comment #4) > > I should note that FEATURES="-sandbox" allows the installation to complete > > normally. This is a brand new system, was emerging kde-meta and mysql was > > pulled as one of the 500 or so depends. > > You really, *really* don't want to do that. By adding the prefix support to the > mysql.eclass, the ebuild run the following command: > > rm -Rf "${ED}/usr/share/info" > > As the ebuild was using EAPI-2, this meant it really run the following: > > rm -Rf "/usr/share/info" > > Therefore by disabling the sandbox protection, one will allow the ebuild to > remove everything inside /usr/share/info. > If you hit this issue please sync ASAP and do *not* disable sandbox. Well didnt have much of a choice with that one as the system need to get built last weekend and the ebuild was stable in the tree. I am guessing a complete tree rebuild is going to be necessary to reproduce /usr/share/info ... ? There are probably other ways to do it, but you can use the following: emerge -av1 $(grep -H /usr/share/info /var/db/pkg/*/*/CONTENTS | cut -f1 -d: | sed -e "s:^/var/db/pkg/::" -e "s:/CONTENTS$::" | sort -u | sed -e "s:^:=:") *** This bug has been marked as a duplicate of bug 398025 *** |