Bug 784235

Summary: amd immediately exits after starting with systemd
Product: [Fedora] Fedora Reporter: Norman Gaywood <ngaywood>
Component: am-utilsAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: kzak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: am-utils-6.1.5-20.1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-02 17:29:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Norman Gaywood 2012-01-24 11:21:46 UTC
Description of problem:

As configured with systemd, amd will immediately exit after starting.


How reproducible: always


Steps to Reproduce:
1. yum install am-utils
2. systemctl enable amd.service
3. systemctl start amd.service

  
Actual results:

Wait a few seconds and:

systemctl status amd.service
amd.service - automount daemon that mounts devices and NFS hosts on demand
	  Loaded: loaded (/lib/systemd/system/amd.service; enabled)
	  Active: failed since Tue, 24 Jan 2012 22:19:47 +1100; 42s ago
	 Process: 5383 ExecStart=/usr/sbin/amd -F /etc/amd.conf $AMDOPTS $OPTIONS $MOUNTPTS (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/amd.service




Expected results:

amd should continue to run.

Comment 1 Norman Gaywood 2012-01-24 11:24:55 UTC
Adding:

Type=forking

to the [Service] section of /lib/systemd/system/amd.service fixed it for me.

Comment 2 Fedora Update System 2012-01-24 13:32:11 UTC
am-utils-6.1.5-20.1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/am-utils-6.1.5-20.1.fc16

Comment 3 Fedora Update System 2012-01-24 19:56:40 UTC
Package am-utils-6.1.5-20.1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing am-utils-6.1.5-20.1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0887/am-utils-6.1.5-20.1.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-02 17:29:25 UTC
am-utils-6.1.5-20.1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.