netdata.spec.in 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057
  1. # SPDX-License-Identifier: GPL-3.0-or-later
  2. %global contentdir %{_datadir}/netdata
  3. %global version @PACKAGE_VERSION@
  4. # XXX: We are using automatic `Requires:` generation for libraries
  5. # whenever possible, DO NOT LIST LIBRARY DEPENDENCIES UNLESS THE RESULTANT
  6. # PACKAGE IS BROKEN WITHOUT THEM.
  7. AutoReqProv: yes
  8. # This is temporary and should eventually be resolved. This bypasses
  9. # the default rhel __os_install_post which throws a python compile
  10. # error.
  11. %global __os_install_post %{nil}
  12. # This is needed to support proper handling of Go code without requiring
  13. # external linking or GCCGO, because even recent versions of rpmbuild do
  14. # not properly support the build IDs generated by the upstream Go toolchain.
  15. %global _missing_build_ids_terminate_build 0
  16. # Use our custom CMake version from our package builders if we can’t find cmake.
  17. %if 0%{?centos_ver} == 7
  18. %global __cmake /cmake/bin/cmake
  19. %global __cmake_builddir .
  20. %global cmake %{__cmake}
  21. %global cmake_build %{__cmake} --build %{__cmake_builddir} --verbose --parallel $(nproc)
  22. %global cmake_install DESTDIR="%{buildroot}" %{__cmake} --install %{__cmake_builddir}
  23. %endif
  24. %if 0%{?amazon_linux} == 2
  25. %global __cmake /cmake/bin/cmake
  26. %global __cmake_builddir .
  27. %global cmake %{__cmake}
  28. %global cmake_build %{__cmake} --build %{__cmake_builddir} --verbose --parallel $(nproc)
  29. %global cmake_install DESTDIR="%{buildroot}" %{__cmake} --install %{__cmake_builddir}
  30. %endif
  31. # openSUSE requires us to explicity ask for ninja for builds.
  32. # We also need to specify the build directory since they do not.
  33. %if 0%{?suse_version}
  34. %global __builder ninja
  35. %global __cmake_builddir %{__builddir}
  36. %endif
  37. # Disable eBPF for architectures other than x86
  38. %ifarch x86_64 i386
  39. %global _have_ebpf 1
  40. %else
  41. %global _have_ebpf 0
  42. %endif
  43. # Mitigate the cross-distro mayhem by strictly defining the libexec destination
  44. %define _prefix /usr
  45. %define _sysconfdir /etc
  46. %define _localstatedir /var
  47. %define _libexecdir /usr/libexec
  48. %define _libdir /usr/lib
  49. %{!?_systemd_util_dir:%global _systemd_util_dir /usr/lib/systemd}
  50. # Fedora doesn’t define this, but other distros do
  51. %{!?_presetdir:%global _presetdir %{_libdir}/systemd/system-preset}
  52. # Redefine centos_ver to standardize on a single macro
  53. %{?rhel:%global centos_ver %rhel}
  54. # Disable FreeIPMI on Amazon Linux 2023 and newer
  55. %if 0%{?amzn} >= 2023
  56. %global _have_freeipmi 0
  57. %else
  58. %global _have_freeipmi 1
  59. %endif
  60. # Disable CUPS on old RHEL systems.
  61. %if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  62. %global _have_cups 1
  63. %else
  64. %global _have_cups 0
  65. %endif
  66. # Disable NFACCT for RHEL equivalents and Amazon Linux
  67. %if 0%{?centos_ver} || 0%{?amzn}
  68. %global _have_nfacct 0
  69. %else
  70. %global _have_nfacct 1
  71. %endif
  72. # Disable xenstat if we’re not on Fedora or openSUSE
  73. %if 0%{?suse_version} || 0%{?fedora}
  74. %if 0%{!?amzm:1}
  75. %global _have_xenstat 0
  76. %else
  77. %global _have_xenstat 1
  78. %endif
  79. %else
  80. %global _have_xenstat 0
  81. %endif
  82. # Skip MongoDB exporter on known problem platforms
  83. %if 0%{?oraclelinux} || 0%{?suse_version} || 0%{?amzn}
  84. %global _have_mongo_exporter 0
  85. %else
  86. %global _have_mongo_exporter 1
  87. %endif
  88. # log2journal can’t build on some systems
  89. %if 0%{?sle_version}
  90. %if %{sle_version} < 150600
  91. %global _have_log2journal 0
  92. %else
  93. %global _have_log2journal 1
  94. %endif
  95. %else
  96. %global _have_log2journal 1
  97. %endif
  98. # If ML hasn’t been explicitly disabled or enabled yet, enable it now.
  99. %if 0%{!?_have_ml:1}
  100. %global _have_ml 1
  101. %endif
  102. # Filter known bogus deps that would be caught by AutoReqProv.
  103. %global __requires_exclude_from ^%{_libdir}/%{name}/system/.*$
  104. Summary: Real-time performance monitoring, done right!
  105. Name: netdata
  106. Version: %{version}
  107. Release: 1%{?dist}
  108. License: GPLv3+
  109. Group: Applications/System
  110. Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
  111. URL: http://my-%{name}.io
  112. # Remove conflicting EPEL packages
  113. Obsoletes: %{name}-conf
  114. Obsoletes: %{name}-data
  115. # #####################################################################
  116. # Core build/install/runtime dependencies
  117. # #####################################################################
  118. # Build dependencies
  119. #
  120. BuildRequires: gcc
  121. BuildRequires: gcc-c++
  122. BuildRequires: make
  123. BuildRequires: git-core
  124. BuildRequires: cmake
  125. %if 0%{!?suse_version:1}
  126. BuildRequires: ninja-build
  127. %else
  128. BuildRequires: ninja
  129. %endif
  130. BuildRequires: pkgconfig
  131. BuildRequires: curl
  132. BuildRequires: findutils
  133. BuildRequires: pkgconfig(zlib)
  134. BuildRequires: pkgconfig(uuid)
  135. BuildRequires: pkgconfig(libuv)
  136. BuildRequires: pkgconfig(openssl)
  137. BuildRequires: pkgconfig(libcurl)
  138. BuildRequires: pkgconfig(liblz4)
  139. BuildRequires: pkgconfig(yaml-0.1)
  140. BuildRequires: pkgconfig(json-c)
  141. %if %{_have_log2journal}
  142. BuildRequires: pkgconfig(libpcre2-8)
  143. %endif
  144. %if 0%{?suse_version}
  145. BuildRequires: protobuf-devel
  146. BuildRequires: libprotobuf-c-devel
  147. %else
  148. %if 0%{?fedora}
  149. BuildRequires: protobuf-devel
  150. BuildRequires: protobuf-c-devel
  151. %else
  152. %if 0%{?centos_ver} >= 8
  153. BuildRequires: protobuf-devel
  154. BuildRequires: protobuf-c-devel
  155. %endif
  156. %endif
  157. %endif
  158. # Core build requirements for service install
  159. %if 0%{?suse_version}
  160. BuildRequires: systemd-rpm-macros
  161. %else
  162. BuildRequires: systemd
  163. %endif
  164. # Core requirements for the install to succeed
  165. Requires(pre): /usr/sbin/groupadd
  166. Requires(pre): /usr/sbin/useradd
  167. # #####################################################################
  168. # External plugin package dependencies
  169. # #####################################################################
  170. # CentOS prior to CentOS 8 does not have a new enough version of RPM
  171. # to support weak dependencies. Explicitly requiring our default plugins
  172. # makes it impossible to properly test the packages prior to upload,
  173. # so we just skip depending on them on CentOS 7.
  174. %if 0%{?_have_ebpf}
  175. Requires: %{name}-plugin-ebpf = %{version}
  176. %endif
  177. Requires: %{name}-plugin-apps = %{version}
  178. Requires: %{name}-plugin-pythond = %{version}
  179. Requires: %{name}-plugin-go = %{version}
  180. Requires: %{name}-plugin-debugfs = %{version}
  181. Requires: %{name}-plugin-chartsd = %{version}
  182. Requires: %{name}-plugin-slabinfo = %{version}
  183. Requires: %{name}-plugin-perf = %{version}
  184. %if %{_have_nfacct}
  185. Requires: %{name}-plugin-nfacct = %{version}
  186. %endif
  187. %if %{_have_xenstat}
  188. Suggests: %{name}-plugin-xenstat = %{version}
  189. %endif
  190. %if %{_have_freeipmi} && 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  191. Suggests: %{name}-plugin-freeipmi = %{version}
  192. %endif
  193. %if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  194. %if %{_have_cups}
  195. Suggests: %{name}-plugin-cups = %{version}
  196. %endif
  197. Recommends: %{name}-plugin-systemd-journal = %{version}
  198. Recommends: %{name}-plugin-network-viewer = %{version}
  199. Recommends: %{name}-plugin-logs-management = %{version}
  200. %else
  201. Requires: %{name}-plugin-systemd-journal = %{version}
  202. Requires: %{name}-plugin-network-viewer = %{version}
  203. %endif
  204. Obsoletes: %{name}-plugin-logs-management
  205. # #####################################################################
  206. # Functionality-dependent package dependencies
  207. # #####################################################################
  208. # Note: Some or all of the Packages may be found in the EPEL repo,
  209. # rather than the standard ones
  210. # epbf plugin dependencies
  211. %if %{_have_ebpf}
  212. BuildRequires: pkgconfig(libelf)
  213. %endif
  214. # end ebpf plugin dependencies
  215. # nfacct plugin dependencies
  216. %if %{_have_nfacct}
  217. BuildRequires: pkgconfig(libmnl)
  218. BuildRequires: pkgconfig(libnetfilter_acct)
  219. %endif
  220. # end nfacct plugin dependencies
  221. # freeipmi plugin dependencies
  222. %if %{_have_freeipmi}
  223. BuildRequires: pkgconfig(libipmimonitoring)
  224. %endif
  225. # end - freeipmi plugin dependencies
  226. # CUPS plugin dependencies
  227. %if %{_have_cups}
  228. BuildRequires: cups-devel
  229. %endif
  230. # end - cups plugin dependencies
  231. # go.d.plugin dependencies
  232. #
  233. # The conditional here is checking for a macro we define in our package
  234. # builders. If it’s defined, then we’ve injected an upstream copy of
  235. # the Go toolchain, so we don’t need the package installed (which
  236. # is needed because Go’s development model is at odds with enterprise
  237. # distro handling of versioning).
  238. %if %{?_upstream_go_toolchain:0}%{!?_upstream_go_toolchain:1}
  239. %if 0%{?suse_version}
  240. BuildRequires: go >= 1.22
  241. %else
  242. BuildRequires: golang >= 1.22
  243. %endif
  244. %endif
  245. # end - go.d.plugin plugin dependencies
  246. # systemd-journal dependencies
  247. BuildRequires: pkgconfig(libsystemd)
  248. # end - systemd-journal dependencies
  249. # Prometheus remote write dependencies
  250. %if 0%{?suse_version}
  251. BuildRequires: snappy-devel
  252. %else
  253. %if 0%{?centos_ver} != 7
  254. BuildRequires: pkgconfig(snappy)
  255. %else
  256. BuildRequires: snappy-devel
  257. %endif
  258. %endif
  259. # end - prometheus remote write dependencies
  260. # Xenstat dependencies
  261. %if %{_have_xenstat}
  262. BuildRequires: pkgconfig(xenstat)
  263. BuildRequires: pkgconfig(xenlight)
  264. %endif
  265. # end - xenstat dependencies
  266. # MongoDB exporter dependencies
  267. %if %{_have_mongo_exporter}
  268. BuildRequires: pkgconfig(libmongoc-1.0)
  269. %endif
  270. # end - mongodb expoerter dependencies
  271. # logs-management dependencies
  272. BuildRequires: bison
  273. BuildRequires: flex
  274. # end - logs-management dependencies
  275. # #####################################################################
  276. # End of dependency management configuration
  277. # #####################################################################
  278. %description
  279. netdata is the fastest way to visualize metrics. It is a resource
  280. efficient, highly optimized system for collecting and visualizing any
  281. type of realtime timeseries data, from CPU usage, disk activity, SQL
  282. queries, API calls, web site visitors, etc.
  283. netdata tries to visualize the truth of now, in its greatest detail,
  284. so that you can get insights of what is happening now and what just
  285. happened, on your systems and applications.
  286. %prep
  287. %setup -q -n "%{name}-%{version}"
  288. %build
  289. # Conf step
  290. %cmake -G Ninja \
  291. -DCMAKE_INSTALL_PREFIX=/ \
  292. %if 0%{?centos_ver:1}
  293. %if %{centos_ver} < 8
  294. -DUSE_CXX_11=On \
  295. %endif
  296. %endif
  297. %if %{_have_cups}
  298. -DENABLE_PLUGIN_CUPS=On \
  299. %else
  300. -DENABLE_PLUGIN_CUPS=Off \
  301. %endif
  302. %if %{_have_ebpf}
  303. -DENABLE_PLUGIN_EBPF=On \
  304. %if 0%{?centos_ver:1}
  305. %if 0%{?centos_ver} < 8
  306. -DFORCE_LEGACY_LIBBPF=On \
  307. %endif
  308. %endif
  309. %else
  310. -DENABLE_PLUGIN_EBPF=Off \
  311. %endif
  312. %if %{_have_freeipmi}
  313. -DENABLE_PLUGIN_FREEIPMI=On \
  314. %else
  315. -DENABLE_PLUGIN_FREEIPMI=Off \
  316. %endif
  317. %if %{_have_nfacct}
  318. -DENABLE_PLUGIN_NFACCT=On \
  319. %else
  320. -DENABLE_PLUGIN_NFACCT=Off \
  321. %endif
  322. %if %{_have_xenstat}
  323. -DENABLE_PLUGIN_XENSTAT=On \
  324. %else
  325. -DENABLE_PLUGIN_XENSTAT=Off \
  326. %endif
  327. %if 0%{?centos_ver:1}
  328. %if %{centos_ver} < 8
  329. -DENABLE_BUNDLED_PROTOBUF=On \
  330. %else
  331. -DENABLE_BUNDLED_PROTOBUF=Off \
  332. %endif
  333. %else
  334. %if 0%{?suse_version:1}
  335. -DENABLE_BUNDLED_PROTOBUF=On \
  336. %else
  337. -DENABLE_BUNDLED_PROTOBUF=Off \
  338. %endif
  339. %endif
  340. %if %{_have_ml}
  341. -DENABLE_ML=On \
  342. %else
  343. -DENABLE_ML=Off \
  344. %endif
  345. %if %{_have_mongo_exporter}
  346. -DENABLE_EXPORTER_MONGODB=On \
  347. %else
  348. -DENABLE_EXPORTER_MONGODB=Off \
  349. %endif
  350. -DENABLE_DBENGINE=On \
  351. -DENABLE_H2O=On \
  352. -DENABLE_PLUGIN_APPS=On \
  353. -DENABLE_PLUGIN_CGROUP_NETWORK=On \
  354. -DENABLE_PLUGIN_DEBUGFS=On \
  355. -DENABLE_PLUGIN_GO=On \
  356. -DENABLE_PLUGIN_LOCAL_LISTENERS=On \
  357. -DENABLE_PLUGIN_PERF=On \
  358. -DENABLE_PLUGIN_SLABINFO=On \
  359. -DENABLE_PLUGIN_SYSTEMD_JOURNAL=On \
  360. -DENABLE_EXPORTER_PROMETHEUS_REMOTE_WRITE=On \
  361. -DENABLE_BUNDLED_JSONC=Off \
  362. -DENABLE_BUNDLED_YAML=Off
  363. # Build step
  364. %{cmake_build}
  365. %install
  366. # ###########################################################
  367. # Clear the directory, if already exists and install
  368. rm -rf "${RPM_BUILD_ROOT}"
  369. %{cmake_install}
  370. install -m 644 -p "${RPM_BUILD_ROOT}%{_libdir}/%{name}/conf.d/%{name}.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
  371. install -m 644 -p "${RPM_BUILD_ROOT}%{_libdir}/%{name}/conf.d/%{name}-updater.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
  372. # ###########################################################
  373. # Install updater script
  374. install -m 755 -p packaging/installer/%{name}-updater.sh "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/%{name}-updater.sh"
  375. # ###########################################################
  376. # logrotate settings
  377. install -m 755 -d "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d"
  378. install -m 644 -p "%{__cmake_builddir}/system/logrotate/%{name}" "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}"
  379. # ###########################################################
  380. # Install cache and log directories
  381. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/cache/%{name}"
  382. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/log/%{name}"
  383. # ###########################################################
  384. # Install registry directory
  385. install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/lib/%{name}/registry"
  386. # ###########################################################
  387. # Install uninstaller script
  388. install -m 750 -p packaging/installer/%{name}-uninstaller.sh \
  389. "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/%{name}-uninstaller.sh"
  390. # ###########################################################
  391. # Install netdata service
  392. install -m 755 -d "${RPM_BUILD_ROOT}%{_unitdir}"
  393. %if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  394. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}.service" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service"
  395. %else
  396. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}.service.v235" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}.service"
  397. %endif
  398. install -m 644 -p "system/systemd/netdata-updater.timer" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}-updater.timer"
  399. install -m 644 -p "%{__cmake_builddir}/system/systemd/%{name}-updater.service" "${RPM_BUILD_ROOT}%{_unitdir}/%{name}-updater.service"
  400. install -m 755 -d "${RPM_BUILD_ROOT}%{_presetdir}"
  401. install -m 644 -p "system/systemd/50-%{name}.preset" "${RPM_BUILD_ROOT}%{_presetdir}/50-%{name}.preset"
  402. install -m 755 -d "${RPM_BUILD_ROOT}%{_systemd_util_dir}/journald@%{name}.conf.d"
  403. install -m 644 -p "system/systemd/journald@%{name}.conf" "${RPM_BUILD_ROOT}%{_systemd_util_dir}/journald@%{name}.conf.d/%{name}.conf"
  404. %pre
  405. if ! getent group %{name} > /dev/null; then
  406. groupadd --system %{name}
  407. fi
  408. if ! getent passwd %{name} > /dev/null; then
  409. useradd --system -g %{name} --home %{contentdir} --no-create-home -s /sbin/nologin -c "Netdata pseudo user" %{name}
  410. fi
  411. # I am not sure that the corresponding group names are exactly the same as in Debian, but we should start somewhere, shouldn't we?
  412. for item in docker nginx varnish haproxy adm nsd proxy squid ceph nobody I2C; do
  413. if getent group $item > /dev/null 2>&1; then
  414. usermod -a -G ${item} %{name}
  415. fi
  416. done
  417. %post
  418. %if 0%{?suse_version}
  419. %service_add_post %{name}.service
  420. %else
  421. %systemd_post %{name}.service
  422. %endif
  423. %preun
  424. %if 0%{?suse_version}
  425. %service_del_preun %{name}.service
  426. %else
  427. %systemd_preun %{name}.service
  428. %endif
  429. %postun
  430. %if 0%{?suse_version}
  431. %service_del_postun %{name}.service
  432. %else
  433. %systemd_postun_with_restart %{name}.service
  434. %endif
  435. %clean
  436. rm -rf "${RPM_BUILD_ROOT}"
  437. %files
  438. %doc README.md
  439. %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
  440. %config(noreplace) %{_sysconfdir}/%{name}/%{name}-updater.conf
  441. %attr(0755,root,netdata) %{_sysconfdir}/%{name}/edit-config
  442. %attr(0644,root,netdata) %{_sysconfdir}/%{name}/.install-type
  443. %dir %{_sysconfdir}/%{name}/health.d
  444. %dir %{_sysconfdir}/%{name}/statsd.d
  445. %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
  446. %{_libdir}/%{name}
  447. %{_sbindir}/%{name}
  448. %{_sbindir}/netdatacli
  449. %if %{_have_log2journal}
  450. %{_sbindir}/log2journal
  451. %endif
  452. %{_sbindir}/systemd-cat-native
  453. %{_sbindir}/%{name}-claim.sh
  454. %{_unitdir}/%{name}.service
  455. %{_unitdir}/%{name}-updater.timer
  456. %{_unitdir}/%{name}-updater.service
  457. %{_presetdir}/50-%{name}.preset
  458. %{_systemd_util_dir}/journald@%{name}.conf.d/%{name}.conf
  459. %dir %{_libexecdir}/%{name}
  460. %dir %{_libexecdir}/%{name}/plugins.d
  461. %defattr(0750,root,netdata,0750)
  462. %{_libexecdir}/%{name}/install-service.sh
  463. %{_libexecdir}/%{name}/%{name}-updater.sh
  464. %{_libexecdir}/%{name}/%{name}-uninstaller.sh
  465. %{_libexecdir}/%{name}/plugins.d/alarm-notify.sh
  466. %{_libexecdir}/%{name}/plugins.d/anonymous-statistics.sh
  467. %{_libexecdir}/%{name}/plugins.d/cgroup-name.sh
  468. %{_libexecdir}/%{name}/plugins.d/get-kubernetes-labels.sh
  469. %{_libexecdir}/%{name}/plugins.d/ioping.plugin
  470. %{_libexecdir}/%{name}/plugins.d/loopsleepms.sh.inc
  471. %{_libexecdir}/%{name}/plugins.d/system-info.sh
  472. %{_libexecdir}/%{name}/plugins.d/tc-qos-helper.sh
  473. # cgroup-network detects the network interfaces of CGROUPs
  474. # it must be able to use setns() and run cgroup-network-helper.sh as root
  475. # the helper script reads /proc/PID/fdinfo/* files, runs virsh, etc.
  476. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network
  477. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cgroup-network-helper.sh
  478. # local-listeners detects the local processes that are listening for connections
  479. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/local-listeners
  480. # network-viewer.plugin, detects all system sockets and classifies them
  481. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  482. # ndsudo a helper to run privileged commands
  483. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/ndsudo
  484. # Enforce 0644 for files and 0755 for directories
  485. # for the netdata web directory
  486. %defattr(0644,root,root,0755)
  487. %{_datadir}/%{name}/web
  488. # Enforce 0660 for files and 0770 for directories
  489. # for the netdata lib, cache and log dirs
  490. %defattr(0660,root,netdata,0770)
  491. %attr(0770,netdata,netdata) %dir %{_localstatedir}/cache/%{name}
  492. %attr(0755,netdata,root) %dir %{_localstatedir}/log/%{name}
  493. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}
  494. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/registry
  495. %attr(0770,netdata,netdata) %dir %{_localstatedir}/lib/%{name}/cloud.d
  496. # Free IPMI belongs to a different sub-package
  497. %if %{_have_freeipmi}
  498. %exclude %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  499. %endif
  500. # NFACCT belongs to a different sub-package
  501. %if %{_have_nfacct}
  502. %exclude %{_libexecdir}/%{name}/plugins.d/nfacct.plugin
  503. %endif
  504. # Charts.d belongs to a different sub-package
  505. %exclude %{_libexecdir}/%{name}/plugins.d/charts.d.plugin
  506. %exclude %{_libexecdir}/%{name}/plugins.d/charts.d.dryrun-helper.sh
  507. %exclude %{_libexecdir}/%{name}/charts.d/
  508. %exclude %{_libdir}/%{name}/conf.d/charts.d.conf
  509. %exclude %{_libdir}/%{name}/conf.d/charts.d/
  510. # eBPF belongs to a different sub-package
  511. %if %{_have_ebpf}
  512. %exclude %{_libexecdir}/%{name}/plugins.d/ebpf.plugin
  513. %exclude %{_libdir}/%{name}/conf.d/ebpf.d.conf
  514. %exclude %{_libdir}/%{name}/conf.d/ebpf.d
  515. %exclude %{_libexecdir}/%{name}/plugins.d/ebpf.d
  516. %endif
  517. # Python.d belongs to a different sub-package
  518. %exclude %{_libexecdir}/%{name}/plugins.d/python.d.plugin
  519. %exclude %{_libexecdir}/%{name}/python.d
  520. %exclude %{_libdir}/%{name}/conf.d/python.d.conf
  521. %exclude %{_libdir}/%{name}/conf.d/python.d
  522. # Go.d belongs to a different sub-package
  523. %exclude %{_libexecdir}/%{name}/plugins.d/go.d.plugin
  524. %exclude %{_libdir}/%{name}/conf.d/go.d.conf
  525. %exclude %{_libdir}/%{name}/conf.d/go.d
  526. # apps belongs to a different sub-package
  527. %exclude %{_libexecdir}/%{name}/plugins.d/apps.plugin
  528. %exclude %{_libdir}/%{name}/conf.d/apps_groups.conf
  529. # slabinfo belongs to a different sub-package
  530. %exclude %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  531. # perf belongs to a different sub-package
  532. %exclude %{_libexecdir}/%{name}/plugins.d/perf.plugin
  533. # systemd-journal belongs to a different sub-package
  534. %exclude %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
  535. # xenstat belongs to a different sub-package
  536. %exclude %{_libexecdir}/%{name}/plugins.d/xenstat.plugin
  537. # Network viewer belongs to a different sub-package
  538. %exclude %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  539. # CUPS belongs to a different sub package
  540. %if %{_have_cups}
  541. %exclude %{_libexecdir}/%{name}/plugins.d/cups.plugin
  542. %package plugin-cups
  543. Summary: The CUPS metrics collection plugin for the Netdata Agent
  544. Group: Applications/System
  545. Requires: %{name} = %{version}
  546. %description plugin-cups
  547. This plugin allows the Netdata Agent to collect metrics from the Common UNIX Printing System.
  548. %pre plugin-cups
  549. if ! getent group %{name} > /dev/null; then
  550. groupadd --system %{name}
  551. fi
  552. %files plugin-cups
  553. %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/cups.plugin
  554. %endif
  555. %if 0%{?_have_freeipmi}
  556. %package plugin-freeipmi
  557. Summary: The FreeIPMI metrics collection plugin for the Netdata Agent
  558. Group: Applications/System
  559. Requires: freeipmi
  560. Requires: %{name} = %{version}
  561. %description plugin-freeipmi
  562. This plugin allows the Netdata Agent to collect metrics from hardware using FreeIPMI.
  563. %pre plugin-freeipmi
  564. if ! getent group %{name} > /dev/null; then
  565. groupadd --system %{name}
  566. fi
  567. %files plugin-freeipmi
  568. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
  569. %endif
  570. %if %{_have_nfacct}
  571. %package plugin-nfacct
  572. Summary: The NFACCT metrics collection plugin for the Netdata Agent
  573. Group: Applications/System
  574. Requires: %{name} = %{version}
  575. Conflicts: %{name} < %{version}
  576. %description plugin-nfacct
  577. This plugin allows the Netdata Agent to collect metrics from the firewall using NFACCT objects.
  578. %pre plugin-nfacct
  579. if ! getent group %{name} > /dev/null; then
  580. groupadd --system %{name}
  581. fi
  582. %files plugin-nfacct
  583. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/nfacct.plugin
  584. %endif
  585. %package plugin-chartsd
  586. Summary: The charts.d metrics collection plugin for the Netdata Agent
  587. Group: Applications/System
  588. Requires: bash
  589. Requires: %{name} = %{version}
  590. Conflicts: %{name} < %{version}
  591. %if 0%{?centos_ver} != 7
  592. Suggests: apcupsd
  593. Suggests: iw
  594. Suggests: sudo
  595. %endif
  596. %description plugin-chartsd
  597. This plugin adds a selection of additional collectors written in shell script to the Netdata Agent.
  598. It includes collectors for APCUPSD, LibreSWAN, OpenSIPS, and Wireless access point statistics.
  599. %pre plugin-chartsd
  600. if ! getent group %{name} > /dev/null; then
  601. groupadd --system %{name}
  602. fi
  603. %files plugin-chartsd
  604. %defattr(0750,root,netdata,0750)
  605. %{_libexecdir}/%{name}/plugins.d/charts.d.plugin
  606. %{_libexecdir}/%{name}/plugins.d/charts.d.dryrun-helper.sh
  607. %{_libexecdir}/%{name}/charts.d/
  608. %defattr(0644,root,netdata,0755)
  609. %{_libdir}/%{name}/conf.d/charts.d.conf
  610. %{_libdir}/%{name}/conf.d/charts.d/
  611. %if 0%{?_have_ebpf}
  612. %package plugin-ebpf
  613. Summary: The eBPF metrics collection plugin for the Netdata Agent
  614. Group: Applications/System
  615. Requires: %{name} = %{version}
  616. Conflicts: %{name} < %{version}
  617. %if 0%{?centos_ver} != 7
  618. Recommends: %{name}-plugin-apps = %{version}
  619. Recommends: %{name}-ebpf-legacy-code >= %{version}
  620. %else
  621. Requires: %{name}-plugin-apps = %{version}
  622. Requires: %{name}-ebpf-legacy-code >= %{version}
  623. %endif
  624. %description plugin-ebpf
  625. This plugin allows the Netdata Agent to use eBPF code to collect more detailed kernel-level metrics for the system.
  626. %pre plugin-ebpf
  627. if ! getent group %{name} > /dev/null; then
  628. groupadd --system %{name}
  629. fi
  630. %files plugin-ebpf
  631. %defattr(4750,root,netdata,4750)
  632. %{_libexecdir}/%{name}/plugins.d/ebpf.plugin
  633. %defattr(0644,root,netdata,0755)
  634. %{_libdir}/%{name}/conf.d/ebpf.d.conf
  635. %{_libdir}/%{name}/conf.d/ebpf.d
  636. %package ebpf-legacy-code
  637. Summary: Compiled eBPF legacy code for the Netdata eBPF plugin
  638. Group: Applications/System
  639. Requires: %{name}-plugin-ebpf = %{version}
  640. Conflicts: %{name} < %{version}
  641. %description ebpf-legacy-code
  642. This package provides the pre-compiled eBPF legacy code for use by the Netdata eBPF plugin.
  643. This code is only needed when using the eBPF plugin with kernel versions before 5.10.
  644. %pre ebpf-legacy-code
  645. if ! getent group %{name} > /dev/null; then
  646. groupadd --system %{name}
  647. fi
  648. %files ebpf-legacy-code
  649. %defattr(0640,root,netdata,0640)
  650. %{_libexecdir}/%{name}/plugins.d/ebpf.d/*.o
  651. %endif
  652. %package plugin-pythond
  653. Summary: The python.d metrics collection plugin for the Netdata Agent
  654. Group: Applications/System
  655. Requires: %{name} = %{version}
  656. Conflicts: %{name} < %{version}
  657. %if 0%{?centos_ver} == 7 || 0%{?centos_ver} == 6
  658. Requires: python
  659. %else
  660. Requires: python3
  661. %endif
  662. %if 0%{?centos_ver} != 7
  663. Suggests: sudo
  664. %endif
  665. %description plugin-pythond
  666. This plugin adds a selection of additional collectors written in Python to the Netdata Agent.
  667. Many of the collectors provided by this package are also available in netdata-plugin-go. In msot cases, you probably
  668. want to use those versions instead of the Python versions.
  669. %pre plugin-pythond
  670. if ! getent group %{name} > /dev/null; then
  671. groupadd --system %{name}
  672. fi
  673. %files plugin-pythond
  674. %defattr(0750,root,netdata,0750)
  675. %{_libexecdir}/%{name}/plugins.d/python.d.plugin
  676. %{_libexecdir}/%{name}/python.d
  677. %defattr(0644,root,netdata,0755)
  678. %{_libdir}/%{name}/conf.d/python.d.conf
  679. %{_libdir}/%{name}/conf.d/python.d
  680. %package plugin-go
  681. Summary: The go.d metrics collection plugin for the Netdata Agent
  682. Group: Applications/System
  683. Requires: %{name} = %{version}
  684. Conflicts: %{name} < %{version}
  685. %if 0%{?centos_ver} != 7
  686. Suggests: nvme-cli
  687. Suggests: sudo
  688. %endif
  689. %if 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
  690. Recommends: lm_sensors
  691. %endif
  692. %description plugin-go
  693. This plugin adds a selection of additional collectors written in Go to the Netdata Agent
  694. A significant percentage of the application specific collectors provided by Netdata are part of this plugin,
  695. so most users will want it installed.
  696. %pre plugin-go
  697. if ! getent group %{name} > /dev/null; then
  698. groupadd --system %{name}
  699. fi
  700. %files plugin-go
  701. %defattr(0750,root,netdata,0750)
  702. # CAP_NET_ADMIN needed for WireGuard collector
  703. # CAP_NET_RAW needed for ping collector
  704. %caps(cap_dac_read_search,cap_net_admin,cap_net_raw=eip) %{_libexecdir}/%{name}/plugins.d/go.d.plugin
  705. %defattr(0644,root,netdata,0755)
  706. %{_libdir}/%{name}/conf.d/go.d.conf
  707. %{_libdir}/%{name}/conf.d/go.d
  708. %package plugin-apps
  709. Summary: The per-application metrics collection plugin for the Netdata Agent
  710. Group: Applications/System
  711. Requires: %{name} = %{version}
  712. Conflicts: %{name} < %{version}
  713. %description plugin-apps
  714. This plugin allows the Netdata Agent to collect per-application and per-user metrics without using cgroups.
  715. %pre plugin-apps
  716. if ! getent group %{name} > /dev/null; then
  717. groupadd --system %{name}
  718. fi
  719. %files plugin-apps
  720. %defattr(0750,root,netdata,0750)
  721. # CAP_DAC_READ_SEARCH and CAP_SYS_PTRACE needed for data collection by the plugin.
  722. %caps(cap_dac_read_search,cap_sys_ptrace=ep) %{_libexecdir}/%{name}/plugins.d/apps.plugin
  723. %defattr(0644,root,netdata,0755)
  724. %{_libdir}/%{name}/conf.d/apps_groups.conf
  725. %package plugin-slabinfo
  726. Summary: The slabinfo metrics collector for the Netdata Agent
  727. Group: Applications/System
  728. Requires: %{name} = %{version}
  729. Conflicts: %{name} < %{version}
  730. %description plugin-slabinfo
  731. This plugin allows the Netdata Agent to collect perfromance and utilization metrics for the Linux kernel’s SLAB allocator.
  732. %pre plugin-slabinfo
  733. if ! getent group %{name} > /dev/null; then
  734. groupadd --system %{name}
  735. fi
  736. %files plugin-slabinfo
  737. %defattr(0750,root,netdata,0750)
  738. # CAP_DAC_READ_SEARCH needed to access the files the plugin reads to collect data.
  739. %caps(cap_dac_read_search=ep) %{_libexecdir}/%{name}/plugins.d/slabinfo.plugin
  740. %package plugin-perf
  741. Summary: The perf metrics collector for the Netdata Agent
  742. Group: Applications/System
  743. Requires: %{name} = %{version}
  744. Conflicts: %{name} < %{version}
  745. %description plugin-perf
  746. This plugin allows the Netdata to collect metrics from the Linux perf subsystem.
  747. %pre plugin-perf
  748. if ! getent group %{name} > /dev/null; then
  749. groupadd --system %{name}
  750. fi
  751. %files plugin-perf
  752. %defattr(0750,root,netdata,0750)
  753. # Either CAP_SYS_ADMIN or CAP_PERFMON needed for data collection
  754. # PERFMON is newer, so only try to use it on platforms which support it.
  755. %if 0%{?centos_ver} >= 9 || 0%{?fedora} >= 36
  756. %caps(cap_perfmon=ep) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  757. %else
  758. %caps(cap_sys_admin=ep) %{_libexecdir}/%{name}/plugins.d/perf.plugin
  759. %endif
  760. %package plugin-debugfs
  761. Summary: The debugfs metrics collector for the Netdata Agent
  762. Group: Applications/System
  763. Requires: %{name} = %{version}
  764. Conflicts: %{name} < %{version}
  765. %description plugin-debugfs
  766. This plugin allows the Netdata Agent to collect Linux kernel metrics exposed through debugfs.
  767. %pre plugin-debugfs
  768. if ! getent group %{name} > /dev/null; then
  769. groupadd --system %{name}
  770. fi
  771. %files plugin-debugfs
  772. %defattr(0750,root,netdata,0750)
  773. # CAP_DAC_READ_SEARCH required for data collection.
  774. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/debugfs.plugin
  775. %package plugin-systemd-journal
  776. Summary: The systemd-journal plugin for the Netdata Agent
  777. Group: Applications/System
  778. Requires: %{name} = %{version}
  779. Conflicts: %{name} < %{version}
  780. %description plugin-systemd-journal
  781. This plugin allows the Netdata Agent to present entries from the systemd
  782. journal on Netdata Cloud or the local Agent Dashboard.
  783. %pre plugin-systemd-journal
  784. if ! getent group %{name} > /dev/null; then
  785. groupadd --system %{name}
  786. fi
  787. %files plugin-systemd-journal
  788. %defattr(0750,root,netdata,0750)
  789. # CAP_DAC_READ_SEARCH required for data collection.
  790. %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
  791. %if %{_have_xenstat}
  792. %package plugin-xenstat
  793. Summary: The xenstat plugin for the Netdata Agent
  794. Group: Applications/System
  795. Requires: %{name} = %{version}
  796. Conflicts: %{name} < %{version}
  797. %description plugin-xenstat
  798. This plugin allows Netdata to collect metrics from the Xen Hypervisor.
  799. %pre plugin-xenstat
  800. if ! getent group %{name} > /dev/null; then
  801. groupadd --system %{name}
  802. fi
  803. %files plugin-xenstat
  804. %defattr(0750,root,netdata,0750)
  805. # SUID needed for data collection
  806. %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/xenstat.plugin
  807. %endif
  808. %package plugin-network-viewer
  809. Summary: The network viewer plugin for the Netdata Agent
  810. Group: Applications/System
  811. Requires: %{name} = %{version}
  812. Conflicts: %{name} < %{version}
  813. %if 0%{?_have_ebpf}
  814. %if 0%{?centos_ver} != 7
  815. Recommends: %{name}-plugin-ebpf = %{version}
  816. %else
  817. Requires: %{name}-plugin-ebpf = %{version}
  818. %endif
  819. %endif
  820. %description plugin-network-viewer
  821. This plugin allows the Netdata Agent to provide network connection
  822. mapping functionality for use in netdata Cloud.
  823. %pre plugin-network-viewer
  824. if ! getent group %{name} > /dev/null; then
  825. groupadd --system %{name}
  826. fi
  827. %files plugin-network-viewer
  828. %defattr(0750,root,netdata,0750)
  829. # CAP_SYS_ADMIN, CAP_SYS_PTRACE and CAP_DAC_READ_SEARCH needed for data collection.
  830. %caps(cap_sys_admin,cap_sys_ptrace,cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/network-viewer.plugin
  831. %changelog
  832. * Fri Jul 19 2024 Austin Hemmelgarn <austin@netdata.cloud>
  833. - Fix dependency issues with old logs-management plugin
  834. * Tue Jul 16 2024 Austin Hemmelgarn <austin@netdata.cloud>
  835. - Removed logs-management plugin
  836. * Wed Jul 03 2024 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-26
  837. - Added lm_sensors as weak dependency for plugin-go package
  838. * Tue Feb 06 2024 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-25
  839. - Add package for network-viewer plugin
  840. * Thu Oct 26 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-24
  841. - Add package for logs-management plugin
  842. * Tue Sep 19 2023 Austin hemmelgarn <austin@netdata.cloud> 0.0.0-24
  843. - Switch to using cmake for builds.
  844. * Mon Aug 28 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-23
  845. - Build go.d.plugin natively for CentOS Stream distro
  846. * Mon Aug 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-22
  847. - Explicitly depend on version-matched plugins in native packages
  848. * Thu Aug 03 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-21
  849. - Added systemd-journal plugin handling
  850. * Wed Jun 14 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-20
  851. - Added eBPF build dependency (again)
  852. * Fri Apr 07 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-19
  853. - Split additional plugins out in their own packages.
  854. * Tue Mar 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-18
  855. - Fix systemd handling to follow BCP.
  856. - Drop pre-systemd init support.
  857. * Thu Feb 16 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-17
  858. - Added eBPF build dependency
  859. * Thu Feb 03 2022 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-16
  860. - Bundle updater script in native packages.
  861. * Mon Oct 11 2021 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-15
  862. - Remove support code for legacy ACLK implementation.
  863. * Wed Sep 16 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-14
  864. - Convert to using 'AutoReq: yes' for library dependencies.
  865. * Thu Feb 13 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-13
  866. - Add handling for custom libmosquitto fork
  867. * Wed Jan 01 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-12
  868. - Add explicit installation of log and cache directories
  869. - Clean up build dependencies.
  870. * Thu Dec 19 2019 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-11
  871. - Fix remaining ownership and permissions issues.
  872. * Mon Nov 04 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-10
  873. - Fix /etc/netdata permissions
  874. * Mon Sep 23 2019 Konstantinos Natsakis <konstantinos.natsakis@gmail.com> 0.0.0-9
  875. - Do not build CUPS plugin subpackage on CentOS 6 and CentOS 7
  876. * Tue Aug 20 2019 Pavlos Emm. Katsoulakis <paul@netdat.acloud> - 0.0.0-8
  877. - Split CUPS functionality on separate package
  878. * Fri Jun 28 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-7
  879. - Raise the path overrides to the spec file level, not just the configure.
  880. - Adjust tighter permissions on some folders, based on what we did on our installer
  881. - Introduce go.d plugin download and install, to include it on the package (Temporarily, to become separate package on next iteration)
  882. * Tue Jun 25 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-6
  883. - Adjust dependency list: Some packages are missing on some distros, adopt to build successfully
  884. * Mon Jun 24 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-5
  885. Another pass on cleaning up pre/post installation steps
  886. - Sync permission and ownership on files and directories
  887. * Sun Jun 16 2019 Pavlos Emm. Katsoulakis <paul@netdata.cloud> - 0.0.0-4
  888. First draft refactor on package dependencies section
  889. - Remove freeipmi/nfacct plugin flags. We auto-detect all plugins by decision
  890. - Start refactor of package dependencies
  891. - Add missing dependencies, with respect to distro peculiarities
  892. - Adjust existing dependencies, so that distro-specific package names is applied
  893. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-3
  894. - Temporary set version statically
  895. - Fix changelog ordering
  896. - Comment-out node.d configuration directory
  897. * Wed Jan 02 2019 Pawel Krupa <pkrupa@redhat.com> - 0.0.0-2
  898. - Fix permissions for log files
  899. * Sun Nov 15 2015 Alon Bar-Lev <alonbl@redhat.com> - 0.0.0-1
  900. - Initial add.