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

Let mkfs.ext3 use the image file directly instead of loopback device #481

Closed
wants to merge 15 commits into from

Commits on Feb 9, 2017

  1. Let mkfs.ext3 use the image file directly instead of loopback

    By avoiding the loopback device, we do not need root priviledges to create an
    image. We give mkfs.ext3 an offset and image size.
    wpoely86 committed Feb 9, 2017
    Copy the full SHA
    7d3d6b0 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2017

  1. Copy the full SHA
    e123130 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    74a394a View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    1218254 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    977b81d View commit details
    Browse the repository at this point in the history
  5. Only use WEXITSTATUS after checking WIFEXITED

    According to the man page of waitpid, you can only call WEXITSTATUS
    after you have checked WIFEXITED.
    wpoely86 committed Feb 13, 2017
    Copy the full SHA
    4c56628 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    0c29d2a View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    260e5fc View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    6823351 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    a97f774 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/lib-refactor' into create-nosuid

    * origin/lib-refactor:
      Added copy ability to run as non-root
      Added src/copy to gitignore
      Added copy functionality
      Adding debugging when forking
      Adding more tests
      Add create final mount directory when overlayfs is not enabled
      Support multiple allowed container owners (list)
      Return if binary is running suid (enabled?)
      Add ability to limit containers that can run according to owner
      Removed unused privleged mode code (for now...)
      Minor fix to make sure that singularity.conf is always updated
      Add selftest abilities... needs to be expanded upon
      Include MS_NODEV in image mount
      Merge contributing clause back into license as it should be
    wpoely86 committed Feb 13, 2017
    Copy the full SHA
    b0ff102 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2017

  1. Merge remote-tracking branch 'origin/lib-refactor' into create-nosuid2

    * origin/lib-refactor: (125 commits)
      Minor changes for apptainer#508
      Fix tests to match ordering
      Fix double dots
      Implement read-only bind mounts to close apptainer#451
      Fixing the API for the changes I made. ooopsie.
      Add support for %environment (apptainer#504)
      Minor environment file updates!
      remove tmpfile
      Don't do recursive chmod here
      Fix permissions to remove files properly
      re-add chmod to make things writable again
      fix import to properly error out
      we should not call add for user import, all calls go to import.py
      removing script that doesn't exist anymore
      updating docker/python functions to not need ADD
      Fix import.exec for new python interface
      Updates for new python interface
      tweaking variable name to SINGULARITY_CONTENTS instead of layerfile
      Updates for newest python API
      adding new python files
      ...
    wpoely86 committed Mar 11, 2017
    Copy the full SHA
    cb0dc26 View commit details
    Browse the repository at this point in the history
  2. Fix two errors because of merging upstream lib-refactor

    Currently `singularity -d export image.iso > image.tar` will not work
    as `-d` makes singularity print to stdout
    wpoely86 committed Mar 11, 2017
    Copy the full SHA
    dd72de4 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2017

  1. Merge remote-tracking branch 'origin/development' into create-nosuid

    * origin/development: (67 commits)
      Clean environment when using -C/--containall flags
      Add -e/--cleanenv runtime action option (ref: apptainer#445)
      Moved test
      Cleaned up tests and added more docker tests
      Fix shell debug/verbose messages to goto STDERR (ref apptainer#481)
      fix: removed tabs
      fix: removed driver if
      added test
      fix syntax
      Testing a wider print format
      Minor fix for CI
      Clean redundant messages of label additions
      Support optional tests
      Make container writable for removal test
      Added config ownership test
      Fix comments and empty lines in the %file sections (and add tests)
      Finishing up the new test code
      Fixes for runscript and environment overriding what is in the sections and python
      Test updates... WIP
      Fix %labels parsing during bootstrap
      ...
    wpoely86 committed Mar 20, 2017
    Copy the full SHA
    138efae View commit details
    Browse the repository at this point in the history
  2. Restore permission

    wpoely86 committed Mar 20, 2017
    Copy the full SHA
    3b25abc View commit details
    Browse the repository at this point in the history