On Fri, Jan 15, 2010 at 10:32:59PM +1100, Ben Finney wrote:
> On 15-Jan-2010, Mark Brown wrote:
> > Does your yp.conf specify a server?

> My ???yp.conf??? is empty, except for blank lines and comments. That's
> what I've been showing with this:

> =====
> $ grep -v '^\(#.*\|\)$' /etc/yp.conf    # don't show comment or empty lines
> $
> =====

Hrm, so in that case surely the error message from ypbind saying that 

| No NIS server and no -broadcast option specified.
| Add a NIS server to the /etc/yp.conf configuration file,
| or start ypbind with the -broadcast option.

applies?  The problem you're experiencing when it's run in postinst
*should* be a different one, or the

        if egrep -q '^(ypserver|domain)' /etc/yp.conf

isn't doing the right thing.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to