From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] Баг или фича в hsh-shell? Date: Wed, 29 Sep 2021 17:04:38 +0300 Message-ID: <YVRydrqSwSy9fSVZ@glebfm.cloud.tilaa.com> (raw) In-Reply-To: <576324B1-840F-42CD-89E1-0E25ABB4DAC3@yandex.ru> [-- Attachment #1: Type: text/plain, Size: 3044 bytes --] Hi, On Wed, Sep 29, 2021 at 05:57:12AM +0000, Evgeniy Kukhtinov wrote: > Здравствуйте, коллеги! Нужна помощь. > > Обновился недавно с p9 на p10. Пользуюсь иногда hasher в "ручном" режиме. В p9 такая последовательность > действий отработала бы без проблем: > > hsh --initroot -v ~/hasher > hsh-install ~/hasher wget > share_network=1 hsh-shell ~/hasher > cd /usr/src/ > wget https://gitlab.com/jeanfi/psensor/-/archive/1.2.1/psensor-1.2.1.tar.gz > > В p10 столкнулся с проблемой: > > $ wget https://gitlab.com/jeanfi/psensor/-/archive/1.2.1/psensor-1.2.1.tar.gz > --2021-09-29 02:57:50-- https://gitlab.com/jeanfi/psensor/-/archive/1.2.1/psensor-1.2.1.tar.gz > Resolving gitlab.com (gitlab.com)... failed: Temporary failure in name resolution. > wget: unable to resolve host address 'gitlab.com' > > Проверил /etc/resolv.conf изнутри чрута: > > $ awk '!/^(#|$)/' /etc/resolv.conf - файл пустой. > > После выполнения hsh-run ~/hasher --rooter -- sh -c 'cat >/etc/resolv.conf' </etc/resolv.conf начинает > резолвить и wget отрабатывает нормально. > В p9 подобным не нужно было заниматься. > > Вопрос: это у меня локально такая проблема или стоит заводить багу? $ rpm -q --changelog hasher ... * Thu Nov 07 2019 Dmitry V. Levin <ldv@altlinux.org> 1.4.1-alt1 - hsh-initroot: + disabled copying of resolver configuration files from host system by default (by Gleb Fotengauer-Malinovskiy); + fixed error handling in archive_chroot_cache_compress_file. ... До этого изменения hasher молча и без предупреждения копировал эти файлы. В итоге в некоторых наших образах можно было обнаружить resolv.conf с компьютеров, на которых разработчики делали образы. Если хочется, чтобы hasher копировал в чрут конфигурацию resolv-ера, нужно включить опцию install_resolver_configuration_files в .hasher/config или копировать их самому когда нужно. > И ещё вопрос на тему hasher (немного напрягает каждый раз): > > Выполняю hsh-shell, пишу русскую букву, стираю, меняю раскладку на латинский пишу команду и натыкаюсь > на отказ выполнения команды. Это баг или фича? ッ Если выставить переменную LC_CTYPE (например, в C.UTF-8), то shell сразу догадается, что бывают такие символы. :) -- glebfm [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2021-09-29 14:04 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-29 5:57 Evgeniy Kukhtinov 2021-09-29 13:52 ` Oleg Solovyov 2021-09-29 13:54 ` Alexey V. Vissarionov 2021-09-29 13:58 ` Stanislav Levin 2021-09-29 14:04 ` Gleb Fotengauer-Malinovskiy [this message] 2021-09-29 14:21 ` Evgeniy Kukhtinov
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=YVRydrqSwSy9fSVZ@glebfm.cloud.tilaa.com \ --to=glebfm@altlinux.org \ --cc=devel@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git