Skip to content

"Cached value indicated that overlay is supported" logged twice #2330

@dilyanpalauzov

Description

@dilyanpalauzov

As of containers/podman#26107 with podman 5.5.0-dev/Git Commit: 61f170ad00c5bae I see the log below. The line

time="2025-05-11T07:47:05Z" level=debug msg="Cached value indicated that overlay is supported"

appears twice, it should appear once.

time="2025-05-11T07:47:05Z" level=info msg="/usr/local/bin/podman filtering at log level debug"
time="2025-05-11T07:47:05Z" level=debug msg="Called run.PersistentPreRunE(/usr/local/bin/podman run --log-level=debug --cap-add=IPC_LOCK --log-driver=passthrough-tty --net=host --read-only --read-only-tmpfs=false --mount type=bind,src=/etc/kamailio,dst=/conf --tty --rm=true --userns=auto:size=10 --name=kamailio --ipc=none localhost/kamailio:2024-04-05)"
time="2025-05-11T07:47:05Z" level=debug msg="Using conmon: \"/usr/local/bin/conmon\""
time="2025-05-11T07:47:05Z" level=info msg="Using boltdb as database backend"
time="2025-05-11T07:47:05Z" level=debug msg="Initializing boltdb state at /var/lib/containers/storage/libpod/bolt_state.db"
time="2025-05-11T07:47:05Z" level=debug msg="Using graph driver "
time="2025-05-11T07:47:05Z" level=debug msg="Using graph root /var/lib/containers/storage"
time="2025-05-11T07:47:05Z" level=debug msg="Using run root /run/containers/storage"
time="2025-05-11T07:47:05Z" level=debug msg="Using static dir /var/lib/containers/storage/libpod"
time="2025-05-11T07:47:05Z" level=debug msg="Using tmp dir /run/libpod"
time="2025-05-11T07:47:05Z" level=debug msg="Using volume path /var/lib/containers/storage/volumes"
time="2025-05-11T07:47:05Z" level=debug msg="Using transient store: false"
time="2025-05-11T07:47:05Z" level=debug msg="Cached value indicated that overlay is supported"
time="2025-05-11T07:47:05Z" level=debug msg="Cached value indicated that overlay is supported"
time="2025-05-11T07:47:05Z" level=debug msg="Cached value indicated that metacopy is not being used"
time="2025-05-11T07:47:05Z" level=debug msg="Cached value indicated that native-diff is usable"
time="2025-05-11T07:47:05Z" level=debug msg="backingFs=extfs, projectQuotaSupported=false, useNativeDiff=true, usingMetacopy=false"

I don't think it's a problem. It depends on the implementation of the Init() function of the overlay driver in c/storage. There could probably be room for improvement there. Could you please create an issue in c/storage to optimize the Init() function of the overlay driver and close this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions