| Summary: | kernel unipatch causes ACCESS DENIED failure when trying to remove its patches directories | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Antony Mee <A.J.Mee> |
| Component: | Eclasses | Assignee: | John Mylchreest (RETIRED) <johnm> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | blocker | CC: | kernel |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Antony Mee
2005-07-12 02:21:50 UTC
(In reply to comment #0) > I have fixed this on my system by simply adding an 'if exist' condition: > for x in ${KPATCH_DIR}; [ -e ${x} ] && rm -Rf ${x}; done My apologise... I mean: for x in ${KPATCH_DIR}; do [[ -e ${x} ]] && rm -Rf ${x}; done :-) Can anyone else confirm this please? I have not seen this happen here. I can confirm this bug. It is happening to me with emerge -avu gentoo-sources as
well as trying to emerge linux-headers-2.6.11-r2 and therefore stopping me from
finishing emerge -avu world.
Finaly I got aroud this problem by disabling FEATURE sandbox in make.conf, but
cant say if its good solution..
...
* Applying 4901_speakup-parport.patch (-p0+)...
[ ok ]
* Applying 4905_alpha-sysctl-uac.patch (-p0+)...
[ ok ]
ACCESS DENIED unlink: /usr/local/tmp/portage/gentoo-sources-2.6.12-r6/work/
patches/2.6.12
rm: cannot remove `/usr/local/tmp/portage/gentoo-sources-2.6.12-r6/work/patches/
2.6.12': Permission denied
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-kernel_-_gentoo-sources-2.6.12-r6-7138.
log"
unlink: /usr/local/tmp/portage/gentoo-sources-2.6.12-r6/work/patches/2.6.12
--------------------------------------------------------------------------------
root@web src #
root@web gasior # emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.
20041102-r1, 2.6.10-gentoo-r6y i686)
=================================================================
System uname: 2.6.10-gentoo-r6y i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.14
virtual/os-headers: [Not Present]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.linux.cz/pub/
linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-
esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts berkdb cdr crypt eds emboss encode foomaticdb fortran
gd gdbm gif gpm gstreamer gtk2 imagemagick imlib ipv6 ithreads jpeg libg++
libwww mad mikmod motif mp3 mysql ncurses nls ogg oggvorbis pam pdflib perl png
python quicktime readline samba sdl sftplogging slang spell ssl svga tcpd
truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Sorry.. this has been sitting here without me doin much about it. I've tried again to re-create this and cant. I have also stepped through to fgind a possible problem, but cant. Could you both please try again and let me know if it is still happening? If so please attach an updated emerge info. Can you let me know anyways! Thanks :D closing NEEDINFO for the time being |