I had a mariadb instance running on lxd. Following a power-loss situation awhile back, it disappeared on me after my reboot. I’ve been trying to track it down for awhile and recently did a reubild switch, and saw this output:
[sudo] password for bria:
building Nix...
building the system configuration...
evaluation warning: The option `services.xserver.xkbVariant' defined in `/etc/nixos/configuration.nix' has been renamed to `services.xserver.xkb.variant'.
evaluation warning: The option `services.xserver.layout' defined in `/etc/nixos/configuration.nix' has been renamed to `services.xserver.xkb.layout'.
evaluation warning: The option `services.xserver.displayManager.sddm.enable' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.sddm.enable'.
evaluation warning: lxd has been renamed to lxd-lts
updating GRUB 2 menu...
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
lsblk: /dev/mapper/no*[0-9]: not a block device
lsblk: /dev/mapper/raid*[0-9]: not a block device
lsblk: /dev/mapper/disks*[0-9]: not a block device
activating the configuration...
setting up /etc...
reloading user units for bria...
reloading user units for sddm...
restarting sysinit-reactivation.target
bria@nixos ~>
The part I’m focusing on at is
evaluation warning: lxd has been renamed to lxd-lts
When I used to start it, I would use something like sudo lxd exec dabba -- /bin/fish
but now, I get an error:
bria@nixos~> sudo lxc exec dabba -- /bin/fish
[sudo] password for bria:
Unsupported command 'exec'
Known commands:
attach autostart cgroup checkpoint config console copy create destroy device execute freeze info ls monitor snapshot start stop top unfreeze unshare wait
It looks like I’ve had my software change out from under me, but noticing this emission during nixos rebuild helps me narrow it down. I’m still trying to understand what’s happening here, but it’s really bothering me.
By the way, this is what happens when I look for my container:
bria@nixos ~ [1]> sudo lxc ls
asdf bubu
bria@nixos ~>
and trying lxd-lts
results in this:
bria@nixos ~ [1]> sudo lxd-lts ls
sudo: lxd-lts: command not found
bria@nixos ~ [1]>
Not sure what this means. Am I forgetting a step?