| 2 Jun 2024 |
⚠️ eldritch horrors operating in this area ⚠️ | In reply to @irenes:matrix.org (assuming I survive etc lol) readline-esque libraries as the opposite to life insurance? | 20:40:30 |
⚠️ eldritch horrors operating in this area ⚠️ | honest question: why should we support, in lix itself, store relocation via chroot as is done now (ie, single-user instances placing the store in eg ~/.nix-store but substituting/building for it being at /nix/store and "fixing" that at runtime with linux namespace fuckery)
we'd argue this should be a "just pam_mount it" type deal | 20:51:16 |
@irenes:matrix.org | In reply to@pennae:matrix.eno.space readline-esque libraries as the opposite to life insurance? hehe | 21:07:36 |
@irenes:matrix.org | if pam_mount will let rpath and schebangs say /nix/store in them, then I personally don't see a need for one over the other | 21:08:13 |
@irenes:matrix.org | chroot is the more general mechanism I think? it allows more than one of those to coexist | 21:08:28 |
@irenes:matrix.org | but I don't know the details of pam_mount | 21:08:34 |
@irenes:matrix.org | I can definitely think of cases involving testing or bring-up of other machines where I'd want more than one store, though it's ALMOST never needed | 21:09:02 |
⚠️ eldritch horrors operating in this area ⚠️ | you can combine pam_mount and pam_namespace to do what the chroot helper thing does, but for an entire user session | 21:11:24 |
@irenes:matrix.org | oh neat! | 21:11:51 |
@irenes:matrix.org | hm | 21:11:54 |
@irenes:matrix.org | should it be tied to user sessions? | 21:11:58 |
⚠️ eldritch horrors operating in this area ⚠️ | this is just unnecessary complexity that is rarely if ever used, and only supported on linux to begin with | 21:11:59 |
@irenes:matrix.org | isn't being able to do it per-invocation more flexible? | 21:12:09 |
⚠️ eldritch horrors operating in this area ⚠️ | In reply to @irenes:matrix.org should it be tied to user sessions? it doesn't hurt since every session gets the same mounts anyway | 21:12:16 |
⚠️ eldritch horrors operating in this area ⚠️ | In reply to @irenes:matrix.org isn't being able to do it per-invocation more flexible? not if the setup is always the same | 21:12:27 |