Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runc fails to start from systemd unit #81

Closed
InformatiQ opened this issue Jul 1, 2015 · 4 comments
Closed

runc fails to start from systemd unit #81

InformatiQ opened this issue Jul 1, 2015 · 4 comments

Comments

@InformatiQ
Copy link

running a coontainer from a systemd service fails with the following error

Jul 01 23:43:43 rhanna runc[18807]: time="2015-07-01T23:43:43+02:00" level=fatal msg="Container start failed: inappropriate ioctl for device"

I can run it without systemd successfully.
my unit file

[Unit]
Description=Skype in a sandbox
Documentation=http://skype.com
After=network.target

[Service]
ExecStart=/usr/local/bin/runc
WorkingDirectory=/var/lib/machines/skype

[Install]
WantedBy=multi-user.target
@kgrvamsi
Copy link

kgrvamsi commented Jul 6, 2015

Check for a similar issue here #83

@crosbymichael
Copy link
Member

@InformatiQ @kgrvamsi can you try setting "terminal": false in your config file for the container or tell systemd to allocate a tty for that service.

@InformatiQ
Copy link
Author

that worked

@crosbymichael
Copy link
Member

@InformatiQ awesome. thanks for trying!

stefanberger pushed a commit to stefanberger/runc that referenced this issue Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants