9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] dns woes
Date: Fri, 14 Mar 2008 11:24:29 -0400	[thread overview]
Message-ID: <0b764472d2af52c1687f852e1667e25f@quanstro.net> (raw)
In-Reply-To: <20080314150739.GK21680@hermes.my.domain>

> Dear List,
>
> I am currently having strange problems with my ndb/dns resolver.
> cpu% ndb/dnsquery
> can't open /net: '/net' dns: permission denied
> cpu% ls -l /net
> [...]
> --rw-rw-rw- M 24238 ckeen   ckeen    0 Mar 14 15:44 /net/cs
> --rw-rw-rw- M 24240 ckeen   ckeen    0 Mar 14 15:44 /net/dns
> [...]
> cpu% ndb/dns -r
> dns 95194: suicide: sys: trap: fault read addr=0x0 pc=0x0001ec0a
> cpu% acid 95194
> /proc/95194/text:386 plan 9 executable
> /sys/lib/acid/port
> /sys/lib/acid/386
> acid: stk()
> abort()+0x0 /sys/src/libc/9sys/abort.c:6
> mountinit(mntpt=0x3c754,service=0xdfffeed4)+0x70 /sys/src/cmd/ndb/dns.c:281
> main(argv=0xdfffefb0,argc=0x0)+0x223 /sys/src/cmd/ndb/dns.c:200
> _main+0x31 /sys/src/libc/386/main9.s:16
>
> Any idea what's going on here? I am typing this all via a drawterm connection as user ckeen...

as a matter of fact, i just stumbled on part of your problem this morning.
you need to be the hostowner to start dns.

as to the permission denied problem, did you have a running resolver
before you tried to start one?

- erik


  reply	other threads:[~2008-03-14 15:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 15:07 Christian Kellermann
2008-03-14 15:24 ` erik quanstrom [this message]
2008-03-14 15:57   ` Christian Kellermann
2008-03-14 15:59     ` erik quanstrom
2008-03-14 16:53       ` Christian Kellermann

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=0b764472d2af52c1687f852e1667e25f@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).