!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

297 Members
https://github.com/nix-community/NixOS-WSL54 Servers

Load older messages


SenderMessageTime
21 Jan 2025
@shavyn:matrix.orgMarco joined the room.19:17:35
23 Jan 2025
@shaver:mozilla.orgshaver joined the room.21:45:55
24 Jan 2025
@jgeofil:matrix.orgjgeofil joined the room.06:25:04
27 Jan 2025
@k900:0upti.meK900Did someone touch something09:44:18
@k900:0upti.meK900My user daemon is not starting09:44:30
@k900:0upti.meK900* My user systemd is not starting09:44:35
@nzbr:nzbr.denzbr (they/it) Not to my knowledge
I think it might fail if activation/systemd startup takes longer than some hardcoded timeout (I think it was 10 seconds) because WSL just doesn't start your user session in that case. I had hoped that would be fixed by making the shell wrapper wait for activation to finish, so that WSL init never gets the error code that activation hasn't finished, but it probably doesn't work like that. (The waiting also prevents the shell failing when it is started after the timeout has triggered, so it did something, just not as much as I had hoped)
11:20:09
@k900:0upti.meK900OK it's something about PAM I think12:10:07
@k900:0upti.meK900Because loginctl no longer detects the session12:10:17
@k900:0upti.meK900Oh great12:10:50
@k900:0upti.meK900 The login process that WSL usually runs just isn't there 12:11:44
28 Jan 2025
@common16:matrix.orgcommon16Hey, does anyone have advice on how to install neovim 0.10? It looks like I'm still running 0.9.5 with my flake.nix and it's causing issues with my plugins (like mason.nvim)15:41:32
@k900:0upti.meK900What channel are you on?15:43:31
@k900:0upti.meK900Both 24.11 and unstable have 0.10.something15:43:36
@common16:matrix.orgcommon16This is my flake.nix: http://pastie.org/p/61D4vTo7xA6zNisqpazhtQ How can I tell what's the latest version of nixos-wsl to use? I'm still on 24.0515:46:04
@k900:0upti.meK900 Change github:nixos/nixpkgs/nixos-24.05 to github:nixos/nixpkgs/nixos-24.11 15:48:31
@common16:matrix.orgcommon16Well that was easy lol15:53:04
@common16:matrix.orgcommon16Thanks K900!15:53:08
31 Jan 2025
@ss:someonex.netSomeoneSerge (Gand St. Pieters) changed their display name from SomeoneSerge to SomeoneSerge (Bruxelles).19:34:02
2 Feb 2025
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:43
3 Feb 2025
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb 📞6343 to Lorenz Leutgeb.08:53:47
@ss:someonex.netSomeoneSerge (Gand St. Pieters) changed their display name from SomeoneSerge (Bruxelles) to SomeoneSerge (Gand St. Pieters).13:39:51
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:49
@rosssmyth:matrix.orgrosssmyth

I tried updating today and got an error.

activating the configuration...
setting up /run/booted-system...
setting up /etc...
setting up /bin...
setting up /bin/login...
setting up /sbin/init shim...
reloading user units for rsmyth...
restarting sysinit-reactivation.target
the following new units were started: sysinit-reactivation.target, systemd-tmpfiles-resetup.service
warning: the following units failed: lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount
× lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount - /lib/modules/5.15.153.1-microsoft-standard-WSL2
     Loaded: loaded (/etc/fstab; generated)
     Active: failed (Result: exit-code) since Mon 2025-02-03 16:20:11 EST; 841ms ago
 Invocation: 547fdb4bdc7a4811a2cfcd87c59735c4
      Where: /lib/modules/5.15.153.1-microsoft-standard-WSL2
       What: none
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
         IP: 0B in, 0B out
         IO: 0B read, 0B written
        CPU: 3ms

Feb 03 16:20:11 work mount[761]: mount: /lib/modules/5.15.153.1-microsoft-standard-WSL2: wrong fs type, bad option, bad superblock on none, missing codepage or helper program, or other error.
Feb 03 16:20:11 work mount[761]:        dmesg(1) may have more information after failed mount system call.
warning: error(s) occurred while switching to the new configuration

and then in dmesg...

[  112.904983] systemd[1]: Mounting /lib/modules/5.15.153.1-microsoft-standard-WSL2...
[  112.906301] systemd[1]: Kernel Configuration File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/config).
[  112.908153] overlayfs: missing 'lowerdir'
[  112.908629] systemd[1]: lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount: Mount process exited, code=exited, status=32/n/a
[  112.909212] systemd[1]: lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount: Failed with result 'exit-code'.
[  112.909717] systemd[1]: Failed to mount /lib/modules/5.15.153.1-microsoft-standard-WSL2.
[  112.910085] systemd[1]: Dependency failed for Local File Systems.
[  112.910399] systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
[  112.910827] systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
[  112.911142] systemd[1]: local-fs.target: Failed to enqueue OnFailure=emergency.target job, ignoring: Unit emergency.target not found.
[  112.911957] systemd[1]: Update Boot Loader Random Seed was skipped because of an unmet condition check (ConditionVirtualization=!container).
[  112.912710] systemd[1]: Rebuild Journal Catalog was skipped because of an unmet condition check (ConditionNeedsUpdate=/var).
[  112.913389] systemd[1]: Save Transient machine-id to Disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id).
[  112.913976] systemd[1]: Update is Completed was skipped because no trigger condition checks were met.
[  112.914455] systemd[1]: Kernel Auditing was skipped because of an unmet condition check (ConditionVirtualization=!container).
[  112.916920] systemd[1]: Starting Home Manager environment for rsmyth...
[  113.479923] systemd[1]: home-manager-rsmyth.service: Deactivated successfully.

(I think these are the relevant lines at least, let me know if any more is useful)
Google doesn't tell me much, I'm not really sure what lowerdir is.

21:22:20
@rosssmyth:matrix.orgrosssmythMy flake is here for reference. https://github.com/RossSmyth/nixos Nothing has change beyond the flake.lock in the past few months.21:23:58
@rosssmyth:matrix.orgrosssmyth* My flake is here for reference. https://github.com/RossSmyth/nixos Nothing has change beyond the flake.lock in the past few months, and I don't really bother pushing just lock file updates.21:24:21

There are no newer messages yet.


Back to Room ListRoom Version: 9