[Fedora-packaging] rpmlint on Fedora and FHS

Siem Korteweg siem at xs4all.nl
Sat Jul 16 19:06:13 UTC 2011


Hi,

Before I am going to package System Configuration Collector for Fedora, I
decided to run rpmlint on the existing, generic rpm of SCC.

SCC consists of 25 executable shell scripts that are installed in
/opt/scc/bin. Configuration files reside in /etc/opt/scc and data is
stored in /var/opt/scc/. All According to the FHS
(http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES).

Fedora follows the FHS
(http://fedoraproject.org/wiki/Packaging:Guidelines#Filesystem_Layout),
however, rpmlint reports errors for all scripts in /opt/scc/bin:

scc.noarch: E: dir-or-file-in-opt /opt/scc/bin/scc-log
A file in the package is located in /opt. It's not permitted for packages to
install files in this directory.

Why is it not permitted for packages to install files in /opt while that
is allright according to the FHS and Fedora follows FHS?

regards
Siem Korteweg





More information about the packaging mailing list