Yueh-Shun Li

Results 123 comments of Yueh-Shun Li

The Chinese new year is coming :firecracker:! A new release would be a great new-year's resolution :heavy_check_mark:.

@preney If the decision is made to allow unprivileged users to build a definition file, how are we going implement it? Would it be the default or be opted-in with...

Here is a working prototype I made with some `Geteuid() != 0` checks removed: https://github.com/ShamrockLee/apptainer/tree/noroot

Thank you. I have opened the PR. Could you help me approve the CI?

The PR can now build singurarity images without root privileges when passing the `--unprivileged` flag to `apptainer build`. However, `apptainer build` would still mount some admin-controlled files such as `/etc/resolv.d`,...

> I think this would likely become unnecessary if #447 is implemented. I'll see if it works under the standard build environment of Nix without building inside a VM. I...

@DrDaveD The `unshare` and `fakeroot` works like magic on x86_64-linux! Need to test it on aarch64-linux also. However, build-image-time `--no-mount` is still required to make it work inside the Nixpkgs...

@DrDaveD It seems that the build still relies on `/apptainer/mnt/session` to work. Is there a way to specify those directory at run time?

As a Nix user and Nixpkgs contributor, I hope to generate Apptainer images just as normal Nix packages. We actually have a `singularity-tool` in Nixpkgs to do so. The build...