From owner-freebsd-current@FreeBSD.ORG Sat Aug 17 20:11:19 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 399411E7 for ; Sat, 17 Aug 2013 20:11:19 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E688329B4 for ; Sat, 17 Aug 2013 20:11:18 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1VAmqB-000Dma-RJ>; Sat, 17 Aug 2013 22:11:15 +0200 Received: from e179075120.adsl.alicedsl.de ([85.179.75.120] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1VAmqB-003lHK-MK>; Sat, 17 Aug 2013 22:11:15 +0200 Date: Sat, 17 Aug 2013 22:11:08 +0200 From: "O. Hartmann" To: Tim Kientzle Subject: Re: /etc/namedb->@ referrs to NIL after crash or typing "reboot" (not shutdown -r) Message-ID: <20130817221108.58bc7f20@thor.walstatt.dyndns.org> In-Reply-To: References: <20130817113636.21346cd2@thor.walstatt.dyndns.org> <520FAE99.8040003@passap.ru> <20130817193517.2bf01dfe@thor.walstatt.dyndns.org> <20130817201750.4cc9907b@thor.walstatt.dyndns.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/bRhCQ6qJKGhtjGZe4U2niFN"; protocol="application/pgp-signature" X-Originating-IP: 85.179.75.120 Cc: FreeBSD CURRENT , Boris Samorodov X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2013 20:11:19 -0000 --Sig_/bRhCQ6qJKGhtjGZe4U2niFN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, 17 Aug 2013 11:41:08 -0700 Tim Kientzle wrote: >=20 > On Aug 17, 2013, at 11:17 AM, O. Hartmann wrote: >=20 > > On Sat, 17 Aug 2013 10:42:07 -0700 > > Tim Kientzle wrote: > >=20 > >>=20 > >> On Aug 17, 2013, at 10:35 AM, O. Hartmann wrote: > >>=20 > >>> On Sat, 17 Aug 2013 21:10:49 +0400 > >>> Boris Samorodov wrote: > >>>=20 > >>>> 17.08.2013 13:36, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>>>=20 > >>>>> I can reproduceable truncate the link in /etc/ to be NIL by > >>>>> typing simply "reboot" when rebooting the box > >>>>=20 > >>>> Does it make any difference if you use "shutdown -r" instead? > >>>>=20 > >>>=20 > >>> 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. > >>=20 > >> Does "reboot" show the same problem If the system has been running > >> for a while (at least 15 minutes or so)? > >=20 > > Yes, of course. >=20 > That's not good. >=20 > After 15 minutes, the link contents should have been written > all the way to disk, even on an idle system. It sounds like the > sync process might not be running except at system shutdown. >=20 > What filesystem are you using? ZFS? UFS/SU? SU+J? It's UFS/SU + J. >=20 > Kernel version? As I wrote in my initial message, I compile on a regular basis the system/world with progressing in the kernel version. A moving target. >=20 > Can you reproduce this without named? That is: That box serves my network with named ;-) Since LDAP on freeBSD doing a kind of weird (I guess it is due to the horrible timeout using pam_ldap and nss_ldap modules) when the named service in the network is not present, I'm a bit of scared doing that on purpose :-/ But I will try. Why is it 15 minutes waiting? > * create a symlink,=20 > * wait 15 minutes, > * "reboot" > Is the symlink broken? >=20 > Tim I will report in. --Sig_/bRhCQ6qJKGhtjGZe4U2niFN Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJSD9jjAAoJEOgBcD7A/5N877YH/1IW/q8mpAFEwZLde+ls0PWk NRSPInU1i1+KErykDQXQwAzWtFYUDt/9P8lgxK99aXD44LbsAeXDZTjtFdvrv1HJ 5SKtHlo3iGS5+IMvevspCYFbhOWnJ7BlaUKaiKw09ush+WP9hzFMgup93jVj1h2/ qy+evg6rwGJx8S3Gwg/m0ZbLuKG4isn5KJYW+NohXQFDxw4fo053uY9ZQBwhaiwE E0POmxy3o9/Mxz1x9GZbp4/s4XUqcWhjYfEZTQpfKBNVaR9uElltYQFpIbqEk4h8 ISOwQadZOGzddkT0SAPYtLf5R8KWjKKg7OUraZDa2uZwhJTElzrlN+7rbizRckM= =YhXZ -----END PGP SIGNATURE----- --Sig_/bRhCQ6qJKGhtjGZe4U2niFN--