Comment # 12 on bug 4393 from
(In reply to Andrew Bauer from comment #9)
> (In reply to Damian Wrobel from comment #8)
> > 
> > 2) Missing directory for pid file:
> > Creating /var/run/zoneminer directory accessible for httpd daemon solved it.
> > 
> 
> ZoneMinder uses tmpfiles.d to create the runtime folder. It should have
> happened automatically during package installation. Perhaps the command to
> force tmpfiles.d to update immediately w/o reboot went missing from %post. I
> can look.
> 

It practise it doesn't work without /var/run/zoneminder directory:

a) remove existing directory (the one that I had to manually create):

# systemctl stop zoneminder
# mv /var/run/zoneminder /var/run/zoneminder.orig
# systemctl start zoneminer
Job for zoneminder.service failed because the control process exited with error
code.
See "systemctl status zoneminder.service" and "journalctl -xe" for details.
# journalctl -b | grep zmpkg | tail -n 1
Jan 02 18:53:39 dw zmpkg[11411]: FAT [Can't create missing temporary directory
'/var/run/zoneminder': Permission denied]

b) restore missing directory:

# mv /var/run/zoneminder.orig /var/run/zoneminder
# systemctl start zoneminer
# journalctl -b | grep zmpkg  | tail -n 3
Jan 02 18:57:46 dw zmpkg[12604]: INF [Sanity checking States table...]
Jan 02 18:57:46 dw zmpkg[12604]: INF [Command: start]
Jan 02 18:57:50 dw zmpkg[12604]: INF [Single server configuration detected.
Starting up services.]


>Is your entire build output available for viewing anywhere?
Unfortunately I don't have it. I've just used:

$ dnf builddeb to get list of dependencies + created on my own the two missing
perl packages (those ones from zmrepo seemed to be broken - they also misses
perl-generators):

-
https://dwrobel.fedorapeople.org/projects/rpmbuild/SRPMS/perl-Astro-SunTime-0.01-1.fc25.src.rpm
-
https://dwrobel.fedorapeople.org/projects/rpmbuild/SRPMS/perl-X10-0.03-1.fc25.src.rpm

I'll try to submit them for fedora, if time permits.


You are receiving this mail because: