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

New attribute to control pot stop #275

Merged
merged 3 commits into from
Nov 18, 2023
Merged

Commits on Nov 10, 2023

  1. New attribute to control pot stop

    By setting exec_stop and stop_timeout (which correspond to
    jail(8) attributes exec.stop and stop.timeout), the user
    has better control over shutting down a pot.
    
    For "fat" pots this could mean setting
    
        pot set-attr -A exec_stop -V "/bin/sh /etc/rc.shutdown jail"
    
    for light jails (like nomad controlled using tinirc), this could
    point to a simple script that make sure the wrapped process is
    stopped gracefully and, in case multiple processes are running
    inseide of the pot, make sure they're terminated in the correct
    order.
    
    Also:
    - Fix a typo that made the nullfs attribute not work.
    - Make pot start use _save_params, which makes wrapping
      attributes safer and therefore allows to remove
      a shellcheck exemption.
    grembo committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    0bfb84a View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2023

  1. Configuration menu
    Copy the full SHA
    c4fb5b4 View commit details
    Browse the repository at this point in the history
  2. Add entry to CHANGELOG.md

    grembo committed Nov 12, 2023
    Configuration menu
    Copy the full SHA
    0b6cf70 View commit details
    Browse the repository at this point in the history