/dev/null: Permission denied [SOLVED]
det 28 апреля, 2011 - 12:52
Доброго вам дня.
*В начале не собирался sandbox, но теперь я понял что ни один пакет не собирается.
Изначально проблема была как и тут, эмуляция в ядре включена.
Но после того как я пытался самостоятельно решить проблему второй день - выискивал возможные варианты решения на багзилле, и оф форумах и делал следующее:
quickpkg sandbox # на всякий случай сохранил emerge -C sandbox emerge emul-linux-x86-xlibs # надеялся что после включения эмуляции в ядре осталось лишь пересобрать этот пакет, но при его персборке получил такие же ошибки как и ниже emerge -k sandbox emerge -l sandbox
emerge --info
появились эти страшные логи.
*Никакой пакет не собирается вообще.
# emerge sandbox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/sandbox-2.4 USE="(multilib)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-apps/sandbox-2.4 * sandbox-2.4.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sys-apps/sandbox-2.4 * Repository: gentoo * Maintainer: * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: ccache sandbox ACCESS DENIED open_wr: /dev/tty ACCESS DENIED open_wr: /dev/pts/0 ACCESS DENIED open_wr: /dev/tty ACCESS DENIED open_wr: /dev/pts/0 ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 77: /dev/null: Permission denied /usr/lib64/portage/bin/ebuild.sh: line 302: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1945: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1794: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1799: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1802: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1805: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1810: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1794: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1799: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1802: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1805: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1810: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1983: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1986: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2121: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2121: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2155: hasq: command not found ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 1558: /dev/null: Permission denied ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 1558: /dev/null: Permission denied ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 1558: /dev/null: Permission denied ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 1566: /dev/null: Permission denied /usr/lib64/portage/bin/ebuild.sh: line 1664: save_IFS: command not found /usr/lib64/portage/bin/ebuild.sh: line 1667: restore_IFS: command not found ACCESS DENIED open_wr: /dev/null /usr/portage/profiles/base/profile.bashrc: line 16: /dev/null: Permission denied ACCESS DENIED] open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 688: /dev/null: Permission denied /usr/lib64/portage/bin/ebuild.sh: line 765: vecho: command not found ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 688: /dev/null: Permission denied /usr/lib64/portage/bin/ebuild.sh: line 769: vecho: command not found ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 688: /dev/null: Permission denied /usr/lib64/portage/bin/ebuild.sh: line 2345: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2347: save_ebuild_env: command not found /usr/lib64/portage/bin/ebuild.sh: line 1794: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1799: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1802: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1805: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1810: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2349: assert: command not found --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-27786.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/ebuild.sh unpack -------------------------------------------------------------------------------- ACCESS DENIED open_wr: /dev/tty ACCESS DENIED open_wr: /dev/pts/0 ACCESS DENIED open_wr: /dev/tty ACCESS DENIED open_wr: /dev/pts/0 ACCESS DENIED open_wr: /dev/null /usr/lib64/portage/bin/ebuild.sh: line 77: /dev/null: Permission denied /usr/lib64/portage/bin/ebuild.sh: line 302: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1919: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1945: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1794: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1799: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1802: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1805: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1810: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1794: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1799: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1802: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1805: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1810: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1983: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1986: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2121: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 2121: hasq: command not found /usr/lib64/portage/bin/ebuild.sh: line 1664: save_IFS: command not found /usr/lib64/portage/bin/ebuild.sh: line 1667: restore_IFS: command not found ACCESS DENIED open_wr: /dev/null /usr/portage/profiles/base/profile.bashrc: line 16: /dev/null: Permission denied ACCESS DENIED open_wr: /dev/tty ACCESS DENIED open_wr: /dev/pts/0 ACCESS DENIED open_wr: /dev/tty ACCESS DENIED open_wr: /dev/pts/0 ACCESS DENIED open_wr: /dev/null sh: /dev/null: Permission denied --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-27865.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: /bin/bash /usr/lib64/portage/bin/misc-functions.sh die_hooks F: open_wr S: deny P: /dev/tty A: /dev/tty R: /dev/tty C: /bin/bash /usr/lib64/portage/bin/ebuild-ipc exit 1 F: open_wr S: deny P: /dev/pts/0 A: /dev/pts/0 R: /dev/pts/0 C: /bin/bash /usr/lib64/portage/bin/ebuild-ipc exit 1 F: open_wr S: deny P: /dev/tty A: /dev/tty R: /dev/tty C: sh -c uname -p 2> /dev/null F: open_wr S: deny P: /dev/pts/0 A: /dev/pts/0 R: /dev/pts/0 C: sh -c uname -p 2> /dev/null F: open_wr S: deny P: /dev/null A: /dev/null R: /dev/null C: sh -c uname -p 2> /dev/null -------------------------------------------------------------------------------- >>> Failed to emerge sys-apps/sandbox-2.4, Log file: >>> '/var/tmp/portage/sys-apps/sandbox-2.4/temp/build.log'
#revdep-rebuild
ничего не дал.
# ls -n /dev/ | grep 'null'
crw-rw-rw- 1 0 0 1, 3 Apr 28 13:20 null
Такое вижу впервые и пока что не придумал что делать)
»
- Для комментирования войдите или зарегистрируйтесь
?
А если попробовать http://gentoo.ru/content/ya-udalilslomal-sistemnyy-paket-i-teper-gentoo-ne-gruzitsya-neuzheli-pereustanavlivatsya
а эта строка - это просто подпись
!
Помогло, спасибо!
Что я сделал:
Согласно постам по вашему линку, так как система рабочая, и грузится, я решил не загружаться с livecd а все сделать без перезагрузки.
Would you like to know more?