!9IQChSjwSHXPPWTa:lix.systems

Lix

628 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms196 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 Oct 2024
@lulu-berlin:matrix.orgLulu I don't know if this is the right place to ask, but I would like to contribute code to lix but I don't understand how pull requests work here. I tried doing it through Gerrit but couldn't figure it out. Do I need to be granted permissions for that? 20:59:25
@k900:0upti.meK900I don't think you need permission to open a CL20:59:51
@k900:0upti.meK900But Gerrit is... an acquired taste20:59:58
@k900:0upti.meK900 git-gr from nixpkgs is a nice tool to make it easier 21:00:10
@lulu-berlin:matrix.orgLuluOk, I'll try it. I tried to create a change through the UI of Gerrit and it told me to push my changes and I don't understand where I'm supposed to push them and how. I'm guessing it's not based on forks?21:02:49
@k900:0upti.meK900It is not 21:03:50
@k900:0upti.meK900 The easiest workflow is to just clone the repo from Gerrit and then git gr push 21:04:26
@lulu-berlin:matrix.orgLuluOk. And should I create a branch?21:04:45
@k900:0upti.meK900https://wiki.lix.systems/books/lix-contributors/page/gerrit21:05:20
@k900:0upti.meK900Actually this probably explains things better than I can right now 21:05:31
@lulu-berlin:matrix.orgLuluThank you :)21:05:43
@lulu-berlin:matrix.orgLuluI'll read it21:05:47
@szlend:matrix.orgszlend
In reply to @szlend:matrix.org
Somehow I'm getting this error user '_nixbld4' in the group 'nixbld' does not exist, right after running the installer, even though I'm not on Sequoia. I run a nix build in CI on a fresh MacOS VM every time, and it seems to happen sporadically. Any ideas how to debug this? This issue is not new, I've been running into it for as long as I remember.
Re: _nixbld4 does not exist issue. It appears if you loop through all the nixbld users and update their details (doesn't matter what), it fixes the issue. So this kind of supports my idea that this is some sort of MacOS system bug
22:01:11
@szlend:matrix.orgszlendI'm not 100% sure yet, I'll keep running this for a while and see if it props up again22:01:37
@lulu-berlin:matrix.orgLulu I think I manage to figure out how to use Gerrit more or less. Thanks again, K900! 22:06:33
@szlend:matrix.orgszlendDoes the lix/nix-installer create users in parallel? I think that might be the issue22:26:24
@kfears:matrix.orgKFears (tragedy arc) It doesn't. It uses dscl to create users, and the way it does it is pretty cursed 22:35:05
@kfears:matrix.orgKFears (tragedy arc)Any chance you could file a bug with all the info on lix-installer repo? I'll try to see if I'm able to fix it22:35:41
@szlend:matrix.orgszlendI'll have a look tomorrow. Though it's pretty tricky to reproduce.22:57:43
7 Oct 2024
@kfears:matrix.orgKFears (tragedy arc)That's understandable00:00:11
@kfears:matrix.orgKFears (tragedy arc)Any info is valuable in cases like these00:00:39
@sera:karayan.xyzSerafine Karayan joined the room.00:45:50
@puck:puck.moepuck
In reply to @szlend:matrix.org
Re: _nixbld4 does not exist issue. It appears if you loop through all the nixbld users and update their details (doesn't matter what), it fixes the issue. So this kind of supports my idea that this is some sort of MacOS system bug
hrmmmm, it could be cache and/or just taking a bit to sync; especially because it's "right after running the installer"
01:54:06
@daagaak:matrix.orgdaagaak Killing opendirectoryd (or odutil reset cache) will clear out anything that's cached if that's the case 05:21:08
@szlend:matrix.orgszlend
In reply to @puck:puck.moe
hrmmmm, it could be cache and/or just taking a bit to sync; especially because it's "right after running the installer"
It doesn't refresh by itself, even a few minutes after installing. I know this because I had a retry set up a few minutes after the failure. The only way I've got it to refresh so far has been to update the user details
07:04:17
@szlend:matrix.orgszlend
In reply to @daagaak:matrix.org
Killing opendirectoryd (or odutil reset cache) will clear out anything that's cached if that's the case
That's a good idea. I'll try it out. Though it's interesting that dscl does report that the user is there. It's getpwnam that fails. So I hope it resets the right cache
07:06:06
@szlend:matrix.orgszlendCan confirm this works too08:14:07
@szlend:matrix.orgszlend * Can confirm odutil reset cache works too 08:14:25
@kfears:matrix.orgKFears (tragedy arc)Hmm, so the cache is wrong and gives errors, but the OS stuff is fine?09:33:56
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:46

Show newer messages


Back to Room ListRoom Version: 10