© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•5mo ago•
13 replies
giacomo

Distrobox with custom HOME directory

I've run into an issue with distrobox on bazzite not allowing custom home directories, apparently due to
/run/host
/run/host
not existing.

[giacomo@crunch] ~  
❯❯ distrobox create -i ghcr.io/ublue-os/fedora-toolbox -n fedora-toolbox -H /var/home/giacomo/distrobox/fedora-toolbox
Creating 'fedora-toolbox' using image ghcr.io/ublue-os/fedora-toolbox     [ OK ]
Distrobox 'fedora-toolbox' successfully created.
To enter, run:

distrobox enter fedora-toolbox


[giacomo@crunch] ~  
❯❯ distrobox enter fedora-toolbox
Starting container...                        [ OK ]
Installing basic packages...                 [ OK ]
Setting up devpts mounts...                  [ OK ]
Setting up read-only mounts...               [ OK ]
Setting up read-write mounts...              [ OK ]
Setting up host's sockets integration...     [ OK ]
Integrating host's themes, icons, fonts...     [ OK ]
Setting up distrobox profile...              [ OK ]
Setting up sudo...                           [ OK ]
Setting up kerberos integration...           [ OK ]
Setting up user's group list...              [ OK ]
Setting up existing user...                  [ OK ]
Ensuring user's access...                    [ OK ]
Setting up skel...                           [ OK ]

Container Setup Complete!
Error: crun: chdir to `/run/host/home/giacomo`: No such file or directory: OCI runtime attempted to invoke a command that was not found

[giacomo@crunch] ~  
❯❯ ls /run/host                                                                                                                                                                                                                       ⏎
"/run/host": No such file or directory (os error 2)
[giacomo@crunch] ~  
❯❯ distrobox create -i ghcr.io/ublue-os/fedora-toolbox -n fedora-toolbox -H /var/home/giacomo/distrobox/fedora-toolbox
Creating 'fedora-toolbox' using image ghcr.io/ublue-os/fedora-toolbox     [ OK ]
Distrobox 'fedora-toolbox' successfully created.
To enter, run:

distrobox enter fedora-toolbox


[giacomo@crunch] ~  
❯❯ distrobox enter fedora-toolbox
Starting container...                        [ OK ]
Installing basic packages...                 [ OK ]
Setting up devpts mounts...                  [ OK ]
Setting up read-only mounts...               [ OK ]
Setting up read-write mounts...              [ OK ]
Setting up host's sockets integration...     [ OK ]
Integrating host's themes, icons, fonts...     [ OK ]
Setting up distrobox profile...              [ OK ]
Setting up sudo...                           [ OK ]
Setting up kerberos integration...           [ OK ]
Setting up user's group list...              [ OK ]
Setting up existing user...                  [ OK ]
Ensuring user's access...                    [ OK ]
Setting up skel...                           [ OK ]

Container Setup Complete!
Error: crun: chdir to `/run/host/home/giacomo`: No such file or directory: OCI runtime attempted to invoke a command that was not found

[giacomo@crunch] ~  
❯❯ ls /run/host                                                                                                                                                                                                                       ⏎
"/run/host": No such file or directory (os error 2)


I have not run into the issue when doing the same on bluefin, though its been a while since I started running bluefin and I'm not sure if there was some additional configuration/setup performed for distrobox to work correctly.

Has anyone seen this issue or know where I'm going wrong?
Solution
well, i'm not sure how that it happened, but my $HOME was set to
/home/giacomo
/home/giacomo
instead of
/var/home/giacomo
/var/home/giacomo
which was apparently causing all the trouble. I updated the passwd file to use the /var/home directory, rebooted, re-created the distrobox containers and everything worked fine.
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Need Help setting a different home directory using distrobox
BazziteBBazzite / 🛟bazzite-help
10mo ago
home directory moving
BazziteBBazzite / 🛟bazzite-help
2y ago
Handling custom shell & Distrobox
BazziteBBazzite / 🛟bazzite-help
7mo ago
Distrobox separate home and user for python
BazziteBBazzite / 🛟bazzite-help
17mo ago