| 25 May 2025 |
@nicoty:kde.org | Redacted or Malformed Event | 13:37:05 |
@nicoty:kde.org | Hello. I can't seem to join https://matrix.to/#/#users:nixos.org . Evidently, I can't even show the screenshot of the error, which said "Failed to join MatrixError: [403] You are not invited to this room. (https://kde.modular.im/_matrix/client/v3/join/!6oudZq5zJjAyrxL2uY%3A0upti.me)". I want to join so I can ask this question:
I'd like to debug this issue with systemd-remount-fs and, ultimately, libmount by using rr on a build of util-linux (which I believe contains libmount that system-remount-fs uses) that is unstripped and has debug symbols included, using nixseparatedebuginfod. How would I go about doing that? Do I just need to build and install a version of util-linux with separateDebugInfo set to true, e.g., by using the following flake:
{
inputs = {
disko = {
url = "github:nix-community/disko";
};
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
};
outputs =
{
disko,
nixpkgs,
self,
...
}:
let
defaultUser = "nixos";
hostName = "nixos";
system = "x86_64-linux";
in
{
diskoConfigurations = {
${hostName} = {
disko = {
devices = {
disk = {
vda = {
device = "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
vda1 = {
type = "EF00";
size = "8G";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
vda2 = {
size = "100%";
content = {
type = "bcachefs";
filesystem = "bcachefs_a";
label = "group_a.vda2";
};
};
};
};
};
};
bcachefs_filesystems = {
bcachefs_a = {
type = "bcachefs_filesystem";
passwordFile = "/tmp/secret.key";
subvolumes = {
"subvolumes/root" = {
mountpoint = "/";
};
};
};
};
};
};
};
};
nixosConfigurations = {
${hostName} = (
nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(
{
config,
inputs,
lib,
pkgs,
...
}:
{
boot = {
kernelPackages = pkgs.linuxPackages_testing;
loader = {
efi = {
canTouchEfiVariables = true;
};
systemd-boot = {
enable = true;
};
};
};
console = {
keyMap = "uk";
};
environment = {
systemPackages = [
pkgs.rr
pkgs.util-linux.overrideAttrs (after: before: {
separateDebugInfo = true;
})
];
};
i18n = {
defaultLocale = "en_GB.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "en_GB.UTF-8";
LC_IDENTIFICATION = "en_GB.UTF-8";
LC_MEASUREMENT = "en_GB.UTF-8";
LC_MONETARY = "en_GB.UTF-8";
LC_NAME = "en_GB.UTF-8";
LC_NUMERIC = "en_GB.UTF-8";
LC_PAPER = "en_GB.UTF-8";
LC_TELEPHONE = "en_GB.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
};
imports = [
./hardware-configuration.nix
];
networking = {
inherit hostName;
networkmanager = {
enable = true;
};
};
programs = {
git = {
enable = true;
};
};
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
};
services = {
xserver = {
xkb = {
layout = "gb";
variant = "";
};
};
};
time = {
timeZone = "Europe/London";
};
users = {
users = {
${defaultUser} = {
description = "NixOS";
extraGroups = [
"networkmanager"
"wheel"
];
isNormalUser = true;
packages = [ ];
};
};
};
system = {
stateVersion = "25.05";
};
}
)
self.diskoConfigurations.${hostName}
disko.nixosModules.disko
];
}
);
};
};
}
Or do I need to do something else to get systemd-remount-fs to use that version of util-linux?
| 13:39:42 |
@nicoty:kde.org | * Hello. I can't seem to join https://matrix.to/#/#users:nixos.org . Evidently, I can't even show the screenshot of the error, which said "Failed to join MatrixError: [403] You are not invited to this room. (https://kde.modular.im/_matrix/client/v3/join/!6oudZq5zJjAyrxL2uY%3A0upti.me)". I want to join so I can ask this question:
I'd like to debug this issue with systemd-remount-fs and, ultimately, libmount by using rr on a build of util-linux (which I believe contains libmount that system-remount-fs uses) that is unstripped and has debug symbols included, using nixseparatedebuginfod. How would I go about doing that? Do I just need to build and install a version of util-linux with separateDebugInfo set to true, e.g., by using the following flake:
{
inputs = {
disko = {
url = "github:nix-community/disko";
};
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
};
outputs =
{
disko,
nixpkgs,
self,
...
}:
let
defaultUser = "nixos";
hostName = "nixos";
system = "x86_64-linux";
in
{
diskoConfigurations = {
${hostName} = {
disko = {
devices = {
disk = {
vda = {
device = "/dev/vda";
type = "disk";
content = {
type = "gpt";
partitions = {
vda1 = {
type = "EF00";
size = "8G";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
vda2 = {
size = "100%";
content = {
type = "bcachefs";
filesystem = "bcachefs_a";
label = "group_a.vda2";
};
};
};
};
};
};
bcachefs_filesystems = {
bcachefs_a = {
type = "bcachefs_filesystem";
passwordFile = "/tmp/secret.key";
subvolumes = {
"subvolumes/root" = {
mountpoint = "/";
};
};
};
};
};
};
};
};
nixosConfigurations = {
${hostName} = (
nixpkgs.lib.nixosSystem {
inherit system;
modules = [
(
{
config,
inputs,
lib,
pkgs,
...
}:
{
boot = {
kernelPackages = pkgs.linuxPackages_testing;
loader = {
efi = {
canTouchEfiVariables = true;
};
systemd-boot = {
enable = true;
};
};
};
console = {
keyMap = "uk";
};
environment = {
systemPackages = [
pkgs.rr
pkgs.util-linux.overrideAttrs (after: before: {
separateDebugInfo = true;
})
];
};
i18n = {
defaultLocale = "en_GB.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "en_GB.UTF-8";
LC_IDENTIFICATION = "en_GB.UTF-8";
LC_MEASUREMENT = "en_GB.UTF-8";
LC_MONETARY = "en_GB.UTF-8";
LC_NAME = "en_GB.UTF-8";
LC_NUMERIC = "en_GB.UTF-8";
LC_PAPER = "en_GB.UTF-8";
LC_TELEPHONE = "en_GB.UTF-8";
LC_TIME = "en_GB.UTF-8";
};
};
imports = [
./hardware-configuration.nix
];
networking = {
inherit hostName;
networkmanager = {
enable = true;
};
};
programs = {
git = {
enable = true;
};
};
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
};
services = {
xserver = {
xkb = {
layout = "gb";
variant = "";
};
};
nixseparatedebuginfod = {
enable = true;
};
};
time = {
timeZone = "Europe/London";
};
users = {
users = {
${defaultUser} = {
description = "NixOS";
extraGroups = [
"networkmanager"
"wheel"
];
isNormalUser = true;
packages = [ ];
};
};
};
system = {
stateVersion = "25.05";
};
}
)
self.diskoConfigurations.${hostName}
disko.nixosModules.disko
];
}
);
};
};
}
Or do I need to do something else to get systemd-remount-fs to use that version of util-linux?
| 13:45:06 |
@palasso:matrix.org | Hi nicoty , I sent you an invite for #users:nixos.org. Images are not available right now due to spam attacks. | 13:46:23 |
@nicoty:kde.org | Vassilis Palassopoulos: That makes sense, those CP spammers have been very prolific lately and I'm glad the moderation team are tackling the problem. Anyway, thanks for the invite! | 13:47:39 |
| @nicoty:kde.org left the room. | 13:51:58 |
| @crazymevt:matrix.org left the room. | 14:49:51 |
| nicotel joined the room. | 15:24:49 |
| @mhdask:matrix.org joined the room. | 15:46:44 |
@mhdask:matrix.org | Can i get an invite to the new users room? :) | 15:47:01 |
| erahhal joined the room. | 17:52:44 |
| @mhdask:matrix.org left the room. | 18:27:05 |
| AkechiShiro joined the room. | 21:32:41 |
| 26 May 2025 |
| ximnoise joined the room. | 03:01:27 |
| Ty (they/them) joined the room. | 04:04:31 |
Ty (they/them) | Could I also get an invite please? | 04:06:35 |
uep | it says you're already in the room. | 04:13:12 |
uep | sigh, matrix sync fun yet again | 04:13:21 |
Ty (they/them) | I was originally in the room, but then it being turned invite-only did something weird I think
My synapse doesn't show the room, only the space so idk | 04:19:17 |
uep | yeah. there have been a few cases where:
- someone can't join the room because it's invite-only
- I can't invite them; server refuses because they're already in the room
- I can't kick them; same server refuses because they're not in the room
| 05:08:39 |
uep | i can set it public for a moment while you join | 05:09:03 |
uep | Ty (they/them): let me know when you're ready | 05:10:04 |
Ty (they/them) | Sure | 05:10:29 |
Ty (they/them) | Now works | 05:11:21 |
uep | done | 05:11:57 |
Ty (they/them) | In, thanks | 05:12:51 |
uep | np | 05:13:39 |
| kenran_ joined the room. | 08:12:42 |
kenran_ | hey, could I also get an invite please (to #users:nixos.org). I might even have been in but left due to the "old, migrated" name. Is there a different channel that's the current go-to? | 08:18:28 |
kenran_ | * hey, could I also get an invite please (to #users:nixos.org)? I might even have been in but left due to the "old, migrated" name. Is there a different channel that's the current go-to? | 08:18:35 |