Bug 54262 - "univention-app install" not idempotent - samba4 self-conflicting itself
"univention-app install" not idempotent - samba4 self-conflicting itself
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-20 09:06 CET by Philipp Hahn
Modified: 2021-12-20 09:38 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.206
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 Philipp Hahn univentionstaff 2021-12-20 09:06:48 CET
> # univention-app install samba4
> Resolving dependencies for samba4
> Going to install Active Directory-kompatibler Domänencontroller (4.13)
> (must_have_no_conflicts_apps) The application conflicts with the following applications:
>                         {'samba4': [{'id': 'samba4', 'name': 'Active Directory-kompatibler Domänencontroller'}]}
> (must_not_be_installed) This application is already installed
> Unable to install. Aborting...
> Failure will leave these apps untouched: samba4

This makes `univention-app` unsuitable for being used from configuration management systems like Ansible, which try to archive a state and expect tools to be idempotent, e.g. the tool should transform the current state into the desired state but do nothing, if the desired state is already achieved.