!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL56 Servers

Load older messages


SenderMessageTime
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 (back on matrix) 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
6 Feb 2025
@rosssmyth:matrix.orgrosssmythoh I'm stupid ignore my messages 😓15:47:21
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Gand St. Pieters) to SomeoneSerge (UTC+U[-12,12]).17:49:11
7 Feb 2025
@nzbr:nzbr.denzbr (they/it) rosssmyth: I had looked at it, but could not figure out what could have happened here (my buest guess would have been that microsoft made another attempt at loadable kernel modules). At least I don't have to figure it out now 😅. Still I'm curious how that happened 08:53:52
@rosssmyth:matrix.orgrosssmythI did not type "sudo"17:49:56
@nzbr:nzbr.denzbr (they/it)oh well happens xD18:03:26
@mellow_yellow:matrix.org@mellow_yellow:matrix.org left the room.19:09:32
@terrorjack:matrix.terrorjack.com@terrorjack:matrix.terrorjack.com left the room.22:28:04
@terrorjack:matrix.orgterrorjack joined the room.22:45:21
8 Feb 2025
@terrorjack:matrix.orgterrorjack set a profile picture.02:24:26
@terrorjack:matrix.orgterrorjack removed their profile picture.02:25:00
@mwoodpatrickmx:matrix.orgmwoodpatrickmx

I'm having a problem adding quickgui to my NixOS flake its failing with:

	[   +5 ms] Failed obtaining PRETTY_NAME for Linux: PathNotFoundException: Cannot open file, path = '/usr/lib/os-release' (OS Error: No such file or directory, errno = 2)

Indeed the path /usr/lib/os-release does not exist on my NixOS install which is running as a WSL-2 distro. Should this file exist any suggestions as to why its missing or best way to debug?

12:46:18
@sandro:supersandro.deSandro 🐧There is no /usr/lib on NixOS12:55:35
@sandro:supersandro.deSandro 🐧os-release exists distro wide at /etc/os-release12:55:53
@mwoodpatrickmx:matrix.orgmwoodpatrickmxRunning qemu on wsl-2 using: nix run microvm#graphics neverball I'm getting the following errors does anyone have any suggestions on how to fix/debug: [2025-02-08T17:04:33.342691105+00:00 ERROR gpu_display::gpu_display_wl] missing interface linux_dmabuf [2025-02-08T17:04:33.342796044+00:00 ERROR devices::virtio::gpu] failed to open display: failed to connect to compositor [2025-02-08T17:04:33.342816203+00:00 ERROR devices::virtio::gpu] failed to open display: unsupported by the implementation 17:18:51
@k900:0upti.meK900It's not going to run the way you think 17:25:32
@k900:0upti.meK900Nested virt is not good, especially on WSL 17:25:42
@mwoodpatrickmx:matrix.orgmwoodpatrickmxCan you elaborate as to why I have none graphical qemu guests running without issue.17:28:18
@k900:0upti.meK900
In reply to @mwoodpatrickmx:matrix.org
Can you elaborate as to why I have none graphical qemu guests running without issue.
Because you're trying to do nested virtualization, that's inherently problematic
17:35:26
@k900:0upti.meK900But also NixOS on WSL doesn't have graphics acceleration working properly half the time 17:35:39
@marcel:envs.netMarcel joined the room.20:26:11
9 Feb 2025
@mwoodpatrickmx:matrix.orgmwoodpatrickmxWhere can I find the bugs filed against graphics acceleration issues on WSL?12:44:25
@mwoodpatrickmx:matrix.orgmwoodpatrickmxIn my NixOS WSL distro the /etc/groups file shows kvm:x:302 But ls -l /dev/kvm crw-rw---- 1 root 104 10, 232 Feb 9 04:14 /dev/kvm How can I fix this? 12:48:08
@mwoodpatrickmx:matrix.orgmwoodpatrickmx* In my NixOS WSL distro the /etc/groups file shows kvm:x:302 But ls -l /dev/kvm crw-rw---- 1 root 104 10, 232 Feb 9 04:14 /dev/kvm Other distros (e.g. Debian) show the correct group id. How can I fix this in NixOs? 12:49:58

Show newer messages


Back to Room ListRoom Version: 9