From owner-freebsd-stable@FreeBSD.ORG Sat Oct 11 18:51:25 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 211BAC4D for ; Sat, 11 Oct 2014 18:51:25 +0000 (UTC) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E15B4AA9 for ; Sat, 11 Oct 2014 18:51:24 +0000 (UTC) Received: by mail-ig0-f182.google.com with SMTP id hn15so6411728igb.9 for ; Sat, 11 Oct 2014 11:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GdxbaSm8ks6okUC0XmO2QT7/AhE7BvMPyVeAqD/TRCc=; b=FJO47o28RXs5HZswTe/0ILwYz6tXECMk0LTWwlnKJ9r6W8km13RdBL8fgp+nxuRILc aSmvRDYwo7762DF2tpmkY1MPlpp41+Eox0T5crP6qaNQrJXbEHtrkagmxu8mM/Fz9CGU z31SZ8Yj+2KyiK4CWtg5GsSfL5+HdyITiylx3H8XtTD9XM4prSgyzNWKvMapaxU/ED9V VQCsUnoilE6QApGQf4I8JqIHJ+k9wt2qounGNuklf4n5pNLBXvtNakeNRiasWr+Ogz6q I0TC3E6+jjGmBHGctteaSWai4bdXBy+A/RYtH/78zbjWLjV+tCPIb4RtAwC6HElnISa3 afRw== MIME-Version: 1.0 X-Received: by 10.50.43.193 with SMTP id y1mr17360336igl.32.1413053484330; Sat, 11 Oct 2014 11:51:24 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.11.141 with HTTP; Sat, 11 Oct 2014 11:51:24 -0700 (PDT) In-Reply-To: <54395BC2.7090204@burnus.net> References: <5438F7A4.4070908@burnus.net> <54392A57.7020704@sorbs.net> <54393142.4050005@burnus.net> <5439326B.3070508@sorbs.net> <54393C76.7090702@burnus.net> <54393DBD.4030602@sorbs.net> <5439485F.4000002@burnus.net> <54394AF1.7000807@sorbs.net> <54395BC2.7090204@burnus.net> Date: Sat, 11 Oct 2014 11:51:24 -0700 X-Google-Sender-Auth: 4PS7O0N3CxRTQ-08tbuYau-SuLE Message-ID: Subject: Re: Server insists on wrong hostname From: Kevin Oberman To: Christian Alge Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD-STABLE Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2014 18:51:25 -0000 On Sat, Oct 11, 2014 at 9:33 AM, Christian Alge wrote: > That returns nothing. > > Well, a rather "brute force" approach would be: > > > > grep -r 'Freie Energie' /etc/ > > > > (Mind, you may need root access to avoid "permission denied" messages > > -- or you culd just ignore them, if you are confident that the files > > in question are sufficiently unlikely to be at fault.) > > > > If that fails, I have a possible other approach in mind, but it's a bit > > of a mess, so I'd rather not even try to describe it unless nothing else > > works. > > > > Peace, > > david > > > I suspect some script is executing a hostname(1), but this is just guessing. I'd suggest adding "hostname" in a few places in startup scripts (/etc/rc.d and /usr/local/etc/rc.d). If you see which script is doing it, use rcorder(8) to see what scripts could be triggering it. Turning on debugging in startup may also help, but will produce a LOT of output during startup and shutdown. (Set rc_debug="YES") Unrelated, but important... you mentioned editing /etc/defaults/rc.conf. This is a VERY bad idea. Those scripts are always overridden by the matching scripts, if any, in /etc. System upgrades assume that they are untouched and changing them can really break things. If /etc/rc.conf has a "hostname="freieenergie" line, it will override anything in /etc/defaults/rc.conf.