Bug 1255933 - Zoneminder does not start at boot time
Summary: Zoneminder does not start at boot time
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: zoneminder
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Charles R. Anderson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-22 01:38 UTC by Derek Atkins
Modified: 2016-07-19 19:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 19:56:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Derek Atkins 2015-08-22 01:38:06 UTC
Description of problem:

Zoneminder would not start at boot time.  Once the system is up and running I can run "systemctl start zoneminder.service" and it starts just fine, but during the boot up sequence it does not start.  This is due to zoneminder (at least in my configuration) requiring network to be up and running before it will work.

Version-Release number of selected component (if applicable):
zoneminder-1.25.0-20.fc22.x86_64

How reproducible:
100%

Steps to Reproduce:
1. set up mysql on a remote system
2. configure zm.conf to use the remote-system mysql
3. set up zoneminder to boot (systemctl enable zoneminder.service)
4. reboot
5. log in and systemctl status -l zoneminder

Actual results:
The app crashes in Zoneminder/Config.pm  (unfortunately I don't have the error message anymore becuase I have a proposed fix).

Expected results:
Zoneminder should start up.

Additional info:

I fixed this by pulling an explicit dependency on network-online.target into /usr/lib/systemd/system/zoneminder.service:

[Unit]
Description=...
After=network.target network-online.target
Wants=network-online.target


With this change zoneminder now works properly.

Comment 1 Fedora End Of Life 2016-07-19 19:56:00 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.