Bug 11008

Summary: Dangling links in cups: disable.8.xz enable.8.xz reject.8.xz
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: bittwister2, thierry.vignaud, unruh
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: cups-2.0.2-5.mga5.src.rpm CVE:
Status comment:

Description Bit Twister 2013-08-15 15:56:19 CEST
Description of problem: 

Following are dangling links:
/etc/alternatives/disable.8.xz 
/usr/share/man/man8/disable.8.xz 
/etc/alternatives/enable.8.xz 
/usr/share/man/man8/enable.8.xz 
/etc/alternatives/reject.8.xz 

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

How reproducible: Always


Steps to Reproduce:
Clean install of Mageia-4-alpha1-LiveDVD-KDE4-x86_64-DVD.iso.

1. clean install
2. click up a terminal
3. su - root
4. apply all updates, then run
5. symlinks -r / | grep dangling



Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-08-17 16:54:56 CEST

Keywords: (none) => Junior_job

Comment 1 David Walser 2013-08-20 23:54:48 CEST
I see the update-alternatives calls in %post common that should fix this, but they are using %{_extension} for the man pages compression extension (.xz), but that macro isn't defined anywhere.  Maybe that's the problem?

CC: (none) => thierry.vignaud

Comment 2 Thierry Vignaud 2013-09-13 11:22:53 CEST
It's a long time we drop support for cups alternatives (lpd-ng, ...) (read: may many years)

we could just try to no more renaming those files...
Bit Twister 2014-01-18 16:33:51 CET

CC: (none) => junknospam

Comment 3 Bit Twister 2015-07-01 10:24:16 CEST
verified bug still valid in release 5.

Source RPM: cups-1.7-0.rc1.6.mga4.src.rpm => cups-2.0.2-5.mga5.src.rpm

Comment 4 Thierry Vignaud 2015-07-01 12:24:00 CEST
(In reply to David Walser from comment #1)
%{_extension} is defined in /etc/rpm/macros.d/20build.macros if rpm-mageia-setup-build is installed so it's correctly resolved at build time as you check with rpm -q --scripts cups-common

I'll just kill generic symlinks on disable/enable/reject*, there's no point in keeping those.
Samuel Verschelde 2015-07-01 12:33:45 CEST

Summary: 4_a1: disable.8.xz enable.8.xz reject.8.xz dangling links => disable.8.xz enable.8.xz reject.8.xz dangling links
Whiteboard: (none) => MGA5TOO

Comment 5 Rémi Verschelde 2016-03-30 15:08:49 CEST
*** Bug 18090 has been marked as a duplicate of this bug. ***

CC: (none) => unruh

Rémi Verschelde 2016-03-30 15:09:08 CEST

Summary: disable.8.xz enable.8.xz reject.8.xz dangling links => Dangling links in cups: disable.8.xz enable.8.xz reject.8.xz

Samuel Verschelde 2016-10-15 23:28:58 CEST

Assignee: bugsquad => thierry.vignaud

Comment 6 Bit Twister 2016-10-17 08:36:40 CEST
Dangling links no longer occur.

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