From owner-freebsd-stable@freebsd.org Tue Apr 19 10:47:00 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 053F9B131D6 for ; Tue, 19 Apr 2016 10:47:00 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A18FD14DA for ; Tue, 19 Apr 2016 10:46:59 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id n3so3976012wmn.1 for ; Tue, 19 Apr 2016 03:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=kj0R08j3MqfZYfrgKfT9lzwcglE2XK1/3bivjX+NvnM=; b=VSiOFSZPDt+8qJpSQbI7YETlSxnzZf2h2EOjfliW5tJpOr57+RuYseVKAu5Rrbj1Tt 1btTzfqQMMoLfjJQ59bYBw6DNWNM+0G5jtoUjXYNDIHRJdov/ilJNTmt2ZR8BrkoA2fT UT2dNTJvNRHw0r1iz1wslHLpN05oAap7ewXKRTlDP/ZQ1J3HBUNAKRULbF4OqBj7y2b4 xVXGygaGzWEPbEZwULH73kxI2ze3iA/d3FGQ46cuB5o17YBnUZeJOqrRLuVSU217mIif RmEHnAflPLPwzeNIPAfmVD3k8PpmVzcm1pv8HhV2qiPRBvP4o+X2d8B9zTb2vcX4CNdq F4/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=kj0R08j3MqfZYfrgKfT9lzwcglE2XK1/3bivjX+NvnM=; b=QBgXZ/PX2u2nwxADxBouPVFcspzoPoeBwFrgldof5grkz0GOXicURGOG5i1tnLMyXB wBL73hG8HL9EHx9eslOLkOLB82aOIHyN1bFtNmVNejYhN5WEcfJ9bBYMIE/1vlInFze3 VXpj6bV7y3Vtjcmkwewuj3rTYc2Wtgw+DeeRXCAbgTGLJXH7CpXpW4KbuX9I+kqa8HSy FMYTYD7i3xsWLEg+lL3lLpz8hd2jIsR9IEV0ChHSKSglDCA+c4RPUSTPQ6X6KP+pi/mV U4589G3S6ITiMsafioM4ztqScq9wR8cb69PiL/oDEeQPLqNaipK7oTvQppNGmKSB4J6J RmqA== X-Gm-Message-State: AOPr4FWjOeFicuj09XFtJ1Wv4gwEV98vpf98buPYHPQIUrGcVgzcqUgeGi7SjxAtS/elPg== X-Received: by 10.195.13.135 with SMTP id ey7mr2383798wjd.161.1461062818137; Tue, 19 Apr 2016 03:46:58 -0700 (PDT) Received: from brick.home (abpy245.neoplus.adsl.tpnet.pl. [83.8.66.245]) by smtp.gmail.com with ESMTPSA id f204sm3628492wmf.22.2016.04.19.03.46.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Apr 2016 03:46:57 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Tue, 19 Apr 2016 12:46:54 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Melissa Jenkins Cc: freebsd-stable@freebsd.org Subject: Re: 10.3 and reboot -r (reroot) Message-ID: <20160419104654.GC5543@brick.home> Mail-Followup-To: Melissa Jenkins , freebsd-stable@freebsd.org References: <45B67BCE-540F-432A-9AA2-192B20312D27@littlebluecar.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45B67BCE-540F-432A-9AA2-192B20312D27@littlebluecar.co.uk> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2016 10:47:00 -0000 On 0419T0906, Melissa Jenkins wrote: > I've been trying to get reboot -r to work but get an error that kern.proc.pathname is undefined. It then drops to single user mode. > > Interestingly I've checked the value of kern.proc.pathname and it appears to be undefined on all the OS boxes we have from 9.3 up to current. In fact the kern.proc tree doesn't appear to contain anything though it does exist at least on some of the boxes. The kern.proc.pathname is a weird sysctl. It's per-process, and it's impossible to access it via name, only by numeric ID. So, this is normal. The fact that reroot doesn't work because of this is not normal, though. I have no idea why this would fail; I'll investigate. Also - could you add a PR with all the information you have? Thanks!