!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

599 Members
NixOS ❤️ systemd165 Servers

Load older messages


SenderMessageTime
18 Oct 2024
@emilazy:matrix.orgemily(though more like half a year from now for unstable)07:55:41
@msanft:matrix.orgMoritz Sanft Thanks for the feedback on the PR @nikstur - a little disclaimer: I'll probably only get to work on it on Monday 14:33:40
@msanft:matrix.orgMoritz SanftWho of you guys will be at NixCon?14:33:50
19 Oct 2024
@raitobezarius:matrix.orgraitobezarius ElvishJerricco i'm looking at modprobe@.service in the initrd and it seems to be missing, is that intended or am I holding this wrong? 09:21:10
@raitobezarius:matrix.orgraitobezariusdid I miss a replacement mechanism to tether the modprobe requests from various services in the initrd?09:21:25
@raitobezarius:matrix.orgraitobezariusyeah, it feels like that modprobe@.service is missing which hamper any systemd service that depends on automatic module loading in the units decls09:43:34
@raitobezarius:matrix.orgraitobezarius(e.g. configfs)09:43:37
@elvishjerricco:matrix.orgElvishJerricco raitobezarius: it was added in a recent pr 11:41:09
@elvishjerricco:matrix.orgElvishJerriccoyea, I added it here: https://github.com/NixOS/nixpkgs/pull/34357411:44:01
@jwillikers:matrix.orgjwillikers joined the room.12:09:16
@ma27:nicht-so.sexyma27Redacted or Malformed Event12:20:03
@arianvp:matrix.orgArian
]$ /run/current-system/bin/switch-to-configuration --help
Error: This program does not support being ran outside of the switch-to-configuration environment
15:15:45
@arianvp:matrix.orgArianwhat does this mean?15:15:47
@arianvp:matrix.orgArianthis used to just work. 15:15:52
@arianvp:matrix.orgAriansounds like this will break like 90% of all deploy tools15:17:25
@arianvp:matrix.orgAriana lot of tools treat it as public interface. I don't think we can break this15:18:27
@arianvp:matrix.orgArian oh. the error goes away when I run it as sudo 15:19:14
@arianvp:matrix.orgArianthat's one confusing error message15:19:47
@hexa:lossy.networkhexa Jared Baur: ^ 16:45:13
@raitobezarius:matrix.orgraitobezarius
In reply to @elvishjerricco:matrix.org
raitobezarius: it was added in a recent pr
thx
16:46:20
@mwoodpatrickmx:matrix.orgmwoodpatrickmx joined the room.17:00:40
@jaredbaur:matrix.orgJared Baur This is how the perl script fails when ran as an unprivileged user:
$ ./result/bin/switch-to-configuration dry-activate

mkdir /run/nixos: Permission denied at ./result/bin/switch-to-configuration line 99.
17:36:32
@arianvp:matrix.orgArianYeh but if you don't pass it any arguments it doesn't fail I think. 17:41:02
@arianvp:matrix.orgArianI.e. --help shows the different available commands17:41:23
@elvishjerricco:matrix.orgElvishJerricco oh, yea, we should probably implement a --help if the perl one had 17:50:42
@elvishjerricco:matrix.orgElvishJerricco * oh, yea, we should probably implement a --help if the perl one had that 17:50:51
@jaredbaur:matrix.orgJared Baur https://github.com/NixOS/nixpkgs/pull/349834 18:28:33
@jaredbaur:matrix.orgJared Baur The perl one does not have a --help, hopefully soon enough we don't have to worry about what it does or doesn't have :) 18:29:36
20 Oct 2024
@gdamjan:spodeli.orggdamjanisn't there an option in switch-to-configuration to NOT restart some services?14:33:27
@jaredbaur:matrix.orgJared BaurI believe you can get that behavior by setting `serviceConfig.X-RestartIfChanged = false` on your service19:18:05

Show newer messages


Back to Room ListRoom Version: 6