ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] chroot & named
Date: Tue Jul 17 18:33:01 2001
Message-ID: <20010717144756.47D81829FA@mail.mivlgu.murom.ru> (raw)
In-Reply-To: <01071613071400.28531@maxim.intranet.loc>

On Mon, 16 Jul 2001 13:07:14 +0600
Maxim Mitrofanov <mdk@anker.ru> wrote:

> Господа помогите разобраться
> 
> 	1. установлены пакеты
> 		bind-utils-8.2.4-alt1
> 		bind-devel-8.2.4-alt1
> 		bind-8.2.4-alt1
> 		bind-chroot-8.2.4-alt1
> 		bind-doc-8.2.4-alt1
> 		chrooted-0.1-ipl5
> 		caching-nameserver-7.0-ipl2mdk
> 
> 	2. настроил и запусти named server
> 
> 	3. смотрю ps ax
>  2198 ?        S      0:00 syslogd -a /var/lib/named-root/dev/log
> 19677 ?        S      0:00 named -u named -t /var/lib/named-root 
>                                  -c /var/lib/named/etc/named.conf
> 
> 	4. смотрю lsof и вижу...
> syslogd    2198  root   37u  unix 0xc1a6b1c0               5021 
> /var/lib/named-root/dev/log
> named     19677  root  cwd    DIR        3,1     160      78191 
> /var/named/zones
> named     19677  root  rtd    DIR        3,1     151      78180 
> /var/named
> named     19677  root  txt    REG        3,1  575260     148322 
> /usr/sbin/named
> ^^^^^^^^^^^^^^^^^^^ должно быть /var/named/usr/sbin/named
> named     19677  root  mem    REG        3,1  408437         64 
> /lib/ld-2.2.2.so
> ^^^^^^^^^^^^^^^^^^^ должно быть /var/named/lib/ld-2.2.2.so
> named     19677  root  mem    REG        3,1 5318409         71 
> /lib/libc-2.2.2.so
> ^^^^^^^^^^^^^^^^^^^ должно быть /var/named/lib/libc-2.2.2.so
> named     19677  root  mem    REG        3,1  243746         95 
> /lib/libnss_files-2.2.2.so
> ^^^^^^^^^^^^^^^^^^^ ? вообще не должно быть
 <skip>
>   это кривость рук или нормальная работа

Все нормально. named делает chroot сам, поэтому он сам и все библиотеки
грузятся из обычных мест, а не из /var/lib/named-root. А
/var/lib/named-root/lib/lib*.so* нужны для named-xfer.



  parent reply	other threads:[~2001-07-17 18:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16 10:50 Maxim Mitrofanov
2001-07-17 13:25 ` Dmitry V. Levin
2001-07-17 18:33 ` Sergey Vlasov [this message]
2001-07-18 14:52   ` Maxim Mitrofanov

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=20010717144756.47D81829FA@mail.mivlgu.murom.ru \
    --to=vsu@mivlgu.murom.ru \
    --cc=mandrake-russian@altlinux.ru \
    /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