Comment 66 for bug 569757

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 569757] Re: NIS upstart dependency broken for lucid

Jeremy,

On Fri, Mar 30, 2012 at 06:11:04PM -0000, Jeremy Yoder wrote:
> I'm having numerous problems installing the -proposed package on Lucid.

> Sometimes the upgrade succeeds, sometimes it fails. I haven't been able
> to figure out why yet (I think I'm starting from the same state each
> time, but maybe there's a file somewhere I'm not considering).

> If the package upgrade WORKS:

<snip>

This is all expected behavior.

> If the package upgrade FAILS:
> 1) I get the following output:

<snip>
> Setting up nis (3.17-31ubuntu0.10.04.3) ...
> ypbind start/running, process 16988
> start: Unknown job: ypserv
> invoke-rc.d: initscript ypserv, action "restart" failed.
<snip>

> 2) Only one upstart jobs is installed in /etc/init: ypbind.conf

This indicates the package is in an inconsistent state, probably because at
some point you removed the upstart jobs from the old SRU version of nis by
hand from the /etc/init directory.

Please check whether installing the package with dpkg -force-confmiss -i
/path/to/nis.deb fixes this problem for you.

> In BOTH cases, after a server reboot, NIS doesn't come up correctly.

Can you provide any more detail as to how it fails to come up correctly?

You might use 'exec > /var/log/nis-debug.log 2>&1' as the first line of the
pre-start script in /etc/init/ypbind.conf to capture any errors here. (And
if there are no errors in that log, do the same thing for 'script' and
'post-start script', noting of course that each exec will clobber the
previous ones.)

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>