File ceph-rpmlintrc of Package ceph-test
110
1
# Upstream has fixed share library dependencies, all within the
2
# ceph src package. Eliminating them is a long-term effort.
3
addFilter("shlib-fixed-dependency")
4
5
# ceph-base RPM ships some internal static libraries
6
addFilter("ceph-base.*devel-file-in-non-devel-package.*compressor")
7
addFilter("ceph-base.*devel-file-in-non-devel-package.*rados-classes")
8
addFilter("ceph-base.*devel-file-in-non-devel-package.*libceph_crypto")
9
addFilter("ceph-base.*devel-file-in-non-devel-package.*libos_tp")
10
addFilter("ceph-base.*devel-file-in-non-devel-package.*libosd_tp")
11
12
# env shebang hack is required because the same script has to run in FreeBSD as
13
# well as Linux (Fedora, CentOS, SUSE, Debian, Ubuntu, etc.)
14
addFilter("ceph-common.*env-script-interpreter.*rbd-replay-many")
15
addFilter("ceph-common.*env-script-interpreter.*rbdmap")
16
17
# cephadm intentionally ships an empty file (.ssh/authorized_keys)
18
# and a hidden directory (/var/lib/cephadm/.ssh)
19
addFilter("cephadm.*zero-length")
20
addFilter("cephadm.*hidden-file-or-dir")
21
22
# ceph-mgr-dashboard ships a bunch of empty files and hidden files: need to audit if they are needed (WIP)
23
addFilter("ceph-mgr-dashboard.*zero-length")
24
addFilter("ceph-mgr-dashboard.*hidden-file-or-dir")
25
26
# ceph-immutable-object-cache has a weird description (WIP)
27
addFilter("ceph-immutable-object-cache.*description-shorter-than-summary")
28
29
# ceph-osd depends on libstoragemgmt explicitly (WIP)
30
addFilter("ceph-osd.*explicit-lib-dependency.*libstoragemgmt")
31
32
# we have a problem with RPM names that are too long for Joliet filesystem (WIP)
33
addFilter("filename-too-long-for-joliet")
34
35
# ceph-base intentionally calls its logrotate file "etc/logrotate.d/ceph"
36
addFilter("ceph-base.*incoherent-logrotate-file")
37
38
# many ceph executables might not be relinquishing groups (WIP)
39
addFilter("missing-call-to-setgroups-before-setuid")
40
41
# package summary might intentionally contain the word "Ceph"
42
addFilter("name-repeated-in-summary")
43
44
# the ceph RPM should be of the noarch architecture because it contains no binaries (WIP)
45
addFilter("ceph.*no-binary")
46
47
# cephfs-shell might be missing a Requires (WIP)
48
addFilter("cephfs-shell.*no-dependency-on.*python-base")
49
50
# ceph-osd ships /etc/sudoers.d/ceph-osd-smartctl without %config (WIP)
51
addFilter("ceph-osd.*non-conffile-in-etc.*sudoers")
52
53
# cephadm ships /etc/sudoers.d/cephadm without %config (WIP)
54
addFilter("cephadm.*non-conffile-in-etc.*sudoers")
55
56
# ceph-osd ships /usr/lib/sysctl.d/90-ceph-osd.conf with %config (WIP)
57
addFilter("ceph-osd.*non-etc-or-var-file-marked-as-conffile.*sysctl.d")
58
59
# ceph-dashboard ships several scripts that don't have executable bit set (WIP)
60
addFilter("ceph-mgr-dashboard.*non-executable-script")
61
62
# ceph-mgr-rook ships a script that doesn't have executable bit set (WIP)
63
addFilter("ceph-mgr-rook.*non-executable-script.*generate_rook_ceph_client.sh")
64
65
# some devel packages obsolete the deprecated "ceph-devel" package without providing it (WIP)
66
addFilter("obsolete-not-provided.*ceph-devel")
67
68
# libcephfs2 obsoletes libcephfs1 without providing it (WIP)
69
addFilter("libcephfs2.*obsolete-not-provided.*libcephfs1")
70
71
# librgw2 calls exit() or _exit(), probably in a non-fork() context (WIP)
72
addFilter("librgw2.*shared-lib-calls-exit")
73
74
# ceph-base ships with shared libraries - these are internal and upstream does
75
# not want to split them into separate RPMS
76
addFilter("ceph-base.*shlib-policy-missing-suffix")
77
78
# the ceph RPM is a "meta" RPM without any files. These are discouraged by SUSE,
79
# but upstream relies on this construct and we just have to live with it.
80
addFilter("ceph\..*suse-filelist-empty")
81
82
# ceph-common ships bash-completion files in the wrong directory (WIP)
83
addFilter("ceph-common.*suse-filelist-forbidden-bashcomp-userdirs")
84
85
# ceph-base ships a logrotate file in /etc/logrotate.d/ceph but does not not
86
# package the log directory /var/log/ceph (WIP)
87
addFilter("ceph-base.*suse-logrotate-log-dir-not-packaged")
88
89
# our packages are missing "rcFOO" symlinks - I doubt if this is worth fixing
90
addFilter("suse-missing-rclink")
91
92
# %post scriptlets do not call service_add_post (WIP)
93
addFilter("systemd-service-without-service_add_post")
94
95
# %pre scriptlets do not call service_add_pre (WIP)
96
addFilter("systemd-service-without-service_add_pre")
97
98
# %postun scriptlets do not call service_del_postun (WIP)
99
addFilter("systemd-service-without-service_del_postun")
100
101
# %preun scriptlets do not call service_del_preun (WIP)
102
addFilter("systemd-service-without-service_del_preun")
103
104
# /run/ceph needs to be added to %files section as %ghost (WIP)
105
addFilter("ceph-common.*tmpfile-not-in-filelist")
106
107
# ceph-radosgw ships a SO that belongs in librgw-devel (WIP)
108
addFilter("ceph-radosgw.*devel-file-in-non-devel-package")
109
110