Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475610 - www-apps/tt-rss - ttrssd restart failed during feeds update
Summary: www-apps/tt-rss - ttrssd restart failed during feeds update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-03 10:20 UTC by Takashi Kobayashi
Modified: 2013-07-03 20:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
added --retry option to start-stop-daemon. (ttrssd.initd-r1.patch,483 bytes, patch)
2013-07-03 10:22 UTC, Takashi Kobayashi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Takashi Kobayashi 2013-07-03 10:20:47 UTC
/etc/init.d/ttrssd restart failed during feeds update.

# /etc/init.d/ttrssd restart
 * Stopping TT-RSS update daemon in "/var/www/localhost/htdocs/foo/tt-rss/" ...
 * start-stop-daemon: 1 process refused to stop                                                                         [ !! ]
 * Starting TT-RSS update daemon in "/var/www/localhost/htdocs/foo/tt-rss/" ...
 * start-stop-daemon: /usr/bin/php is already running                                                                   [ !! ]
 * ERROR: ttrssd failed to start


ttrssd is restarted everyday by logrotate.
So, may fail to restart once in a while.

This error can prevent by --retry option for start-stop-daemon.

Sorry for my poor English.
Comment 1 Takashi Kobayashi 2013-07-03 10:22:25 UTC
Created attachment 352504 [details, diff]
added --retry option to start-stop-daemon.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2013-07-03 14:42:36 UTC
Yes the patch is okay, so anyone with cvs handy please comimt.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-07-03 20:31:05 UTC
Fixed. thanks for the report.

+  03 Jul 2013; Markos Chandras <hwoarang@gentoo.org> files/ttrssd.initd-r1:
+  Add --retry option to init script. Patch by Takashi Kobayashi
+  <dbkanahaku@gmail.com>. Bug #475610
+


Tomáš please add yourself to metadata.xml ;)