| 7 Dec 2025 |
522 it/its ⛯ΘΔ | oh what sqlite has a wal2? | 12:35:38 |
522 it/its ⛯ΘΔ | oh, not even in mainline | 12:35:59 |
522 it/its ⛯ΘΔ | ah, https://sqlite.org/hctree/doc/wal2/doc/wal2.md | 12:37:23 |
aloisw | https://sqlite.org/src/file?ci=wal2&name=doc%2Fwal2.md is the one for the wal2-only branch. | 13:16:24 |
aloisw | I do not mean to ship this, it's more a quick experiment to see whether or in what ways a better database may help. | 13:17:31 |
aloisw | Not that I expect wal2 to be perfect either, a client-server database might offer some advantages in terms of write amplification, but of course it's a pain to manage. | 13:18:43 |
| 8 Dec 2025 |
zitrone | Anyone got an idea what error: cannot change ownership of '/nix/var/nix/b/5i50qd60sib1gcpvdmbrr667pd': Invalid argument means, and what i could do about it? It happens on one of my machines any time when i try to build a package that actually needs building (not cached).
/nix/var/nix/b is drwxr-xr-x root root like on my laptop, where the error is not happening. | 01:18:21 |
zitrone | i found the problem: containers the other computer it fails on is a lxc container the container only has 16 bit UID and GIDs because of that it fails to chown :872415232 /nix/var/nix/b/5i50qd60sib1gcpvdmbrr667pd: "Invalid argument" | 04:23:39 |
zitrone | * i found the problem: containers the computer it fails on is a lxc container the container only has 16 bit UID and GIDs because of that it fails to chown :872415232 /nix/var/nix/b/5i50qd60sib1gcpvdmbrr667pd: "Invalid argument" | 04:23:49 |
aloisw | Are you connecting from outside the container? Also what exactly are you doing, that ID looks suspiciously like one assigned by auto-allocate-uids but that should be about the builder uids, whereas the whown should happen to the requester uid. | 05:16:19 |
Aijokey | waiting for lock on '/nix/store/7m50sgfypkh0as0b5r1d89nnwpcykdq2-app.cash.licensee.gradle.plugin-1.13.0.pom'...
copying path '/nix/store/g3h31isgd6br4aimdfbm8nmq5s29hc5k-roc-toolkit-0.4.0' from 'https://cache.nixos.org'...
error (ignored): error: creating file '/nix/store/y8v2fxx306p7f3k6j8bqiv4abj7jw8vk-gtksourceview-4.8.4/share/gtksourceview-4/language-specs/boo.lang': Too many open files
error: opening directory '/nix/store/y689lkv4jyfcqs4mjlhxkf5kphdqyihr-ui-unit-1.10.0-alpha01.jar': Too many open files
Command 'nix-build '<nixpkgs/nixos>' --attr config.system.build.toplevel --no-out-link' returned non-zero exit status 1. | 07:31:32 |
Aijokey | I have problem | 07:31:38 |
Aijokey | ❯ ulimit
unlimited | 07:32:01 |
K900 | This is on the daemon, presumably | 07:33:03 |
Aijokey | Is there any way to fix, i cant switch | 07:47:21 |
K900 | Are you running some sort of "hardened" setup? | 07:47:34 |
Aijokey | no | 07:55:23 |
Aijokey | https://github.com/Aijokey/nix_configs# | 07:58:41 |
raitobezarius | you can build without the daemon the system | 09:23:41 |
Aijokey | In reply to @raitobezarius:matrix.org you can build without the daemon the system How? | 09:24:02 |
raitobezarius | NIX_REMOTE=local <your command that rebuilds your system> if that respects environment variables | 09:24:18 |
raitobezarius | but i'm more concerned that you are reaching open files limit with the daemon | 09:24:30 |
raitobezarius | what does systemctl cat nix-daemon show? | 09:24:38 |
Aijokey | In reply to @raitobezarius:matrix.org what does systemctl cat nix-daemon show? For now I can't access pc, no electricity | 09:25:13 |
raitobezarius | No problem, let us know when you can access it again | 09:25:31 |
Aijokey | OK | 09:25:40 |
crop | i am on lix 2.93.3 and tried to setup a remote builder following https://docs.lix.systems/manual/lix/stable/advanced-topics/distributed-builds.html and https://nix.dev/tutorials/nixos/distributed-builds-setup but it failes with this message in the systemd log of nix-daemon
Dec 08 03:27:33 silent nix-daemon[20189]: error: error processing connection: user 'nixremote' is not allowed to connect to the Nix daemon | 11:11:49 |
raitobezarius | can you do nix show-config on the remote system? | 11:18:49 |
raitobezarius | * can you do nix config show on the remote system? | 11:18:59 |
zitrone | yep i had auto-allocate-uids enabled | 11:23:16 |