From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1651819989; bh=v4kaIQ2OXD6VqCltED2dOmavKhHyYqUtkoxjX1UWYSs=; h=In-Reply-To:From:Subject:References:Date:Message-ID:To; b=QTFHWn+HUcqExRGSgk+0/M14mQgMLWk7yv096ehoaXgBfljuQoYlB8kG+uco0YlCW ZwhGMGwdtqScdrbV7H1cSzstGC/pUr+JIopjBJaduFd4pAYFXUe96VJzEehuJI2qSF B/R/Ga388vnRQBkh+4samE3cBZgv3GyNatdb4QNg= Authentication-Results: iva4-12d38d5d3a8a.qloud-c.yandex.net; dkim=pass header.i=@ya.ru Message-ID: <224f60c0-cee5-7ec9-f43f-b068d45c5f1d@ya.ru> Date: Fri, 6 May 2022 13:53:08 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: ru To: community@lists.altlinux.org References: <6d5dc63c-0ab8-305a-da24-29f76b7b6eae@ya.ru> <4841c25a234996f828bf8119d49f4bb2@3b-group.ru> <79e0e99286f5756c6882f4cf94ab879f@3b-group.ru> <65771e9082871daa509ccfd5bad27a28@3b-group.ru> <179a9871da18727c4904b511699804b8@3b-group.ru> From: =?UTF-8?B?0JDQvdGC0L7QvSDQnNC40LTRjtC60L7Qsg==?= In-Reply-To: <179a9871da18727c4904b511699804b8@3b-group.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?utf-8?b?0J3QtSDQtNC+0LjRgdCw0L3QvdGL0LUg0L/QviDRg9C80L4=?= =?utf-8?b?0LvRh9Cw0L3QuNGOINC90LDRgdGC0YDQvtC50LrQuCDQsiDRgdCx0L7RgNC6?= =?utf-8?b?0LUgItGB0LXRgNCy0LXRgCIg0LTQu9GPIGJ1aWxkZXJgYQ==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 06:54:42 -0000 Archived-At: List-Archive: List-Post: 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, раз он не установлен? -- С уважением, Антон Мидюков