!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
15 Jul 2025
@aloisw:julia0815.dealoisw(regarding the sockets stuff, not CVE-2025-52991, it just came to my mind again due to talking about the nested build directory)18:19:44
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @aloisw:julia0815.de
Or maybe not, given that the arbitrary directory delete may not come from Lix? But I fail to come up with a reasonable threat model here in any case.
I feel like you could either analyze it from: integrity, confidentiality and availability perspective OR a random multi-user Lix installation on a personal system (laptop/desktop/etc) OR a random multi-user Lix installation on a server OR a multi-tenant Lix worker for a CI system, etc.
18:41:27
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)I think specialized systems like CI systems, etc. are already aware to invest into hardening methods and additional sandboxing18:41:44
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)So their blast radius should be controlled when it comes to this18:41:53
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)Running Lix on a server is classical but also meh, it's mostly used similarly as a personal system albeit you don't download random attachements and shit from where not18:42:32
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)So random multi user Lix installation on a personal system is the most important scenario here that matters to me18:42:46
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)

By default, it should be staging builds in /nix/var/nix/builds, except if you opt-in in a new directory or you are running weird commands that make it fallback to non-daemon connections and cause you to use a tmp directory, at this point, bets are off.

Ideally, if you end up doing that, it would be nice if we could make people do something like systemd-run -p $HARDENING nix ...

18:43:35
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) instead of just nix ... 18:43:38
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)Arbitrary directory delete can cause integrity or availability issues, but not confidentiality ones18:44:00
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @aloisw:julia0815.de
Also we might need to nest the build directory in a not world-executable path to prevent the builder from allowing external processes to place sockets into it?
Can you open an issue for this?
18:44:56
@emilazy:matrix.orgemily /run/user does not work for Darwin, but $TMPDIR is per-user on Darwin. unfortunately, the path is much too long 19:04:50
@emilazy:matrix.orgemily (e.g. /var/folders/yd/mh726b5d2vqfyp132jtzq9t80000gn/T/) 19:04:54
@jade_:matrix.orgjade_at work at the moment, can look after. I am highly surprised at there being a regression in sending emails19:23:26
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @jade_:matrix.org
at work at the moment, can look after. I am highly surprised at there being a regression in sending emails
this is fixed
20:23:39
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)MIXED cannot be used because we use different set of emails20:23:47
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)the fix is on infra20:23:50
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @emilazy:matrix.org
/run/user does not work for Darwin, but $TMPDIR is per-user on Darwin. unfortunately, the path is much too long
"the path is much too long" (sic)
20:24:08
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)okie20:24:25
@jade_:matrix.orgjade_wait whut20:58:22
@jade_:matrix.orgjade_MIXED should mean that it puts "Sender Name (Code Review) <instance@instance.instance"20:58:47
@jade_:matrix.orgjade_ * MIXED should mean that it puts "Sender Name (Code Review) <instance@instance.instance>" 20:58:48
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)instance := gerrit instead of noreply20:58:55
@jade_:matrix.orgjade_omg20:58:59
@jade_:matrix.orgjade_okay you can fix that customwise tho20:59:04
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)look the infra right now20:59:10
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)it contains the fix20:59:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)(courtesy of emily)20:59:30
@jade_:matrix.orgjade_!! oh! thank you so much emily21:00:10
16 Jul 2025
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
Can you open an issue for this?
Done: https://git.lix.systems/lix-project/lix/issues/919
04:54:25
@k900:0upti.meK900 @jade_ +2ed 07:32:53

Show newer messages


Back to Room ListRoom Version: 10