ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Нерабочий init.d скрипт в dnsmasq
@ 2005-03-11  9:13 Ivan Adzhubey
  2005-03-12  6:55 ` Ivan Adzhubey
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Adzhubey @ 2005-03-11  9:13 UTC (permalink / raw)
  To: sisyphus

Вот решил попробовать dnsmask. Все сконфигурировал, при запуске ругань 
(прилагается). Кто-нибудь /etc/init.d/dnsmasq проверял вообще? И почему ему 
не нравится отсутствие lease file, он же должен сам его создать при запуске?

-- 
Иван

# service dnsmasq start
Update/create /etc/resolv.conf.dnsmasq
Validate /etc/resolv.conf
Starting dnsmasq service: dnsmasq: cannot open or create leases file: No such 
file or directory
                                                                        
[FAILED]
Adding local broadcast host route:Usage: route [-nNvee] [-FC] [<AF>]           
List kernel routing tables
       route [-v] [-FC] {add|del|flush} ...  Modify routing table for AF.

       route {-h|--help} [<AF>]              Detailed usage syntax for 
specified AF.
       route {-V|--version}                  Display version/author and exit.

        -v, --verbose            be verbose
        -n, --numeric            don't resolve names
        -e, --extend             display other/more information
        -F, --fib                display Forwarding Information Base (default)
        -C, --cache              display routing cache instead of FIB

  <AF>=Use '-A <af>' or '--<af>'; default: inet
  List of possible address families (which support routing):
    inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
    netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
    x25 (CCITT X.25)
#


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

* Re: [sisyphus] Нерабочий init.d скрипт в dnsmasq
  2005-03-11  9:13 [sisyphus] Нерабочий init.d скрипт в dnsmasq Ivan Adzhubey
@ 2005-03-12  6:55 ` Ivan Adzhubey
  2005-03-12 14:45   ` [sisyphus] " Michael Shigorin
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Adzhubey @ 2005-03-12  6:55 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Friday 11 March 2005 04:13 am, Ivan Adzhubey wrote:
> Вот решил попробовать dnsmask. Все сконфигурировал, при запуске ругань
> (прилагается). Кто-нибудь /etc/init.d/dnsmasq проверял вообще? И почему ему
> не нравится отсутствие lease file, он же должен сам его создать при
> запуске?

Так, с lease file разобрался, надо было просто создать директорию (а почему 
установочные скрипты этого не делают?). Так же, если закомментировать 
в /etc/sysconfig/dnsmasq:

#ALL_DEV="eth1"
#OPTIONS="--bind-interfaces --interface eth1"

И вместо этого прописать аналогичные опции в /etc/dnsmasq.conf, то все 
запускается и работает. Какой смысл в этом /etc/sysconfig/dnsmasq? Тем более 
- нерабочем.

-- 
Иван


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

* [sisyphus] Re: Нерабочий init.d скрипт в dnsmasq
  2005-03-12  6:55 ` Ivan Adzhubey
@ 2005-03-12 14:45   ` Michael Shigorin
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Shigorin @ 2005-03-12 14:45 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

On Sat, Mar 12, 2005 at 01:55:10AM -0500, Ivan Adzhubey wrote:
> > Вот решил попробовать dnsmask. Все сконфигурировал, при
> > запуске ругань (прилагается). Кто-нибудь /etc/init.d/dnsmasq
> > проверял вообще? И почему ему не нравится отсутствие lease
> > file, он же должен сам его создать при запуске?
> Так, с lease file разобрался, надо было просто создать
> директорию (а почему установочные скрипты этого не делают?).
> Так же, если закомментировать в /etc/sysconfig/dnsmasq:
> 
> #ALL_DEV="eth1"
> #OPTIONS="--bind-interfaces --interface eth1"
> 
> И вместо этого прописать аналогичные опции в /etc/dnsmasq.conf,
> то все запускается и работает. Какой смысл в этом
> /etc/sysconfig/dnsmasq? Тем более - нерабочем.

Вы знаете ответ. :)

http://bugzilla.altlinux.org ...

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


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

end of thread, other threads:[~2005-03-12 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-11  9:13 [sisyphus] Нерабочий init.d скрипт в dnsmasq Ivan Adzhubey
2005-03-12  6:55 ` Ivan Adzhubey
2005-03-12 14:45   ` [sisyphus] " Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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