Bug 868417 - Wrong setting in systemd unit, or wrong config
Summary: Wrong setting in systemd unit, or wrong config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mcollective
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Traylen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-19 19:00 UTC by Michael S.
Modified: 2013-09-02 18:07 UTC (History)
1 user (show)

Fixed In Version: mcollective-2.2.3-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-18 21:33:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael S. 2012-10-19 19:00:10 UTC
Mcollective do not start after installation.

Either daemonize should be set to 1 in /etc/mcollective/server.cfg and client.cfg, or the type should be set to Type=simple. 

However, it seems to have already a issue, since this was modified on 
f94ae5c431247e6d5ebb14fb4c708c9949d90e3f. Either the upstream default was changed ( likely ), and then we should fix the configuration ( like making sure daemonize is set to 1 ). This could be done with perl or augeas.

Comment 1 Steve Traylen 2013-04-17 08:08:53 UTC
I can't remember why now but I have in the .spec file

%if 0%{?rhel}
%{__sed} -i -e 's/^daemonize = .*$/daemonize = 1/' etc/server.cfg.dist
%endif
%if 0%{?fedora} >= 18
%{__sed} -i -e 's/^daemonize = .*$/daemonize = 0/' etc/server.cfg.dist
%endif

i.e daemonize for SysV but not for systemd. This is the default in the supplied configuration so we stick with that.

Comment 2 Fedora Update System 2013-04-17 11:01:30 UTC
mcollective-2.2.3-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mcollective-2.2.3-1.el6

Comment 3 Fedora Update System 2013-04-17 11:01:58 UTC
mcollective-2.2.3-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mcollective-2.2.3-1.fc19

Comment 4 Fedora Update System 2013-04-17 16:24:44 UTC
Package mcollective-2.2.3-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mcollective-2.2.3-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5875/mcollective-2.2.3-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-08-18 21:33:38 UTC
mcollective-2.2.3-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-09-02 18:07:19 UTC
mcollective-2.2.3-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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