Bug 758373

Summary: "/etc/init.d/atalk status" is broken when running afpd without atalkd
Product: [Fedora] Fedora EPEL Reporter: Arnaud Gomes-do-Vale <arnaud.gomes>
Component: netatalkAssignee: Jiri Skala <jskala>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: aglotov, jskala
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: netatalk-2.0.5-4.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 15:36:27 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 Arnaud Gomes-do-Vale 2011-11-29 17:22:49 UTC
Description of problem:

"/etc/init.d/atalk status" always reports "stopped" when afpd runs and atalkd does not.

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

netatalk-2.0.5-3.el5

How reproducible:

Always.

Steps to Reproduce:
1. /etc/init.d/atalk start
2. /etc/init.d/atalk status
  
Actual results:

[root@afp ~]# /etc/init.d/atalk status
atalkd is stopped
[root@afp ~]# echo $?
3

Expected results:

Should report afpd is running and exit with status 0 (ATALKD_RUN is set to "no" in netatalk.conf).

Additional info:

AFAIU this happens because the init script looks for /var/lock/subsys/atalkd which does not exist. /var/lock/subsys/atalk does, though.

Comment 1 Fedora Update System 2012-01-13 14:13:29 UTC
netatalk-2.0.5-4.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/netatalk-2.0.5-4.el5

Comment 2 Fedora Update System 2012-01-15 23:27:45 UTC
Package netatalk-2.0.5-4.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing netatalk-2.0.5-4.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0138/netatalk-2.0.5-4.el5
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-02-01 15:36:27 UTC
netatalk-2.0.5-4.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.