From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S8d8f-0005K3-2O for garchives@archives.gentoo.org; Fri, 16 Mar 2012 19:48:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4B11E0E43; Fri, 16 Mar 2012 19:48:23 +0000 (UTC) Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 2C965E0CEA for ; Fri, 16 Mar 2012 19:47:09 +0000 (UTC) Received: by dady25 with SMTP id y25so7314829dad.40 for ; Fri, 16 Mar 2012 12:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Eqm8QAxBEXn05hMQGc/hT8H4LtBA7LyWnDxYuagOJ54=; b=uUhC/A6ZQu0Vz1oDCA/FXeTTcGVdPTkSLkoYI9Uq5AwTWdfS0gdBneb+g3qfZwKmhT igyk7CINJ5B2ArIb4LDyn962fXLoYr99yB4Gd13Zke7b1xZ/WPX9jU3WMYVlaGNFzG+5 f3CKbxvu9wkvrGq/Yhv4jXD7uAmxUcMOiJYQRtDwYMCN8hHn/1MuPsGdNsWGIGM/mUp1 Tsj4e5uJnWRr+geytchvpiDZBmZGagyHnnZRn5TTyazMVJVKvhBtFeBgbbmwxofsK7+5 mgjuaF+NU3/wsw37eFVDrGKDn4hvOBw4/UBITERie5T2cOlPqz3wQtzkBntENhM3g5Iq oG4A== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.68.74.74 with SMTP id r10mr18056292pbv.83.1331927229396; Fri, 16 Mar 2012 12:47:09 -0700 (PDT) Received: by 10.68.197.41 with HTTP; Fri, 16 Mar 2012 12:47:09 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Mar 2012 13:47:09 -0600 Message-ID: Subject: Re: [gentoo-user] To mount or not to Mount proc, that is the question From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e2c2f20c-085f-4c02-9ab6-ef562bdd5067 X-Archives-Hash: 9e416624f205707681ee7889f4ceea57 On Fri, Mar 16, 2012 at 1:40 PM, Mark Knecht wrote: > I've been trying to debug a problem where one laptop's networking, as > controlled by wicd, seems to randomly go offline once in awhile. In > the process of reviewing 5 machines I ran across an inconsistency > across a bunch of my machines, new and old. It seems some of them > mount proc in fstab while others do not. Some of these machines have > been around for a few years not mounting proc and except for the > laptop's networking issues there really haven't been any problems. > > Looking at the Gentoo amd64 install guide here: > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3D1&chap=3D8 > > it appears that the recommendation is to mount proc. > > [QUOTE] > > /dev/sda1 =C2=A0 /boot =C2=A0 =C2=A0 =C2=A0 =C2=A0ext2 =C2=A0 =C2=A0defau= lts,noatime =C2=A0 =C2=A0 1 2 > /dev/sda2 =C2=A0 none =C2=A0 =C2=A0 =C2=A0 =C2=A0 swap =C2=A0 =C2=A0sw = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 0 > /dev/sda3 =C2=A0 / =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ext3 =C2=A0 = =C2=A0noatime =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 1 > > /dev/cdrom =C2=A0/mnt/cdrom =C2=A0 auto =C2=A0 =C2=A0noauto,user =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A00 0 > > proc =C2=A0 =C2=A0 =C2=A0 =C2=A0/proc =C2=A0 =C2=A0 =C2=A0 =C2=A0proc =C2= =A0 =C2=A0defaults =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 0 > shm =C2=A0 =C2=A0 =C2=A0 =C2=A0 /dev/shm =C2=A0 =C2=A0 tmpfs =C2=A0 nodev= ,nosuid,noexec =C2=A00 0 > > [QUOTE] > > > What would the issues be with proc not mounted? For instance, this > machine doesn't mount proc in fstab but still has proc: > > laptop1 ~ # cat /etc/fstab > > /dev/sdb1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /boot =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 ext2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0n= oauto,noatime =C2=A01 2 > /dev/sdb4 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 / =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ext3 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0noatime =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 1 > /dev/sdb2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 none =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0swap =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0sw =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 0 > /dev/cdrom =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/mnt/cdrom =C2= =A0 =C2=A0 =C2=A0auto =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0noauto,ro = =C2=A0 =C2=A0 =C2=A0 0 0 > > shm =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= /dev/shm =C2=A0 =C2=A0 =C2=A0 =C2=A0tmpfs > nodev,nosuid,noexec =C2=A0 =C2=A0 0 0 > > > laptop1 ~ # cat /proc/mdstat > Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] > md127 : active (auto-read-only) raid1 sdb3[1] sda3[0] > =C2=A0 =C2=A0 =C2=A0343758245 blocks super 1.2 [2/2] [UU] > > unused devices: > laptop1 ~ # I haven't put /proc explicitly on my /etc/fstab since a long time ago, and everything seems to be working. However, I use systemd, which always mounts /proc with the default options, and only uses the entry in /etc/fstab (if present) to override the default options. In other words, systemd always mounts /proc, no matter if it's listed in /etc/fstab or not. I don't know what OpenRC does, but it would not surprise me that it's something similar. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico