Bug 517339 - initscript does not proper catch not existing pid files
Summary: initscript does not proper catch not existing pid files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: syslog-ng
Version: el5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ray Van Dolson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 518582
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-13 14:54 UTC by Peter Bieringer
Modified: 2012-01-15 21:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-15 21:30:25 UTC


Attachments (Terms of Use)

Description Peter Bieringer 2009-08-13 14:54:42 UTC
Description of problem:
uncatched error if pid file does not exist on stop

Version-Release number of selected component (if applicable):
syslog-ng-2.1.4-1.el5

How reproducible:
Always

Steps to Reproduce:

# /etc/init.d/syslog-ng stop
Stopping syslog-ng:                                        [  OK  ]

# /etc/init.d/syslog-ng restart
Stopping syslog-ng: /etc/init.d/syslog-ng: line 70: /var/run/syslog-ng.pid: No such file or directory
/etc/init.d/syslog-ng: line 70: /var/run/syslogd.pid: No such file or directory
                                                           [FAILED]
Starting syslog-ng:                                        [  OK  ]


Actual results:
see above


Expected results:
Not such strange error message


Additional info:

Comment 1 Ray Van Dolson 2009-08-19 07:08:47 UTC
Commited this patch[1] to devel/ which I believe will solve the issue.  However, I was unable to build the package for EL-5 due to some linking errors against libnet.  Will have to resolve this first.

[1] http://cvs.fedora.redhat.com/viewvc/rpms/syslog-ng/devel/syslog-ng.init.d?r1=1.1&r2=1.2

Comment 2 Jose Pedro Oliveira 2012-01-15 21:30:25 UTC
Closing this ticket as the problem appears to have been fixed in syslog-ng-2.1.4-3.  Please feel free to re-open this ticket if the problem still persist.

Specfile changelog:
...
* Tue Aug 18 2009 Ray Van Dolson <rayvd@fedoraproject.org> - 2.1.4-3
- Init script fix (bug#517339)
...


/jpo


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