ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Ищу ментора
Date: Mon, 25 May 2009 22:19:14 +0300
Message-ID: <op.uuh2mcpvy60z1c@localhost.localdomain> (raw)
In-Reply-To: <f725ea640905250926v7da43355la8c8fc27941df90a@mail.gmail.com>

On Mon, 25 May 2009 19:26:34 +0300, Rinat Bikov  wrote:

> 25 мая 2009 г. 21:08 пользователь Aleksander Gorohovski написал:
>> Может тут надо было уточнить, что в качестве
>> $TMP использовать /tmp
> $ echo $TMP
> /tmp/.private/becase

Наверное я должен привести порядок действий,
которые были проделаны
http://www.altlinux.org/Hasher/Руководство

1.
# apt-get install hasher

2.
# hasher-useradd aleksander

#cat group |grep aleksander

wheel:x:10:root,aleksander
hashman:x:39:aleksander
aleksander_a:x:503:aleksander
aleksander_b:x:504:aleksander

3.
Перезалогинился.

4.
$ rm ~/hasher
$ mkdir ~/hasher

5.
$ hsh --initroot-only ~/hasher

Жду, достаточно долго жду.
Появляется сообщение об ошибке:

hasher-priv: slave: chrootuid: execve: /.host/entry: No such file or  
directory
hsh-initroot: Failed to create RPM database.

6.
Нахожу и читаю
http://www.altlinux.org/Hasher/FAQ
...
" A: По умолчанию hasher позволяет располагать свою рабочую директорию в  
$HOME пользователя или в /tmp/.private. Или измените место, где создаётся  
рабочая директория, или разрешите дополнительные директории с помощью  
ключа prefix в /etc/hasher-priv/system (общесистемно) или  
/etc/hasher-priv/user.d/<USER> (для одного пользователя)."

7.
Явно указываю в /etc/hasher-priv/user.d/aleksander префикс

# cat /etc/hasher-priv/user.d/aleksander

user1=aleksander_a
user2=aleksander_b

prefix=~:/home/aleksander/hasher


8.
Опять
$ hsh --initroot-only ~/hasher

Та же ошибка:

hasher-priv: slave: chrootuid: execve: /.host/entry: No such file or  
directory
hsh-initroot: Failed to create RPM database.

9.
На всякий случай проверяю

# apt-get install chrooted chrooted-resolv chrootuid
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Последняя версия chrooted уже установлена.
Последняя версия chrooted-resolv уже установлена.
Последняя версия chrootuid уже установлена.

Подскажите,
что еще можно предпринять чтобы заработал hasher?

ALT Desktop 4.1.1


  reply	other threads:[~2009-05-25 19:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 11:41 Anton Chaykin
2009-05-23 12:34 ` Andriy Dobrovol`s`kii
2009-05-25  9:17   ` Андрей Черепанов
2009-05-25  9:26     ` AShen
2009-05-25 14:25     ` Aleksander Gorohovski
2009-05-25 15:12       ` Андрей Черепанов
2009-05-25 16:08         ` Aleksander Gorohovski
2009-05-25 16:26           ` Rinat Bikov
2009-05-25 19:19             ` Aleksander Gorohovski [this message]
2009-05-25 16:42           ` Anton Chaykin
2009-05-25 17:51           ` [Comm] Ищу ментора [JT] Владимир Гусев
2009-05-23 15:17 ` [Comm] Ищу ментора Alexey Borovskoy
2009-05-23 15:19   ` Andrey Rahmatullin
2009-05-23 18:54     ` Anton Chaykin
2009-05-24 19:14       ` Alexey Voinov
2009-05-24 21:21       ` Anton Yanchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.uuh2mcpvy60z1c@localhost.localdomain \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git