* [devel] update_chrooted и resolv.conf
@ 2014-08-07 17:12 Денис Смирнов
0 siblings, 0 replies; only message in thread
From: Денис Смирнов @ 2014-08-07 17:12 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 649 bytes --]
Обнаружился фатальный недостаток в моей идее с вызовом
/etc/chroot.d/resolv.conf автоматически при обновлении resolv.conf, hosts,
и т.д.
У нас есть различны chrooted-сервисы. И, насколько я понимаю, для них
точно также нужно копировать эти конфиги.
Есть два решения:
- вызывать таки update_chrooted conf -- оно неправильно, ибо обновлять
конфиги всех сервисов при изменении resolv.conf это криво
- делать /etc/chroot.d/%name.resolv, и вызывать соответственно
update_chrooted resolv. Это красивее, но потребует разового обновления
всех chrooted сервисов.
Каким путем пойдем?
--
С уважением, Денис
http://mithraen.ru/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-07 17:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 17:12 [devel] update_chrooted и resolv.conf Денис Смирнов
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