Skip to content

v3.0.0

Latest

Choose a tag to compare

@DtxdF DtxdF released this 29 Nov 01:20
· 1 commit to main since this release

Changes between 2.3.0 and 3.0.0

  • Added: test cases for cp, mv and the clean hook.

  • Added: appjail.exec.clean label to the jail

    • Although the clean executable is run via x11appjail remove or x11appjail destroy-jail, the problem is that AppJail (not x11appjail) is responsible for destroying ephemeral jails, which means that the clean hook is not executed when the jail is destroyed.
      To fix this, APPSCRIPT adds the appjail.exec.clean label when creating the jail so that it points to the path of the clean hook executable, ensuring that AppJail runs it when appjail jail destroy is executed.
  • Added: cp and mv commands to attr and sys-attr.

  • BREAKING-CHANGE: Restrict greedy regex used to validate the profile name

    • Currently, the clean hook is not executed by the x11appjail remove command, but only by x11appjail destroy-jail, which is undesirable because, even if the jail is not destroyed, everything that has been started (such as a service) or installed by an AppJail will remain there.

    There are two ways to fix this. The first is to add a label to the jail with the UID, but this means that existing AppJails will not be affected. The second method (and the one that has been implemented) is to extract the UID from the jail's name, but to avoid ambiguity, the regular expression has been restricted by removing the _ character.

  • Added: hooks for cmd, xcmd, login and transfer commands:

    • These are hooks similar to clean, but, unlike it, they replace the entire execution of the run-cmd, run-xcmd, login, and transfer commands.

Full Changelog: v2.3.0...v3.0.0