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
systemd: patch to make LXC work, see https://github.com/lxc/lxc/issue… #37862
systemd: patch to make LXC work, see https://github.com/lxc/lxc/issue… #37862
Conversation
Success on x86_64-linux (full log) Attempted: systemd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: systemd Partial log (click to expand)
|
Please add the patch to https://github.com/Nixos/systemd instead. It would be also nice if the valid concerns addressed by the upstream reviewers would be addressed here as well: https://github.com/systemd/systemd/pull/8447/files#r176907700 |
@Mic92 good point. maybe we should wait with the patch then until this has been fixed. |
Systemd is usually with merging for fixes from my experience. |
@Mic92 systemd is usually <>? i think the sentence lacks a word... |
Systemd is usually fast in merging fixes from my experience. |
@Mic92 awesome! thanks. |
@Mic92 the patch has been merged but i think only for master, see systemd/systemd#8447 so i need to make a PR to https://github.com/nixos/systemd with that patch for 2.37, right? i want that patch to be in 18.03 btw. |
@qknight yes. |
Motivation for this change
when this patch is not present it is not possible to use LXC on nixos properly with 'user namspace'
see also: lxc/lxc#2226
note on usability
on nixos we can run a modified version of systemd inside the LXC based container and this patch is only required inside the container. this is pretty cool actually!
but, and this is a huge but, it would be helpful to not have to recompile the whole container software stack just because of this small patch not being in systemd in general (on the host and on the guest)
note on security
lxc/lxc#2226 (comment)
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"