docs: fix inconsistency in default CDI search path #29926
Nice fix. If you want to go one step further, a brief mention that defaults also come from cdi_spec_dirs in containers.conf(5) and show up in podman info might help readers who override config. I am totally fine to merge as-is.
LGTM once @Honny1's suggestions are addressed.
I decided to reword the whole thing. This should be detailed enough.
[NON-BLOCKING] Packit jobs failed. @podman-container-tools/packit-jobs please check. Everyone else, feel free to ignore.
LGTM, Thanks!
PTAL @podman-container-tools/podman-maintainers @podman-container-tools/podman-reviewers
the wording we have for hooks-dir seems clearer to me, let's use that
please use your real name and email for the Signed-off-by line and commit author
Is real name and email now a requirement? Frankly that seems rather ridiculous.
the wording we have for hooks-dir seems clearer to me, let's use that
Default paths are `/etc/cdi` and `/var/run/cdi` in order of increasing precedence.
Like this?
Yes please
Is real name and email now a requirement? Frankly that seems rather ridiculous.
Podman is under CNCF and this is the requirement for DCO: https://github.com/cncf/foundation/blob/main/policies-guidance%2Fdco-guidelines.md
It is not very clear and I've already asked for a clarification, but the DCO used in the current commit looks closer to an anonymous contribution than using a real name
Your real name is the name you convey to people in the community for them to use to identify you as you. The key concern is that your identification is sufficient enough to contact you if an issue were to arise in the future about your contribution.
> Your real name should not be an anonymous id or false name that misrepresents who you are.
My signed-off name is literally my GitHub username. How is this insufficient for people on GitHub to identify me as me? For contact you can ping me.
And it says nothing about email.
Suffice to say I strongly disagree with you. And if an authoritative third party judges that your interpretation is correct (which I consider unlikely), I would not be contributing anything to any open source project that adopts this requirement.
Changes LGTM
FWIW the requirement was relaxed[1][2] from a strict 'real' name to a 'known identity' so I would be okay with using a github username since that's a good proxy for your identity in public, especially in the open source space.
[1] - https://github.com/cncf/foundation/issues/383
[2] - https://github.com/podman-container-tools/community/blob/main/CONTRIBUTING.md#dco-sign-off
@cyqsimon can you squash the commits into one before we can get this in? Thanks
Squashed.
PTAL @giuseppe
We have never been strict about this, I for one would not mind the github username. However the other concern is the email address as it is clearly not a valid one that one could contact the person under:
The key concern is that your identification is sufficient enough to contact you if an issue were to arise in the future about your contribution.
At the same time pinging a github account is a valid way to contact someone so I think this is good enough, at least for a contribution like this I see no point in blocking it because of this.
CNCF will take ages to respond, if they will at all.
Honny1
cyqsimon
The documented CDI search path in
man podmandoes not mention/var/run/cdi. This minor PR fixes that.See also: containers/common#2462.
Checklist
Ensure you have completed the following checklist for your pull request to be reviewed:
commits. (
git commit -s). (If needed, usegit commit -s --amend). The author email must matchthe sign-off email address. Read the DCO Sign-off requirements
and ensure you follow them before signing off your commits.
Fixes: #00000in commit message (if applicable)make validatepr(format/lint checks)Noneif no user-facing changes)Does this PR introduce a user-facing change?
None