ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Denis Medvedev <nbr@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>,
	"Vladimir D. Seleznev" <vseleznv@altlinux.org>,
	sisyphus@lists.altlinux.org
Subject: Re: [devel] [sisyphus] приключения resolv.conf в ALT
Date: Fri, 3 Apr 2020 13:32:38 +0300
Message-ID: <2568abff-ebe1-8a85-cd37-8d35adc29e0e@altlinux.org> (raw)
In-Reply-To: <20200403102827.GA3877768@portlab>

03.04.2020 13:28, Vladimir D. Seleznev пишет:
> On Tue, Mar 31, 2020 at 10:05:17PM +0300, Alexey Shabalin wrote:
>>> PS: следующим письмом попробую подробно описать наши кувыркания с resolv.conf.
>>> дождитесь его, прежде чем отвечать :)
>> 5) update_chrooted.
>> Наши замечательные ALT особенности :)
>> Множество сервисов и отдельных программ(например ping) запускаются в chroot.
>> В этот chroot должны быть скопированы и библиотеки, и настройки для
>> этих библиотек, в частности resolv.conf.
>> Т.е. ping не использует /etc/resolv.conf, а использует
>> /var/resolv/etc/resolv.conf.
>> Нам очень важно держать в chroot'ах resolv.conf синхронным c с
>> основной системой.
>> Вроде все утилиты, обновляющие /etc/resolv.conf обучены вызывать
>> update_chrooted.
> Может быть стоит написать некий update_chrootd, который следил бы за
> всеми файлами, которые должны быть в чруте, и при их обновлении обновлял
> бы чрут?
>
Делать inotify на список файлов относящимся к chroot и по событию 
изменения делать update_chroot?




  reply	other threads:[~2020-04-03 10:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 10:28 ` Vladimir D. Seleznev
2020-04-03 10:32   ` Denis Medvedev [this message]
2020-04-03 10:37     ` Vladimir D. Seleznev
2020-04-03 10:50       ` Vladimir D. Seleznev
2020-04-03 10:51         ` Denis Medvedev
2020-04-03 12:20           ` Dmitry V. Levin
2020-04-03 12:22             ` Denis Medvedev
2020-04-03 12:33             ` Alexey V. Vissarionov
2020-04-03 12:56             ` Andrey Savchenko
2020-04-03 13:10               ` Dmitry V. Levin
2020-04-03 13:21                 ` Denis Medvedev
2020-04-03 13:28                   ` Dmitry V. Levin
2020-04-03 13:50                     ` Alexey V. Vissarionov
2020-04-03 13:46                   ` Vladimir D. Seleznev
2020-04-03 16:53                     ` Andrey Savchenko
2020-04-03 18:09                       ` Vladimir D. Seleznev
2020-04-03 10:32   ` Alexey V. Vissarionov

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=2568abff-ebe1-8a85-cd37-8d35adc29e0e@altlinux.org \
    --to=nbr@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    --cc=vseleznv@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