ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alex Moskalenko <mav@elserv.msk.su>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] dhcpd и chroot
Date: Thu, 04 Apr 2019 17:06:55 +0300
Message-ID: <3aafd2bc8703487e6b2ef648f7de8e2e@elserv.msk.su> (raw)
In-Reply-To: <CAK42-Gqesi-zeYg0xpc9RnxOXCBKEA=X-Qx+9wPdNZxT9iqgbw@mail.gmail.com>

Evgeny Sinelnikov писал 03.04.2019 21:20:
> Я такой ручки не помнил, но глянул в исходники, обнаружил опцию -j
> Видимо, это ручка выглядит так:
> DHCPDARGS="-j /"
> в /etc/sysconfig/dhcpd
Спасибо, "ручка" сработала с дополнением в виде "-lf 
/var/lib/dhcp/dhcpd/state/dhcpd.leases".

Итоговый вид /etc/sysconfig/dhcpd:
DHCPDARGS="-j / -lf /var/lib/dhcp/dhcpd/state/dhcpd.leases"

В будущем вполне можно сделать control по аналогии с bind-chroot - 
действия требуются практически такие же.

Еще раз спасибо!

PS Правда, реализовать обновление DNS пока не получилось - см. 
https://lists.altlinux.org/pipermail/samba/2019-April/004329.html Но это 
уже не к dhcpd.


      parent reply	other threads:[~2019-04-04 14:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-03 13:22 Alex Moskalenko
2019-04-03 18:20 ` Evgeny Sinelnikov
2019-04-03 18:37   ` Evgeny Sinelnikov
2019-04-04  6:45     ` Alex Moskalenko
2019-04-04 14:06   ` Alex Moskalenko [this message]

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=3aafd2bc8703487e6b2ef648f7de8e2e@elserv.msk.su \
    --to=mav@elserv.msk.su \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git