| Summary: | filesystem created dangling /usr/lib/debug/bin,sbin,lib64,lib links with missing leading / | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bit Twister <bittwister2> |
| Component: | RPM Packages | Assignee: | Neal Gompa <ngompa13> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | filesystem-2.1.9-34.mga8.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Bit Twister
2020-08-12 12:29:32 CEST
As discussed on the dev ml ...
[dave@x8v ~]$ rpm -q --scripts filesystem |grep symlink
--# If we are running in pretrans in a fresh root, there is no /usr and symlinks.
--# so, let's create the toplevel symlinks here and the directories they point to.
posix.symlink("usr/bin", "/bin")
posix.symlink("usr/sbin", "/sbin")
posix.symlink("usr/lib", "/lib")
posix.symlink("usr/bin", "/usr/lib/debug/bin")
posix.symlink("usr/lib", "/usr/lib/debug/lib")
posix.symlink("usr/lib64", "/usr/lib/debug/lib64")
posix.symlink("usr/sbin", "/usr/lib/debug/sbin")
posix.symlink("usr/lib64", "/lib64")
posix.symlink("../run", "/var/run")
posix.symlink("../run/lock", "/var/lock")
[dave@x8v ~]$ rpm -q -i filesystem |grep ^Source
Source RPM : filesystem-2.1.9-34.mga8.src.rpm
So it's the filesystem package that creates the dangling symlink.
The faulty "usr/..." was added in
http://svnweb.mageia.org/packages/cauldron/filesystem/current/SPECS/filesystem.spec?r1=1587163&r2=1587162&pathrev=1587163
so assigning to ovitters.CC:
(none) =>
davidwhodgins That change wasn't me! Sorry, misread the svnweb page. Reassigning. Assignee:
olav =>
ngompa13 *** Bug 28071 has been marked as a duplicate of this bug. ***
Bit Twister
2021-01-13 03:38:45 CET
Summary:
filesystem created dangling links =>
filesystem created dangling /usr/lib/debug/bin,sbin,lib64,lib links
Dave Hodgins
2021-01-13 14:30:12 CET
Summary:
filesystem created dangling /usr/lib/debug/bin,sbin,lib64,lib links =>
filesystem created dangling /usr/lib/debug/bin,sbin,lib64,lib links with missing leading / |