Comment # 35 on bug 4393 from
(In reply to Antonio Trande from comment #34)
> - There something wrong after installing zoneminder: 'rpmlint' does not
> finish its checks:
> 
> $ rpmlint -v zoneminder
> zoneminder.x86_64: I: checking
> zoneminder.x86_64: E: explicit-lib-dependency libjpeg-turbo
> zoneminder.x86_64: I: checking-url http://www.zoneminder.com/ (timeout 10
> seconds)
> zoneminder.x86_64: E: non-readable /etc/zm/zm.conf 640
> ...
> ...
> 
> - /etc/zm/zm.conf is not readable.
> 
> - 

The zm.conf file contains sensitive information, so it is by design this config
file can only be read by root and the web account user. 

However, I would not expect this to cause rpmlint to not finish. I can't
duplicate this on my end, and I'm running rpmlint as a normal user. 

While rpmlint does product a lot of output, which we can certainly talk about,
it fully completes for me. This was on F25. I can upgrade to F26 and try again.
I'm not sure what else to try.

> >
> # Create and load zoneminder selinux policy module
> echo -e "\nCreating and installing a ZoneMinder SELinux policy module.
> Please wait.\n"
> %{_bindir}/checkmodule -M -m -o
> %{_docdir}/%{name}-%{version}/local_zoneminder.mod
> %{_docdir}/%{name}-%{version}/local_zoneminder.te > /dev/null 2>&1 || :
> %{_bindir}/semodule_package -o
> %{_docdir}/%{name}-%{version}/local_zoneminder.pp -m
> %{_docdir}/%{name}-%{version}/local_zoneminder.mod > /dev/null 2>&1 || :
> %{_sbindir}/semodule -i %{_docdir}/%{name}-%{version}/local_zoneminder.pp >
> /dev/null 2>&1 || :
> >
> 
> I dont know if adding custom SELinux module by RPMs is permitted on Fedora.
> Have you ever ask about that in the devel mailing list?

The custom selinux module is only built for el6, and I have recently decided
that I no longer intend to build zoneminder for el6 in rpmfusion. There are
several reasons why I made this decision, but for the sake of staying on topic
I won't list them here.

el7 & fedora distros do not contain this custom module nor the source files the
module is built from.

For the near future, I intend to continue to maintain zoneminder on el6 in my
own repo, zmrepo. Consequently, I'd like to keep this bit of code in the spec
file for now. I hope this is acceptable. I can add additional comments to the
specfile to state this intention if that would be an acceptable compromise.


You are receiving this mail because: