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

about storage.conf #78

Closed
fantastic2085 opened this issue Dec 28, 2023 · 2 comments
Closed

about storage.conf #78

fantastic2085 opened this issue Dec 28, 2023 · 2 comments

Comments

@fantastic2085
Copy link

I installed podman in ubuntu22.04 and compared it to Podman-static
image

  1. Why is ignore_chown_errors set to true
  2. Why set fsync=0 for mountopt
  3. Why is mount_program not commented out

Can I modify it as follows:
#ignore_chown_errors = "false"
#mount_program = "/usr/bin/fuse-overlayfs"
mountopt = "nodev,metacopy=on"

@mgoltzsche
Copy link
Owner

Except for the containers.conf, all configuration files are used for both images shipped by this repository: the rootful/normal podman container and the rootless/minimal podman container. That's why the configuration is optimized for rootless podman. Also, I must admit I didn't touch the configuration files for a long time during updates. Regarding your questions:

  1. If I remember correctly, this was necessary to make rootless podman work (at least at the time of writing). For rootful podman that is not necessary.
  2. I don't know for sure. I may have copied that from an old podman version or it was also because of an issue with rootless podman at the time.
  3. I also did that to make rootless podman work (overlayfs is implemented within the kernel space and the best user-space alternative is fuse-overlayfs).

A rootful podman should work with your config changes.

@mgoltzsche
Copy link
Owner

I am closing this issue since the question was answered.
Please feel free to re-open or create another issue if anything is unclear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants