-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Milestone
Description
machinectl's import-* commands do fail, due to missing importd
$ machinectl import-tar ubuntu-bionic.tar.xz
Failed to transfer image: The name org.freedesktop.import1 was not provided by any .service files
This renders machinectl mostly useless.
To Reproduce
Steps to reproduce the behavior:
- Use
machinectlto spawn an nspawn container:machinectl pull-tar --verify=checksum https://nspawn.org/storage/ubuntu/bionic/tar/image.tar.xz
Expected behavior
machinectl starts pulling the image.
Additional context
I tried adding "-Dimportd=true" to systemds mesonFlags, though that introduces two new dependencies:
libxkcommondbus
As dbus depends on systemd itself, adding dbus.dev to buildInput is not working.
More can be seen here: https://github.com/wucke13/nixpkgs/blob/systemd-importd/pkgs/os-specific/linux/systemd/default.nix
Metadata
- system:
"x86_64-linux" - host os:
Linux 5.3.2, NixOS, 19.09beta596.77b5a1965fc (Loris) - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.3 - channels(root):
"nixos-19.09beta596.77b5a1965fc" - channels(wucke13):
"nixos-unstable-19.09pre192418.e19054ab3cd" - nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS