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 09:40:12 +0300
Message-ID: <179a9871da18727c4904b511699804b8@3b-group.ru> (raw)
In-Reply-To: <65771e9082871daa509ccfd5bad27a28@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 не решило 
проблему с ошибкой.


  reply	other threads:[~2022-05-06  6:40 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 [this message]
2022-05-06  6:53           ` Антон Мидюков
2022-05-06  7:58             ` community-alt
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=179a9871da18727c4904b511699804b8@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