Skip to content

vellum reenable hooks should be protected from premature mount-restore calls #3

@rmitchellscott

Description

@rmitchellscott

If any hook calls mount-restore itself, it will remount the filesystem read-only before subsequent hooks run, causing them to fail.

Should have vellum reenable set an environment variable (VELLUM_REENABLE or similar) and modify mount-restore to skip execution when this variable is set:

  # mount-restore
  if [ "$VELLUM_REENABLE" = "1" ]; then
      echo "Skipping mount-restore (managed by vellum reenable)"
      exit 0
  fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions