| Summary: | Conflict between star and rmt | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bruno Cornec <bruno> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | geiger.david68210, rverschelde, stormi-mageia, sysadmin-bugs, tmb |
| Version: | 3 | Keywords: | Triaged, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | advisory has_procedure mga3-32-ok mga3-64-ok | ||
| Source RPM: | star-1.5a89-2.mga3.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Bruno Cornec
2013-07-23 12:56:30 CEST
I have fixed it in rev r457411 of SVN and pushed to cauldron. However, it would be important to make updated packags for mga2 and mga3 as well. It doesn't seem to be possible at the moment, so I'd like to have help from someone here. Status:
NEW =>
ASSIGNED Hi Bruno, why do you say that it's not possible to make updated packages for mga2 and mga3. Isn't it possible to fix the conflict there? Keywords:
(none) =>
Triaged It sounds like the appropriate fix for this would be in the Mageia 3 package. Proper conflicts can sort this kind of thing out without having to also modify the Mageia 2 package. If you can fix this in Cauldron, you can fix this in Mageia 3. mgarepo co -d 3 star cd star ( do your changes ) ( add "%define subrel 1" right above wherever %mkrel is used in the SPEC ) mgarepo submit 3/star --define section=core/updates_testing then write an advisory and assign it to the QA team (see the wiki for more info) Version:
2 =>
3 Update pushed into mga3 Advisory is ready as well (hoping to do it right) Status:
ASSIGNED =>
RESOLVED Not quite... https://wiki.mageia.org/en/Updates_policy#Maintainer_.28or_any_interested_packager.29 Status:
RESOLVED =>
REOPENED Ok, Changed assignment to QA now. The packages to test are: star-1.5a89-2.2.mga3.src.rpm star-1.5a89-2.2.mga3.i586.rpm star-1.5a89-2.2.mga3.x86_64.rpm As a remark, there are many wiki pages related to this topic, and it's not always easy to know which rules need to be applied, thus this new iteration, hoping this time I got it right. For example your wiki page doesn't mention if this should be marked as fixed closed by me, or if this is done by QA team. So I leave it as reopend as I suppose you changed it back to that status. Assignee:
bruno =>
qa-bugs Testing complete mga3 32
Bruno already uploaded the advisory, thanks for doing that.
$ urpmf --media "Core Release" rmt: | grep rmt
rmt:/etc/rmt
rmt:/sbin/rmt
rmt:/usr/share/doc/rmt
rmt:/usr/share/doc/rmt/COPYRIGHT
rmt:/usr/share/man/man8/rmt.8.xz
# urpmi rmt
Package rmt-0.4b44-2.mga3.i586 is already installed
Before
------
$ urpmf --media "Core Release" star: | grep rmt
star:/etc/default/rmt
star:/usr/sbin/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz
/usr/sbin/rmt conflicts with /sbin/rmt with the /usrmove in place
(/sbin is symlinked to /usr/sbin)
# urpmi star
installing star-1.5a89-2.mga3.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
Installation failed: file /usr/sbin/rmt from install of star-1.5a89-2.mga3.i586 conflicts with file from package rmt-0.4b44-2.mga3.i586
After
-----
$ urpmf --media "Core Updates Testing" star: | grep rmt
star:/etc/default/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz
# urpmi star
installing star-1.5a89-2.2.mga3.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: star #############################################
It's similar to tar. tested with a random file called 256k..
# star -c -j f=256k.tar.bz 256k
star: 26 blocks + 0 bytes (total of 266240 bytes = 260.00k).
# star -c -z f=256k.tar.gz 256k
star: 26 blocks + 0 bytes (total of 266240 bytes = 260.00k).Whiteboard:
advisory =>
advisory has_procedure mga3-32-ok Tested mga3_64,
Testing complete for the new update star-1.5a89-2.2.mga3, Ok for me I can confirm that the issue is now fixed.
Before:
# LC_ALL=C urpmi rmt
Package rmt-0.4b44-2.mga3.x86_64 is already installed
$ urpmf --media "Core Release" rmt: | grep rmt
rmt:/etc/rmt
rmt:/sbin/rmt
rmt:/usr/share/doc/rmt
rmt:/usr/share/doc/rmt/COPYRIGHT
rmt:/usr/share/man/man8/rmt.8.xz
$ urpmf --media "Core Release" star: | grep rmt
star:/etc/default/rmt
star:/usr/sbin/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz
# LC_ALL=C urpmi star
installing star-1.5a89-2.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
Installation failed: file /usr/sbin/rmt from install of star-1.5a89-2.mga3.x86_64 conflicts with file from package rmt-0.4b44-2.mga3.x86_64
----------------------------------
After:
$ urpmf --media "Core Updates Testing" star: | grep rmt
star:/etc/default/rmt
star:/usr/share/doc/star/default-rmt.sample
star:/usr/share/man/man1/rmt.1.xz
# LC_ALL=C urpmi star
installing star-1.5a89-2.2.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/1: star
----------------------------------
tested with a random file called boot.iso
$ star -c -z f=boot.iso.tar.gz boot.iso
star: 2765 blocks + 0 bytes (total of 28313600 bytes = 27650.00k).
$ star -c -z f=boot.iso.tar.bz boot.iso
star: 2765 blocks + 0 bytes (total of 28313600 bytes = 27650.00k).CC:
(none) =>
geiger.david68210 Validating the update, Bruno has already uploaded the advisory. Please push star to Mageia 3 core/updates. Keywords:
(none) =>
validated_update An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2014-0156.html Status:
REOPENED =>
RESOLVED |