From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 05421138247 for ; Fri, 3 Jan 2014 06:33:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 447DFE09D2; Fri, 3 Jan 2014 06:33:50 +0000 (UTC) Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by pigeon.gentoo.org (Postfix) with ESMTP id BBB7DE09D2 for ; Fri, 3 Jan 2014 06:33:49 +0000 (UTC) Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta02.westchester.pa.mail.comcast.net with comcast id 9JYA1n00127AodY51JZp0C; Fri, 03 Jan 2014 06:33:49 +0000 Received: from odin.tremily.us ([24.18.63.50]) by omta19.westchester.pa.mail.comcast.net with comcast id 9JZo1n003152l3L3fJZoWs; Fri, 03 Jan 2014 06:33:49 +0000 Received: by odin.tremily.us (Postfix, from userid 1000) id AF9D4E630BE; Thu, 2 Jan 2014 22:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1388730827; bh=spjTVA27xJkRUbGMfNt8NVhs5JZonvxq6L5KkNx1R/k=; h=Date:From:To:Subject:References:In-Reply-To; b=KFuQEeCFTuYdAynDPLez3dd03moH/NG5SEIH+b8PEtOX5mUFtNNFME00533BVY5ed pFs8/MqPkjNNyGZ0sehE86wRU+st0HXhw32Tw4W+pkXK/r9skMLw44Yk48stI+FHxo fqSOQDNI0API9YD4rAwYIheRWx+hHqXSy1cSzr+A= Date: Thu, 2 Jan 2014 22:33:47 -0800 From: "W. Trevor King" To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] [PATCH 2/2] catalyst/targets/generic_stage_target.py: mount /dev/shm on linux Message-ID: <20140103063347.GK4680@odin.tremily.us> References: <1388728844-2142-1-git-send-email-dolsen@gentoo.org> <1388728844-2142-3-git-send-email-dolsen@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MHXEHrrXKLGx71o" Content-Disposition: inline In-Reply-To: <1388728844-2142-3-git-send-email-dolsen@gentoo.org> OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; url=http://tremily.us/pubkey.txt User-Agent: Mutt/1.5.22 (2013-10-16) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1388730829; bh=BPTPlWuUFTGdSQU7ewjh0SjmtAUUX+3L7L3d/F6Fsu4=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=HjN1u4RVwUCbuG6sbfd4du6ts+lNm+wy3iHDfVfIr7H49RNe1HCCAb2c9Ce/N3XNu 7rzb5N5GK+U8dDZxRrXVKENW2WAVzS/rcTy/H72ZXFS5Ow3yJnjiZiT3gnz2+RBN1U zxbGsK1HGUKutcV9wAO4f6OcRf9hL5PpCqOFkE35LwndJBYejjUvguREXOfds/p2lk z/wY4mDKl8Bn6E4MfSawE0kqEwhN9RG0zdo8BpjhsLdTbZnr8IqhVQRDc49VohMerQ xlkxIe74S95oZWyMM2CmIaMdAGofCrIp8dXhHqqjcIZwIP+m2YW4zMT0teRKXh+DuI t6koEA23oOK8Q== X-Archives-Salt: aa98fb0f-60b5-46c7-89dc-f34e973ec653 X-Archives-Hash: 110ac1bb523102f7d7f6c7ee6a74956e --3MHXEHrrXKLGx71o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > if os.uname()[0] =3D=3D "Linux": > self.mounts.append("devpts") > + self.mounts.append("shm") Besides avoiding collisions, a fresh mount is better than --bind mounting for Debian-based distributions which symlink into /run: # ls -ld /dev/shm lrwxrwxrwx 1 root root 8 Jan 1 16:42 /dev/shm -> /run/shm # cat /etc/os-release=20 PRETTY_NAME=3D"Debian GNU/Linux jessie/sid" =E2=80=A6 Since binding the host's /run into the container would clearly be crazy ;). The patch looks good to me. Cheers, Trevor --=20 This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy --3MHXEHrrXKLGx71o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSxlnGAAoJEKKfehoaNkbt2qwP/jSIp9BT4Jt7mObCJwqs4AJY Vs6h0RvguR4Wt4WNJQwSzcR+MVXKD2zGS2yp90huPhypUrHOrGO7s/pHDpGTIpsL lFpofvrNxwSg4kZ6qjPwBJf/NPmIYfkXItfWscPQgbeyv5eVKQEZoVZ3WwQ5WnsG 7qLR/zC5542hiQUgxrlkOrLXWl7Lbgoh4WhNkE78TjiR73PXTYpnCE6BDkbvbPLM rufBCQA/+uqGVIJlVRdIeGeSZx6PnLYEfqaGwPXDw9uxzPZiZgvde/vWy48FjTd2 DolTAYTtJIq4DA8HiiIt15LUOyv/CHr3H1Pxsr3XkIU7ZrKDEqsXyPTfaAdBomxQ CJhh/IJOdBc59oW5bOBV8Lu25Ij6gb0S7PtEvANHKbqE6u7xBmGn8cfkSeC6o04v dr6GjzqnfadXpti9erIURwktXUQn/fcoSbLukBRsDxB+Kcf01GSUOy7F1yh1oTp4 PB5ZMBFry8N8Np1FDA2+V4X4lYgl9OkSSzjyFJFRfz13Bef71iVpktRzAom3VpdH ocfyVvEIPqFWrjr/+9lFxT9bJw4RnyuxFuOKxmwlo7T+yVIYhEWUkhYb/ljQfITb TsQ+8RSlDzy4Obd0qr79qBobeHSzaWPVOUHyOcNSznFFcGC2G9r3sWfTcpgbcAuL LKe81GVmOgsmtllsCl88 =wA02 -----END PGP SIGNATURE----- --3MHXEHrrXKLGx71o--