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

ioc start does not work for basejail and have issues with clonejail #69

Closed
1 task done
urosgruber opened this issue Sep 4, 2017 · 8 comments · Fixed by #273
Closed
1 task done

ioc start does not work for basejail and have issues with clonejail #69

urosgruber opened this issue Sep 4, 2017 · 8 comments · Fixed by #273
Assignees
Labels

Comments

@urosgruber
Copy link
Contributor

urosgruber commented Sep 4, 2017

  • Supply iocage --version
    latest master ioc, version 0.2.11 08/29/2017

Using ioc start UUID on basejail type of legacy jail just return with no info also jail is not running. Using same command on clonejail type starts the jail but with some errors

Command exited with 1: /usr/sbin/jexec ioc-9048b2dc-91ac-11e7-b8c6-7071bca7c826 /bin/sh /etc/rc
    jexec: execvp: /bin/sh: No such file or directory
Command exited with 1

I managed to get it work for a while but I was unable to replicate fully working start with latest master.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@gronke
Copy link
Member

gronke commented Sep 10, 2017

I have seen this error message before when mounting or cloning the base dataset(s) failed. This is a bug and will be addressed with one of the next Pull-Requests!

@gronke gronke added the bug label Sep 10, 2017
@urosgruber
Copy link
Contributor Author

Not sure what was changed but ioc start UUID on jails created by legacy iocage does nothing with message "No jails started your input". I guess this is ok and intentional? On that note I think this ticket can be closed.

@gronke
Copy link
Member

gronke commented Mar 20, 2018

You should be able to manipulate existing iocage legacy jails. Have you tried using the short name (the first block from the UUID)?

@urosgruber
Copy link
Contributor Author

Yes I tried with short name, tag name and does not make any difference. FYI the other way around works. So I can start and stop jail created by ioc with legacy iocage.

@urosgruber
Copy link
Contributor Author

Here is debug output if it helps.

Updated /etc/rc.conf data from /iocage/jails/d8cf14ee-2c22-11e8-8d77-7071bca7c826/root/etc/rc.conf
Updated /etc/rc.conf data from /iocage/jails/d8cf14ee-2c22-11e8-8d77-7071bca7c826/root/etc/rc.conf
Updated /etc/rc.conf data from /iocage/jails/d8cf14ee-2c22-11e8-8d77-7071bca7c826/root/etc/rc.conf
No jails started your input:

@gronke
Copy link
Member

gronke commented Mar 20, 2018

I could reproduce this issue. Will have a look asap :)

@gronke
Copy link
Member

gronke commented Mar 20, 2018

@urosgruber I'm curious if #273 fixes your problem.

@urosgruber
Copy link
Contributor Author

@gronke I think your fix did the trick. It works fine now. Thanks for a quick turnout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants