Bug 33095 - Docker-compose must not be referenced in package description because is not the right command
Summary: Docker-compose must not be referenced in package description because is not t...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-04-11 23:50 CEST by Pierre Bonneau
Modified: 2024-04-13 18:57 CEST (History)
3 users (show)

See Also:
Source RPM: docker-compose
CVE:
Status comment:


Attachments

Description Pierre Bonneau 2024-04-11 23:50:41 CEST
Description of problem:
When installing docker-compose package, the executable ends up in /usr/libexec/docker/cli-plugins/

But when I try to execute simply docker-compose, the command is not found.

I'm expecting to have it directly available in the console when it's installed.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.install docker-compose
2.run docker-compose
3.get error : command not found
Comment 1 katnatek 2024-04-12 01:25:53 CEST
I say this is invalid, the right way to run the command is

docker compose 

like you can see here https://bugs.mageia.org/show_bug.cgi?id=32897#c7
Comment 2 sturmvogel 2024-04-12 08:23:44 CEST
Not completely invalid. There was a change between docker-compose V1 and V2 in command structure.

Due to bad packaging on Mageia side, the no longer supported/working commands are referenced in the package description...
This needs to be changed as the package description is now wrong and missleading:

"Multi-container orchestration for Docker
Docker-compose allows you to:
- Define your application's environment with Docker so it can be reproduced
anywhere.
- Define the services that make up your app so they can be run together in an
isolated environment.
- Run 'docker-compose up', and docker-compose will start and run your entire
app."
Comment 3 sturmvogel 2024-04-12 08:47:34 CEST
https://docs.docker.com/compose/migrate/
Comment 4 Lewis Smith 2024-04-12 20:41:09 CEST
If our packaging is faulty, can you two please identify just what needs correcting? You seem to know what you are talking about!

CC: (none) => lewyssmith

Comment 5 katnatek 2024-04-12 20:54:08 CEST
Assigned to Bruno who made the current package and adjust the title with the information of comment#2

Assignee: bugsquad => bruno
Summary: Docker-compose not added in PATH => Docker-compose must not be referenced in package description because is not the right command

Comment 6 Bruno Cornec 2024-04-13 01:09:04 CEST
(In reply to sturmvogel from comment #2)
> Due to bad packaging on Mageia side, the no longer supported/working
> commands are referenced in the package description...

If packaging is so bad, you'd have a completely non-working package.

We just have a description issue.

So thanks for your report. It's fixed in cauldron, as well as mga9. However, I don't think this deserve an urgent update, so when QA has time they may validate it, knowing that nothing in the package changed except the package description, so don't waste time to test again !

Status: NEW => ASSIGNED
Assignee: bruno => qa-bugs

Comment 7 katnatek 2024-04-13 03:18:05 CEST
Packages in 9/core/updates_testing

i586:
docker-compose-2.20.3-2.mga9.i586.rpm


x86_64:
docker-compose-2.20.3-2.mga9.x86_64.rpm


SRPM:
docker-compose-2.20.3-2.mga9.src.rpm
Comment 8 katnatek 2024-04-13 03:39:58 CEST
RH mageia 9 x86_64

Reference https://bugs.mageia.org/show_bug.cgi?id=32897#c7 & https://bugs.mageia.org/show_bug.cgi?id=32897#c6 , https://bugs.mageia.org/show_bug.cgi?id=32899#c7

docker compose pull
[+] Pulling 9/9
 ✔ db 8 layers [⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                               25.1s 
   ✔ bccd10f490ab Pull complete                                                                                                11.0s 
   ✔ d9d8e1823c6f Pull complete                                                                                                 0.6s 
   ✔ 4b658f15686b Pull complete                                                                                                 2.4s 
   ✔ 153080ffcddf Pull complete                                                                                                 1.2s 
   ✔ fc35f7aae1e5 Pull complete                                                                                                 2.3s 
   ✔ 59efd043a883 Pull complete                                                                                                18.1s 
   ✔ 676a7ad9f737 Pull complete                                                                                                 3.0s 
   ✔ 335ef3100b9e Pull complete  

docker compose up -d
[+] Running 2/2
 ✔ Network tmp_default  Created                                                                                                 0.2s 
 ✔ Container tmp-db-1   Started 

docker ps
CONTAINER ID   IMAGE     COMMAND                  CREATED          STATUS          PORTS                                         NAMES
088936b0ce6c   mariadb   "docker-entrypoint.s…"   31 seconds ago   Up 28 seconds   0.0.0.0:33060->3306/tcp, :::33060->3306/tcp   tmp-db-1

I have to stop firewall, for last part of the test http://localhost:33060/ 

i���
11.3.2-MariaDB-1:11.3.2+maria~ubu2204����7adRKd6|�юч-�яЃ���������1z8E5tj:"97H�mysql_native_password�!��я„#08S01Got packets out of order
Comment 9 katnatek 2024-04-13 03:41:28 CEST
 urpmq -pi qa-testing/x86_64/docker-compose-2.20.3-2.mga9.x86_64.rpm 
Name        : docker-compose
Version     : 2.20.3
Release     : 2.mga9
Group       : System/Configuration
Size        : 57173201                     Architecture: x86_64
Source RPM  : docker-compose-2.20.3-2.mga9.src.rpm   Build Host: localhost
Packager    : bcornec <bcornec>
URL         : https://www.docker.com/
Summary     : Multi-container orchestration for Docker
Description :
Multi-container orchestration for Docker

docker compose allows you to:
- Define your application's environment with Docker so it can be reproduced
  anywhere.
- Define the services that make up your app so they can be run together in an
  isolated environment.
- Run 'docker compose up', and docker compose will start and run your entire
  app.

CC: (none) => andrewsfarm

katnatek 2024-04-13 03:41:47 CEST

Whiteboard: (none) => MGA9-64-OK

katnatek 2024-04-13 04:00:00 CEST

Keywords: (none) => advisory, validated_update
CC: (none) => sysadmin-bugs

Comment 10 Mageia Robot 2024-04-13 18:57:21 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0126.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.