Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2013 20:17:50 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>, Boris Samorodov <bsam@passap.ru>
Subject:   Re: /etc/namedb->@ referrs to NIL after crash or typing "reboot" (not shutdown -r)
Message-ID:  <20130817201750.4cc9907b@thor.walstatt.dyndns.org>
In-Reply-To: <A89885AB-7819-4F0A-A98E-7C35394CD0A0@kientzle.com>
References:  <20130817113636.21346cd2@thor.walstatt.dyndns.org> <520FAE99.8040003@passap.ru> <20130817193517.2bf01dfe@thor.walstatt.dyndns.org> <A89885AB-7819-4F0A-A98E-7C35394CD0A0@kientzle.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sat, 17 Aug 2013 10:42:07 -0700
Tim Kientzle <tim@kientzle.com> wrote:

> 
> On Aug 17, 2013, at 10:35 AM, O. Hartmann wrote:
> 
> > On Sat, 17 Aug 2013 21:10:49 +0400
> > Boris Samorodov <bsam@passap.ru> wrote:
> > 
> >> 17.08.2013 13:36, O. Hartmann пишет:
> >> 
> >>> I can reproduceable truncate the link in /etc/ to be NIL by typing
> >>> simply "reboot" when rebooting the box
> >> 
> >> Does it make any difference if you use "shutdown -r" instead?
> >> 
> > 
> > Yes, when using "shutdown -r" the link isn't broken and the system
> > reboots and operates as expected. Only if I use the "quick and dirty
> > way" via "reboot" or after a crash when service named ahs already
> > been started the link is dead. If a crahs occurs BEFORE service
> > named has been started, the recovery is also operable - this is my
> > observation.
> 
> Does "reboot" show the same problem If the system has been running
> for a while (at least 15 minutes or so)?

Yes, of course.

> 
> Your broken link sounds like the expected behavior when you
> do a dirty reboot shortly after the link has been created (before
> the link contents have been written all the way to disk).
> 
> But the broken /etc/namedb link shouldn't prevent named from
> restarting after the reboot; maybe we should change the named
> startup scripts to test this link and delete/recreate it if it's
> broken?
> 
> Tim



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iQEcBAEBAgAGBQJSD75OAAoJEOgBcD7A/5N8KlAH/jsPbJF6Gn9kNftWOpd7yuAN
1QBM3dPThW4AKiXGh+gHZsOfderJFhYDgwH+tmTaE26l3DttB4vKOmN8IyPIFQWR
DgiBHbJzqILpRdj8ywl18+8uJs55XFkOmy6FV1o3midtpPY1fbs9gUr/ln9dG0Ui
/Ejrx/Yey+cRBFjr+4KslDIJO5EomM1qU42QozOzA9C0+Q0pST2/aCMcmilZnzu8
9ryfKXFiz26gEKkx9awOsOPRl4aW+KvPCzOG9e0MsjCxX8GF8zqnLxnvzh7B7Jal
fSB80z6lo4XkFd8YdrSkcm8RwCc53yMb3BO0VrwfvoCx0EBTtnaY7AMW46evk4c=
=OoM8
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130817201750.4cc9907b>