Bug 784235 - amd immediately exits after starting with systemd
Summary: amd immediately exits after starting with systemd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: am-utils
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-24 11:21 UTC by Norman Gaywood
Modified: 2012-02-02 17:29 UTC (History)
1 user (show)

Fixed In Version: am-utils-6.1.5-20.1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 17:29:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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