!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

637 Members
NixOS ❤️ systemd179 Servers

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


SenderMessageTime
4 Mar 2025
@emilazy:matrix.orgemily the idea being that you have a daemon syncing a subset of store paths to erofs and overlay it over /nix/store, or…? 14:43:40
@flokli:matrix.orgflokliWe have tvix-store {daemon,mount,virtiofs}. All three expose you a different view of the same data.14:45:04
@emilazy:matrix.orgemilyright14:55:06
@emilazy:matrix.orgemilyis there anything stopping you using virtiofs without a VM? :)14:55:32
@emilazy:matrix.orgemilyI guess that just reduces to FUSE14:56:16
@flokli:matrix.orgflokliRight now, fuse is the only way to make a POSIX Filesystem appear on the same machine that runs the POSIX appearing thing. Until someone writes another backend.14:57:48
@flokli:matrix.orgflokliThere's currently other known performance bottlenecks, I don't think it's fuse14:58:35
@emilazy:matrix.orgemilythere's always NFSv4 🫠15:05:59
@arianvp:matrix.orgArianI want to do more with EROFS but all the cool features are undocumented15:07:16
@raitobezarius:matrix.orgraitobezariuswhaddya mean15:09:46
@raitobezarius:matrix.orgraitobezariusthere's source code15:09:48
@raitobezarius:matrix.orgraitobezariusjust read it15:09:49
@arianvp:matrix.orgArian=(15:10:19
@kranzes:matrix.orgIlan Joselevich (Kranzes)
In reply to @arianvp:matrix.org
I want to do more with EROFS but all the cool features are undocumented
Learn Chinese
15:14:36
@arianvp:matrix.orgArianDoes erofs do fs-verity?16:19:08
@raitobezarius:matrix.orgraitobezariusi think everything is in place for fs-verity if not16:19:39
@raitobezarius:matrix.orgraitobezariussame for bcachefs16:19:41
@arianvp:matrix.orgArian(could perhaps patch kernel to use erofs instead of cpio for initramfs)16:19:50
@emilazy:matrix.orgemilyhttps://github.com/containers/initoverlayfs ?16:32:26
@arianvp:matrix.orgArian Hmmm does anybody know what the difference is between login from shadow and login from util-linux ? 17:00:52
@arianvp:matrix.orgArian we seem to use ${shadow}/bin/login on NixOS but other distros do not 17:02:08
@arianvp:matrix.orgArianwhich is weird17:03:30
@lassulus:lassul.uslassulus changed their profile picture.17:48:45
5 Mar 2025
@eliasp:kde.orgeliasp

A while ago, I mentioned seeing an issue with runtime overrides not getting applied. Ran into this now again. I have a complex Caddy configuration that I'd like to debug "in vivo", so I copied the Caddy config from the store to a writable location, ran `systemctl edit --runtime caddy && systemctl daemon-reload && systemctl restart caddy", but a "ps | grep caddy" shows it's still referrencing the old config path.

I made sure to "reset" ExecStart= and ExecReload= each by first declaring them empty before defining the new invocation pointing to the new path, but still… 🤷

A systemctl cat caddy.service includes the runtime override and the new values, but the running service itself also via systemctl show caddy | grep ExecStart points to the original location

that's happening with 257.2 - anyone else ran into something like this?

10:39:10
@eliasp:kde.orgeliasp

is this potentially caused by the fact, that the Caddy module itself already throws an override at Caddy?

    Drop-In: /run/systemd/system/caddy.service.d
             └─override.conf
             /nix/store/s2ggv021sz8m4pk62s452pffs0qvh39d-system-units/caddy.service.d
             └─overrides.conf
10:42:37
@k900:0upti.meK900No, that should not matter10:42:58
@eliasp:kde.orgeliasp ah, I see... that's just the regular one in /etc/static/systemd/system/caddy.service.d/, but systemd's display of the realpath instead of the symlink is what confused me.... 10:44:13
@eliasp:kde.orgeliasp might have strace PID#1 to get to the bottom of this… this will be "fun" 😒 10:45:23
@eliasp:kde.orgeliasp might have to strace PID#1 to get to the bottom of this… this will be "fun" 😒 10:46:12
@eliasp:kde.orgeliasp I should probably not use -f on strace in this case 🤦 10:48:02

Show newer messages


Back to Room ListRoom Version: 6