Bug 713432

Summary: And (auto nice deamon) never starts under systemd; with patch
Product: [Fedora] Fedora Reporter: Bert DeKnuydt <Bert.Deknuydt>
Component: andAssignee: Jochen Schmitt <jochen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: jochen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: and-1.2.2-13.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-12 21:56:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bert DeKnuydt 2011-06-15 12:41:38 UTC
Description of problem:

The file '/lib/systemd/system/and.service' is broken, so that 'and' 
   1) does not read its /etc/sysconfig/and file, and
   2) immediately exits (forks, but doesn't tell systemd it does so)

Version-Release number of selected component (if applicable):

and-1.2.2-12.fc15.i686

How reproducible:

Always

Steps to Reproduce:
1. Install and
2. Boot
3. See with e.g. "ps -ef | grep and " that there is NO and daemon running
  
Actual results:

No 'and' running'

Expected results:

An 'and' running with flags picked up from /etc/sysconfig/and

Additional info:

Suggested patch:

'/lib/systemd/system/and.service' should e.g. look like:

[Unit]
Description=Auto nice daemon
After=syslog.target

[Service]
EnvironmentFile=/etc/sysconfig/and
ExecStart=/usr/sbin/and $AND_FLAGS
Type=forking

[Install]
WantedBy=multi-user.target

Comment 1 Fedora Update System 2011-06-15 19:41:44 UTC
and-1.2.2-13.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/and-1.2.2-13.fc15

Comment 2 Fedora Update System 2011-06-15 23:53:31 UTC
Package and-1.2.2-13.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing and-1.2.2-13.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/and-1.2.2-13.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-07-12 21:56:47 UTC
and-1.2.2-13.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.