Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Missing symlinks in Ubuntu installation? #282

Closed
aral opened this issue May 19, 2022 · 1 comment · Fixed by NixOS/nixpkgs#175302
Closed

[Error] Missing symlinks in Ubuntu installation? #282

aral opened this issue May 19, 2022 · 1 comment · Fixed by NixOS/nixpkgs#175302
Labels
bug Something isn't working

Comments

@aral
Copy link

aral commented May 19, 2022

Describe the bug

On Fedora Silverblue, certain folders that are immutable are symlinked to their writable counterparts.

While an Ubuntu installation under Distrobox has some of these symlinks, it’s missing others.

One that bit me recently was the lack of a symlink from /home to /var/home. (This did let me discover hardcoded paths assuming home folders all lived in /home in my code but I digress…)

To Reproduce

  1. Install Fedora Silverblue 36
  2. Install an Ubuntu container
  3. See a listing of / on both the base system and the container

What should happen

The symlinked folders should match (?)

What actually happens

Some symlinks are missing in the Ubuntu container.

Screenshots

In the base system:

Screenshot from 2022-05-19 11-04-10

In the Ubuntu container:

Screenshot from 2022-05-19 11-03-55

Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@aral aral added the bug Something isn't working label May 19, 2022
@89luca89
Copy link
Owner

Hi @aral

Looking at this the only important one missing is /var/home linked to /home, the others are not part of the "distrobox integration" so it's ok that they are not the same

I'm pushing a commit to fix this, you'll be able to grab directly from git. To make it effective just install the update, stop the container and start it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants