ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] secondary DNS
@ 2002-01-29 18:07 Michael Bykov
  2002-01-29 18:41 ` Serhii Hlodin
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Bykov @ 2002-01-29 18:07 UTC (permalink / raw)
  To: mandrake

[michael@michael LRN2]$ rpm -qi bind
Name        : bind                         Relocations: (not relocateable)
Version     : 8.2.5  

Пытаюсь создать слейв зону. В логах

Jan 29 17:37:04 michael named-xfer[13070]: send AXFR query 0 to 195.96.164.100
Jan 29 17:37:04 michael named-xfer[13071]: send AXFR query 0 to 195.96.164.100
Jan 29 17:37:04 michael named-xfer[13068]: send AXFR query 0 to 195.96.164.100
Jan 29 17:37:04 michael named-xfer[13069]: send AXFR query 0 to 195.96.164.100
Jan 29 17:37:05 michael named-xfer[13070]: isc_movefile /var/tmp/NsTmp13064.3.neLz9X to NsTmp13064.3: Permission denied
Jan 29 17:37:05 michael named-xfer[13071]: isc_movefile /var/tmp/NsTmp13064.5.M1tZtZ to NsTmp13064.5: Permission denied
Jan 29 17:37:05 michael named-xfer[13069]: isc_movefile /var/tmp/NsTmp13064.4.gSfWKW to NsTmp13064.4: Permission denied
Jan 29 17:37:06 michael named-xfer[13068]: isc_movefile /var/tmp/NsTmp13064.0.5XvriV to NsTmp13064.0: Permission denied

Потому что, видимо, named не может писать в /var/lib/named.

[root@michael root]# ls -l /var/lib/named/
total 24
drwx--x---    2 root     named        4096 Jan 25 20:02 dev
drwx--x---    2 root     named        4096 Jan 29 16:53 etc
drwx--x---    2 root     named        4096 Oct 18 15:58 lib
drwx--x---    3 root     named        4096 Oct  3 13:06 usr
drwx--x---    5 root     named        4096 Oct  3 13:06 var
drwx--x---    3 root     named        4096 Oct  3 13:06 zone

Как бороться? Дать группе право на запись /var/lib/named? 

-- 

M.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] secondary DNS
  2002-01-29 18:07 [mdk-re] secondary DNS Michael Bykov
@ 2002-01-29 18:41 ` Serhii Hlodin
  2002-01-29 19:05   ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Serhii Hlodin @ 2002-01-29 18:41 UTC (permalink / raw)
  To: mandrake-russian

>>>>> "MB" == Michael Bykov writes:

 MB> Как бороться? Дать группе право на запись /var/lib/named?

 Не группе, а пользователю named (или тому, под чьим аккаунтом named
 запускается).

 Он сам забирает все необходимые файлы с мастера.

-- 
With best regards,
                Serhii Hlodin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] secondary DNS
  2002-01-29 18:41 ` Serhii Hlodin
@ 2002-01-29 19:05   ` Dmitry V. Levin
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2002-01-29 19:05 UTC (permalink / raw)
  To: ALT Linux Spring mailing list

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

On Tue, Jan 29, 2002 at 05:43:02PM +0200, Serhii Hlodin wrote:
>  MB> Как бороться? Дать группе право на запись /var/lib/named?
> 
>  Не группе, а пользователю named (или тому, под чьим аккаунтом named
>  запускается).

Какой ужас.

Не пользователю, а группе.
И не /var/lib/named, а /var/lib/named/zone/slave

Именно в этом каталоге надо хранить описания slave-зон.

>  Он сам забирает все необходимые файлы с мастера.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.com/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-29 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-29 18:07 [mdk-re] secondary DNS Michael Bykov
2002-01-29 18:41 ` Serhii Hlodin
2002-01-29 19:05   ` Dmitry V. Levin

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