1 1

DBus error within the chroot

Recommended Posts



I try to use DBus within the chroot and I got this issue :

Failed to create bus connection

The command used was :

hostnamectl set-hostname device_name

Systemd does not seems to work within the chroot, do you have any workaround ?




Share this post

Link to post
Share on other sites

From what I have read, there is no way to use systemd in a chroot. This is quite annoying when it comes to build customization...


chroot command could be swaped for systemd-nspawn in the Armbian build framework, does anybody tried this before ?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

1 1