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

Add an option to stop all jails at once #192

Closed
UnderEu opened this issue May 30, 2024 · 4 comments
Closed

Add an option to stop all jails at once #192

UnderEu opened this issue May 30, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@UnderEu
Copy link

UnderEu commented May 30, 2024

READ THIS FIRST
How to ask for help? (including discussion vs issue)

Is your feature request related to a problem? Please describe.
No, at least not directly

Describe the solution you'd like
I'd like the script to add an option to stop all jails at once. In case I need to grace shutdown my host system due to a power outage or for applying an OS update, for example, I can safely shutdown all jails and then do the thing on the host OS itself.
Not sure if that already happens but I'd be nice to have the option to do so.

Describe alternatives you've considered
Currently, I manually stop all my jails one by one, by using the jlmkr stop foo command. My current list is fairly small (< 10) but for larger deployments (I saw one guy with almost 60 jails deployed, one time), this could be troublesome.

Additional context
N/A

@UnderEu UnderEu added the enhancement New feature or request label May 30, 2024
@Jip-Hop
Copy link
Owner

Jip-Hop commented May 30, 2024

Shut down is already gracefull when you shutdown or reboot the host normally. But I agree it could be useful to be able to shutdown all jails with one command.

@Jip-Hop Jip-Hop added the help wanted Extra attention is needed label May 30, 2024
@mrstux
Copy link
Contributor

mrstux commented Jun 3, 2024

jlmkr startup will start all jails that have startup=1... maybe jlmkr shutdown would be useful?

And then startup could be used to restore?

@marshalleq
Copy link

marshalleq commented Jun 14, 2024

Came here because I think jailmaker if holding files open preventing me from deleting a snapshot. I am looking for a way to shut down jailmaker without having to delete / disable the startup script and reboot. So I would agree that a shutdown option would be useful. Edit: Just confirming it was jailmaker that was the issue. I couldn't fix it by stopping the jails, had to stop the whole thing. I might just be forgetting how to stop it, but didn't seem to be able to without disabling the startup script and rebooting.

@Jip-Hop Jip-Hop changed the title Add an option to stop all jails at once, for grace shutdown/reboots Add an option to stop all jails at once Jul 5, 2024
@Jip-Hop
Copy link
Owner

Jip-Hop commented Jul 18, 2024

Closing as not planned due to End of Life October 2024 Announcement.

@Jip-Hop Jip-Hop closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants