View Issue Details

IDProjectCategoryView StatusLast Update
0007841CentOS-7generalpublic2014-11-06 09:26
Reportergdhbashton Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.0-1406 
Summary0007841: Vagrantfile with docker container causes X session to collapse
DescriptionLaunching a simple CentOS 7 docker image created by http://wiki.centos.org/JimPerrin causes the host's X session to collapse if invalid authentication is provided.

The image is slightly unusual in that it runs a full systemd rather than fakesystemd. The guide for that was published on Jim's blog http://jperrin.github.io/centos/2014/09/25/centos-docker-and-systemd/ and he was kind enough to create a docker image on the registry at centos/c7-systemd

Steps To Reproduce1. Create 'Vagrantfile' using the attachment 'vagrant-session-death'
2. vagrant up
3. Wait for 'Connection refused. Retrying...'
4. Press CTRL-C in any window (it doesn't have to be the window where Vagrant was launched from)
5. The enclosing X session will end and likely return to a login screen
Additional InformationVersions:

docker-1.1.2-13.el7
vagrant-1.6.5-1 (from https://www.vagrantup.com/downloads.html)
TagsNo tags attached.
abrt_hash
URL

Activities

gdhbashton

gdhbashton

2014-11-06 09:26

reporter  

vagrant-session-death (321 bytes)   
Vagrant.configure("2") do |config|
  config.ssh.password = "this-is-the-wrong-password"
 
  ENV['VAGRANT_DEFAULT_PROVIDER'] = 'docker'
 
  config.vm.provider "docker" do |d|
    d.image = "centos/c7-systemd"
    d.has_ssh = true
    d.create_args = [ "--privileged", "-v", "/sys/fs/cgroup:/sys/fs/cgroup:ro" ]
  end
end

vagrant-session-death (321 bytes)   

Issue History

Date Modified Username Field Change
2014-11-06 09:26 gdhbashton New Issue
2014-11-06 09:26 gdhbashton File Added: vagrant-session-death