https://bugzilla.redhat.com/show_bug.cgi?id=1043158
Bug ID: 1043158 Summary: zookeeper-server service silently fails while starting on FC20 Product: Fedora Version: 20 Component: zookeeper Assignee: tstclair@redhat.com Reporter: rudcy@broadbandninja.com QA Contact: extras-qa@fedoraproject.org CC: java-sig-commits@lists.fedoraproject.org, jeff@ocjtech.us, skottler@redhat.com, tstclair@redhat.com
Description of problem: zookeeper-server on fc20 silently fails to start after a fresh install due to unit file precondition on missing file .
Version-Release number of selected component (if applicable):
zookeeper-server-3.4.5-12.fc20.noarch
Steps to Reproduce: 1. Fresh install of fc20 2. install zookeeper-server (and zookeeper?) 3. sudo cp /etc/zoo-sample.cfg /etc/zoo.cfg 4. sudo systemctl start zookeeper 5. journalctl -f shows: ``` Dec 14 14:18:32 localhost.localdomain systemd[1]: Started Apache ZooKeeper.
```
Actual results: The service has aborted when trying to start, the errors it reported are not logged to the journal nor /var/log/zookeeper/*
Expected results: the service should be running, or log an error to the journal.
Additional info: ``` % cat /usr/lib/systemd/system/zookeeper.service ... ConditionPathExists=/var/lib/zookeeper/data/myid ```
Creating /var/lib/zookeeper/data/myid and chowning it over to zookeeper makes the next restart "stick" and zookeeper then logs to the journal (too verbosely, btw).
I've found nothing on setting up zookeeper-server on fedora on google, but I'm new here, I may have missed it. So no docs on what is myid or what's it for, zookeeper runs fine without it if it's launched manually.