Bug 53067 - ucr commit doesn't support shell style globbing
ucr commit doesn't support shell style globbing
Status: NEW
Product: UCS
Classification: Unclassified
Component: UCR
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-13 16:30 CEST by Arvid Requate
Modified: 2021-04-13 16:46 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2021-04-13 16:30:33 CEST
setup-join.sh calls ucr like this:

ucr commit /etc/apt/sources.list.d/*

This doesn't work if the files have been removed, as was the case in some ansible automated setup for a project. Sure, the shell attempts to expand this, so it would be better to quote it:

ucr commit '/etc/apt/sources.list.d/*'

but this doesn't commit anything. I think it should. E.g. the bash command line completion for the ucr commit (tab-tab) shows what could be committed.

This doesn't work either:

ucr commit /etc/apt/sources.list.d
Comment 1 Arvid Requate univentionstaff 2021-04-13 16:42:05 CEST
workaround: e.g. ucr set repository/online/unmaintained='no'