Skip to content

warning from find during cosa fetch #3199

@miabbott

Description

@miabbott

Bug Report

Seeing the following warning while running cosa fetch

find: warning: you have specified the global option -maxdepth after the argument -name, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it. Please specify global options before other arguments.

Environment

What operating system is being used to run coreos-assembler?

Fedora 36

What operating system is being assembled?

FCOS

Is coreos-assembler running in Podman or Docker?

podman

If Podman, is coreos-assembler running privileged or unprivileged?

unprivileged

Expected Behavior

No warnings during the use of cosa fetch

Actual Behavior

See the warning from find below:

$ cosa fetch
...
Deleted rpmostree/pkg/netavark/1.0.3-3.fc36.x86__64             
Deleted rpmostree/pkg/generic-release-common/36-0.1.noarch
Deleted rpmostree/pkg/generic-release/36-0.1.noarch               
Config commit: 5ead31350d18dff997a524643afb6a4332af6853
Using manifest: /srv/src/config/manifest.yaml        
find: warning: you have specified the global option -maxdepth after the argument -name, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.
/srv/tmp/override/fedora-coreos-pool.repo  /srv/tmp/override/fedora-next.repo  /srv/tmp/override/fedora-rawhide.repo  /srv/tmp/override/fedora.repo
Committing 05core: /srv/src/config/overlay.d/05core ... 1ae445f7a9fd192fcc04fc1f8331c750a1d7edeeb376914bf73a70abe98e1e5f
...

Reproduction Steps

  1. cosa fetch

Additional Information

Just a warning, not fatal to the fetch process as far as I can tell.

Metadata

Metadata

Assignees

Labels

jirafor syncing to jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions