ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: community-alt@3b-group.ru
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Не доисанные по умолчанию настройки в сборке "сервер" для builder`a
Date: Fri, 06 May 2022 10:58:01 +0300
Message-ID: <10100cc3ab15629249332d56176a3dfb@3b-group.ru> (raw)
In-Reply-To: <224f60c0-cee5-7ec9-f43f-b068d45c5f1d@ya.ru>

Антон Мидюков писал 2022-05-06 09:53:
> 06.05.2022 13:40, community-alt@3b-group.ru пишет:
>> community-alt@3b-group.ru писал 2022-05-06 09:31:
>>> community-alt@3b-group.ru писал 2022-05-06 09:18:
>>>> community-alt@3b-group.ru писал 2022-05-06 09:14:
>>>>> Антон Мидюков писал 2022-05-06 03:45:
>>>>>> 06.05.2022 01:04, community-alt@3b-group.ru пишет:
>>>>>>> Привет!
>>>>>>> Скачал и установил сервер с опцией с опцией "сборщик пакетов".
>>>>>>> По пробовал выполнить комманду из alt-p10-builder
>>>>>>> 
>>>>>>> $ git clone git://git.altlinux.org/gears/h/hello.git && cd hello 
>>>>>>> && gear-hsh
>>>>>>> Cloning into 'hello'...
>>>>>>> remote: Counting objects: 1372, done.
>>>>>>> remote: Compressing objects: 100% (463/463), done.
>>>>>>> remote: Total 1372 (delta 905), reused 1372 (delta 905)
>>>>>>> Receiving objects: 100% (1372/1372), 1.82 MiB | 615.00 KiB/s, 
>>>>>>> done.
>>>>>>> Resolving deltas: 100% (905/905), done.
>>>>>>> hsh: /usr/libexec/hasher-priv/getconf.sh: cannot access getconf 
>>>>>>> helper.
>>>>>>> 
>>>>>>> Помогите наладить сборку пакетов! В builder все работало по 
>>>>>>> умолчанию.
>>>>>>> _______________________________________________
>>>>>> 
>>>>>> Необходимо настроить пользователя для сборки. Для этого есть
>>>>>> замечательная команда:
>>>>>> 
>>>>>> # builder-useradd имя_пользователя
>>>>>> 
>>>>>> Если пользователь существует, то его настроит, если не существует 
>>>>>> создаст.
>>>>>> Не забудьте перелогиниться, если залогиненного пользователя 
>>>>>> настраиваете.
>>>>> 
>>>>> 
>>>>> [root@host-62 ~]# PATH=$PATH:/sbin:/usr/sbin
>>>>> [root@host-62 ~]# hasher-useradd build-user
>>>>> id: «build-user»: такого пользователя нет
>>>>> [root@host-62 ~]# builder-useradd build-user
>>>>> bash: builder-useradd: команда не найдена
>>>>> [root@host-62 ~]#
>>>>>  НЕ РАБОТАЕТ!
>>>>> _______________________________________________
>>>>> community mailing list
>>>>> community@lists.altlinux.org
>>>>> https://lists.altlinux.org/mailman/listinfo/community
>>>> 
>>>> 
>>>> [server@host-62 hello]$ su root
>>>> Password:
>>>> [root@host-62 hello]# su build-user
>>>> su: User not known to the underlying authentication module
>>>> _______________________________________________
>>>> community mailing list
>>>> community@lists.altlinux.org
>>>> https://lists.altlinux.org/mailman/listinfo/community
>>> 
>>> 
>>> root@host-62 hello]# PATH=$PATH:/sbin:/usr/sbin
>>> [root@host-62 hello]# adduser  build-user
>>> [root@host-62 hello]# useradd build-user
>>> useradd: пользователь «build-user» уже существует
>>> [root@host-62 hello]# hasher-useradd build-user
>>> Добавление пользователя build-user в группу build-user_a
>>> Добавление пользователя build-user в группу build-user_b
>>> Добавление пользователя build-user в группу hashman
>>> [root@host-62 hello]#
>>> 
>>> нашел правильное решение с "регистрацией" пользователя.
>>> _______________________________________________
>>> community mailing list
>>> community@lists.altlinux.org
>>> https://lists.altlinux.org/mailman/listinfo/community
>> [root@host-62 ~]# PATH=$PATH:/sbin:/usr/sbin
>> [root@host-62 ~]# hasher-useradd server
>> Добавление пользователя server в группу server_a
>> Добавление пользователя server в группу server_b
>> Добавление пользователя server в группу hashman
>> [root@host-62 ~]# exit
>> [server@host-62 ~]$ cd hello && gear-hsh
>> hsh: /usr/libexec/hasher-priv/getconf.sh: cannot access getconf 
>> helper.
>> [server@host-62 hello]$
>> использование команды hesher-adduser для пользователя server не решило 
>> проблему с ошибкой.
>> _______________________________________________
> 
> Перелогиньте пользователя server.
> 
> И в чём проблема установить пакет builder-useradd, раз он не 
> установлен?

Возник такой вопрос "При наличии оперативы 2ГБ выводит ошибку"

[server@host-62 ~]$ cd hello && gear-hsh
<13>May  6 07:03:01 rpmi: setup-2.2.16-alt1 sisyphus+240258.100.5.1 
1577333714 installed

	installing package sisyphus_check-0.8.63-alt1.noarch needs 1080MB on 
the / filesystem
hsh-initroot: Failed to install build package list.
[server@host-62 hello]$

Возникает впорос: Существует лимит для сборки пакетов "по памяти"?


  reply	other threads:[~2022-05-06  7:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-05 18:04 community-alt
2022-05-05 18:44 ` Hihin
2022-05-06  0:45 ` Антон Мидюков
2022-05-06  6:12   ` community-alt
2022-05-06  6:12   ` community-alt
2022-05-06  6:14   ` community-alt
2022-05-06  6:18     ` community-alt
2022-05-06  6:31       ` community-alt
2022-05-06  6:40         ` community-alt
2022-05-06  6:53           ` Антон Мидюков
2022-05-06  7:58             ` community-alt [this message]
2022-05-06  8:14               ` [Comm] Не доисанные по умолчанию настройки в сборке " =?utf-8?Q?=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80?=" " Andrew Borodin
2022-05-06  8:35                 ` [Comm] Не доисанные по умолчанию настройки в сборке " сервер" " Антон Мидюков
2022-05-06 10:31                   ` community-alt
2022-05-06  7:36       ` [Comm] Не доисанные по умолчанию настройки в сборке " =?utf-8?Q?=D1=81=D0=B5=D1=80=D0=B2=D0=B5=D1=80?=" " Andrew Borodin
2022-05-06  8:00         ` community-alt
2022-05-06  8:10           ` [Comm] Не доисанные по умолчанию настройки в сборке =?koi8-r?Q?_?=" " Andrew Borodin
2022-05-06 13:51       ` [Comm] Не доисанные по умолчанию настройки в сборке "сервер" " Хихин Р.

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=10100cc3ab15629249332d56176a3dfb@3b-group.ru \
    --to=community-alt@3b-group.ru \
    --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