!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
22 Apr 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)yeah, that was the cases we weren't sure about13:30:23
@k900:0upti.meK900Without breaking people 13:30:27
@k900:0upti.meK900 So we'd need ssh-ng-ng or something 13:30:34
@helle:tacobelllabs.nethelle (just a stray cat girl)hold on13:30:59
@k900:0upti.meK900And I feel like this might be easier to land after the protocol rework 13:31:16
@helle:tacobelllabs.nethelle (just a stray cat girl)there is a weird ssh option/idea we have seen that needs a quick check13:31:17
@helle:tacobelllabs.nethelle (just a stray cat girl)
In reply to @k900:0upti.me
And I feel like this might be easier to land after the protocol rework
definitely
13:31:27
@k900:0upti.meK900Because among other things the new protocol has a hello message 13:31:29
@helle:tacobelllabs.nethelle (just a stray cat girl)

yeah, but uh, goal of "everything runs via the daemon (or more accurately, with only a single command ever executed on the remote server directly via ssh" seems like an important thing

and optionally "we can open our own channel, with a single command that we run remotely giving us the path to the unix socket for this" (this may require libssh, don't recall if ssh can dynamically setup forwards, but doubt it)

13:38:30
@k900:0upti.meK900We can set up a socket on our end13:38:45
@k900:0upti.meK900And then pass it to the command13:38:53
@k900:0upti.meK900We do need command line args to at least SOMEWHAT work13:39:02
@helle:tacobelllabs.nethelle (just a stray cat girl)the socket name we need is on the remote machine13:39:42
@k900:0upti.meK900Not if we do it backwards13:40:04
@helle:tacobelllabs.nethelle (just a stray cat girl)mmm, what are you thinking of in terms of the steps that would execute?13:40:25
@k900:0upti.meK900 Literally we just forward the socket in the other direction 13:40:44
@k900:0upti.meK900And have the remote end connect to it13:40:52
@helle:tacobelllabs.nethelle (just a stray cat girl)but then we need to be able to tell the remote end what unix socket to connect to and not entirely sure this is fully implemented in libssh (with the problem of also in that way round, the cleanup is not well handled, sshd will create the socket file, but will not clean it up)13:51:09
@helle:tacobelllabs.nethelle (just a stray cat girl)we think stdio may be fine, if we can deal with a shell outputting stuff before our protocol is up, scp does this, sftp would also be doing this, except everyone seems to use internal-sftp, which uh, never hits the shell......13:54:11
@helle:tacobelllabs.nethelle (just a stray cat girl)the "connect to a unix socket on the remote machine and make it available as a channel on the local one" is well supported in libssh iirc13:55:50
@k900:0upti.meK900https://buildkite.com/lix-project/lix/builds/1199#01965dbc-7113-43ad-a1f7-41c6ca232cd513:59:26
@k900:0upti.meK900You what13:59:27
@k900:0upti.meK900Wait wait wait wait WHAT14:02:01
@k900:0upti.meK900No14:02:03
@k900:0upti.meK900FUck14:02:08
@kfears:matrix.orgKFears (burning out)
In reply to @k900:0upti.me
Yes but we can't replace the existing protocols with "just talk to the daemon" because there may be no daemon
Speaking of, can we get like a wiki page or a pad for this? I don't understand at all what's the difference between daemon single-user and daemonless and how does daemonless work at all, it's very unintuitive
14:27:05
@helle:tacobelllabs.nethelle (just a stray cat girl)(ooof, my ssh test case for subsystems is currently broken, and it has been a while since we worked with that)14:45:51
@helle:tacobelllabs.nethelle (just a stray cat girl)also someone needs to document yeah, the existing protocols, because clearly we did not catch some of the edge cases14:46:09
@k900:0upti.meK900OK so some updates15:39:37
@k900:0upti.meK900Me and horrors came up with some exceptionally cursed fuckery15:39:48

Show newer messages


Back to Room ListRoom Version: 10