!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

442 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.146 Servers

Load older messages


SenderMessageTime
2 Jun 2024
@irenes:matrix.org@irenes:matrix.orgchroot is the more general mechanism I think? it allows more than one of those to coexist21:08:28
@irenes:matrix.org@irenes:matrix.orgbut I don't know the details of pam_mount21:08:34
@irenes:matrix.org@irenes:matrix.orgI 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 needed21:09:02
@pennae:matrix.eno.space⚠️ 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 session21:11:24
@irenes:matrix.org@irenes:matrix.orgoh neat!21:11:51
@irenes:matrix.org@irenes:matrix.orghm21:11:54
@irenes:matrix.org@irenes:matrix.orgshould it be tied to user sessions?21:11:58
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️this is just unnecessary complexity that is rarely if ever used, and only supported on linux to begin with21:11:59
@irenes:matrix.org@irenes:matrix.orgisn't being able to do it per-invocation more flexible?21:12:09
@pennae:matrix.eno.space⚠️ 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
@pennae:matrix.eno.space⚠️ 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
@irenes:matrix.org@irenes:matrix.orgoh I see, the pam_mount way wouldn't require lix support21:12:34
@irenes:matrix.org@irenes:matrix.orgright but what if the setup isn't always the same21:12:47
@irenes:matrix.org@irenes:matrix.orgI just want to understand the argument, I'm not advocating for any particular position21:12:59
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️ the thing lix inherits from nix is just actively breaking certain things by trying to support stuff on its own that's better done elseways 21:13:15
@irenes:matrix.org@irenes:matrix.orgI see, yeah21:13:25
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️ check src/nix/run.cpp L37 ff for a comment explaining just how much fuckery this is currently <,< 21:14:10
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️ this is specia-cased in nix {shell,run} specifically for some reason 21:14:31
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️ * this is special-cased in nix {shell,run} specifically for some reason 21:14:34
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️ anyway, issue: https://git.lix.systems/lix-project/lix/issues/372 21:16:08
@irenes:matrix.org@irenes:matrix.orgthanks - I'll look in more detail at some point when I have actual time21:19:47
@pennae:matrix.eno.space⚠️ eldritch horrors operating in this area ⚠️no rush :321:21:06
@tim:stratum0.orgdadada changed their profile picture.23:02:41
@tim:stratum0.orgdadada changed their profile picture.23:04:20
@tim:stratum0.orgdadada changed their profile picture.23:09:17
3 Jun 2024
@aloisw:kde.orgaloisw
In reply to @pennae:matrix.eno.space
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
pam_mount requires setup by the system administrator.
04:48:17
@aloisw:kde.orgaloiswThat said, bubblewrap doesn't and work quite well.04:48:35
@jade_:matrix.orgjade_image.png
Download image.png
08:07:55
@jade_:matrix.orgjade_(this is a sneak peek, it still needs some operationalizing)08:08:18
@jade_:matrix.orgjade_i have done a backfill run. i now need to actually deploy it properly09:57:07

Show newer messages


Back to Room ListRoom Version: 10