Bug 841272 - script name of service command is wrong
Summary: script name of service command is wrong
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: netatalk
Version: el6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-18 14:30 UTC by HAT
Modified: 2019-10-13 20:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-13 20:50:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description HAT 2012-07-18 14:30:18 UTC
Description of problem:

In netatalk.spec,

>%preun
>if [ "$1" = "0" ] ; then
>  # check for existence due to renaming initscritp
>  if [ -x  %{_initrddir}/netatalk ] ; then
>    /sbin/service atalk stop > /dev/null 2>&1
>    /sbin/chkconfig --del netatalk
>  fi
>fi
>
>%postun
>if [ "$1" -ge "1" ]; then
>  /sbin/service atalk condrestart > /dev/null 2>&1 || :
>fi
>/sbin/ldconfig

A script name is "netatalk", not "atalk".
There is no option "condrestart".

Version-Release number of selected component (if applicable):
netatalk-2.2.0-2.el6

Comment 1 HAT 2013-03-26 13:43:47 UTC
netatalk 3.0.3 supports condrestart option.

Comment 3 Andrew Bauer 2019-10-13 20:50:45 UTC
Closing. Netatalk has been retired from el6.


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