Bug #2962

.ns6 RPMs claim directory ownership

Added by Davide Principi over 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-devtools
Target version:v6.6
Security class: Resolution:NOTABUG
Affected version:v6.5-final NEEDINFO:No

Description

Many packages build by nethserver-devtools claim ownership on non-pertinent directories, i.e.

   # rpm -qf /sbin
filesystem-2.4.30-3.el6.x86_64
nethserver-release-6.5-5.ns6.noarch
nethserver-yum-1.3.4-1.ns6.noarch
nethserver-lib-2.1.2-1.ns6.noarch
nethserver-directory-2.0.4-1.1git2a63ded.ns6.noarch
nethserver-base-2.5.3-3.0gitb648a370.ns6.noarch

Future versions of RPM may not support this configuration anymore.


Related issues

Related to NethServer 6 - Enhancement #3145: Fix RPM dependencies on el7 CLOSED

History

#1 Updated by Davide Principi over 6 years ago

Devs could workaround this issue by using the --ignoredir option of genfilelist helper.

The solution could be modifying genfilelist policy to ignore directories and expecting an explicit --dir option to be used when the package effectively owns that directory. This should be a rare case, as most of nethserver-* packages rely on already-existing directories.

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Target version set to ~FUTURE

#3 Updated by Davide Principi about 6 years ago

#4 Updated by Davide Principi about 6 years ago

  • Status changed from NEW to CLOSED
  • Target version changed from ~FUTURE to v6.6
  • % Done changed from 0 to 100
  • Resolution set to NOTABUG

It is allowed on el6 to have multiple packages owning the same directory. This issue must be fixed on the related enhancement #3145.

Also available in: Atom PDF