linux32 chroot issue

Alexander Tiurin <[email protected]>
Newsgroups gmane.linux.gentoo.hardened
Message-ID <CAK2Q6vBgJosFLJRNpv3i96iQhUR0kqCTXeJuv1g6PA6rCAx23Q@mail.gmail.com>
hi!

emerge  return  errors during build of any atoms in linux32 chroot only.

 (null)*(null) (null)ACCESS DENIED(null):  open_wr:      /dev/tty
 (null)*(null) (null)ACCESS DENIED(null):  open_wr:      /dev/null

The full log http://pastebin.com/4An1ajY0

stat /dev/{null,tty}
  File: '/dev/null'
  Size: 0               Blocks: 0          IO Block: 4096   character
special file
Device: 5h/5d   Inode: 1028        Links: 1     Device type: 1,3
Access: (0666/crw-rw-rw-)  Uid: (    0/    root)   Gid: (    0/    root)

  File: '/dev/tty'
  Size: 0               Blocks: 0          IO Block: 4096   character
special file
Device: 5h/5d   Inode: 1035        Links: 1     Device type: 5,0
Access: (0666/crw-rw-rw-)  Uid: (    0/    root)   Gid: (    5/     tty)

Kernel 3.11.7-hardened-r1
Kernel config
zcat /proc/config.gz | grep -i -e grkern -e pax
http://pastebin.com/ka63Jf98

emerge --info
http://pastebin.com/WJ7BRXCA


In x86_64 chroot all works fine. Also, with hardened-sources-3.2.52-r3
linux32 chroot works fine too.
Please suggest any solution.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.