Bug 1267743

Summary: bind mounting /dev does not mount devpts
Product: Red Hat Enterprise Linux 7 Reporter: Brent Baude <bbaude>
Component: dockerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: lsm5, mpatel
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: docker-1.8.2-5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1267975 (view as bug list) Environment:
Last Closed: 2015-11-17 22:54:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brent Baude 2015-09-30 20:20:24 UTC
With current docker versions, when you bind mount /dev from the host to /dev in the container (i.e. -v/dev:/dev), it does not also mount devpts.  Therefore, the host becomes unusable because the virtual ptys are no longer able to start.  This is a critical bug.

These patches remedy this bug:

  * https://github.com/docker/docker/pull/16639
  * https://github.com/opencontainers/runc/commit/c9d58506297ed6c86c9d8a91d861e4de3772e699

Lokesh built a scratch build and we confirmed the problem is corrected.

Comment 2 Lokesh Mandvekar 2015-11-17 22:54:07 UTC
This version has been shipped already.