From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <447C3CEA.5060108@mail.ru> Date: Tue, 30 May 2006 16:39:06 +0400 From: Avramenko Andrew User-Agent: Mozilla Thunderbird 1.0.6-1.4.1 (X11/20050719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ALT Devel discussion list Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scan-Signature: cdeb0d34ab0d069ebc97bc60b4eac420 Subject: [devel] =?utf-8?b?0JfQsNC/0YPRgdC6INGF0Y3RiNC10YDQsCDQsiDQv9GA?= =?utf-8?b?0LXQtNCy0LDRgNC40YLQtdC70YzQvdC+IGNocm9vdCfQtQ==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 12:36:50 -0000 Archived-At: List-Archive: List-Post: Добрый день! Система такая: поскольку ALT не могу использовать основной системой, использую Red Hat, затем монтируется раздел с ALT'ом и делается chroot в эту директорию. Проблема возникает при попытке собрать пакет в хэшере: [andrew@localhost SRPMS]$ hsh /home/andrew/hsh dansguardian-2.9.7.0-alt1.src.rpm Components: hasher Processing pkglists... hasher done Processing srclists... hasher done Creating component releases... done Updating global release file... done Appending MD5Sum... hasher done All your base are belong to us!!! hasher-priv: initgroups: andrew: Operation not permitted rmchroot: Failed to make devices. Вполне возможно где-то побились права, но я не могу понять где. Вот что пишет strace: [pid 22790] getpid() = 22790 [pid 22790] bind(3, {sa_family=AF_INET, sin_port=htons(918), sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EACCES (Permission denied) [pid 22790] connect(3, {sa_family=AF_INET, sin_port=htons(111), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 [pid 22790] gettimeofday({1148987159, 82415}, NULL) = 0 [pid 22790] write(3, "\200\0\0008}!\205:\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2"..., 60) = 60 [pid 22790] poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 60000) = 1 [pid 22790] read(3, "\200\0\0\34}!\205:\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 400) = 32 [pid 22790] close(3) = 0 [pid 22790] setgroups32(14, [500, 10, 19, 22, 71, 80, 81, 83, 106, 36, 37, 38, 501, 502]) = -1 EPERM (Operation not permitted) [pid 22790] write(2, "hasher-priv: ", 13hasher-priv: ) = 13 [pid 22790] write(2, "initgroups: andrew", 18initgroups: andrew) = 18 [pid 22790] write(2, ": Operation not permitted", 25: Operation not permitted) = 25 [pid 22790] write(2, "\n", 1 ) = 1 [pid 22790] exit_group(1) = ? Process 22770 resumed Буду благодарен за помощь. --- С уважением, Avramenko Andrew R-Style. Technical support.