Package: tt-rss
Version: 1.6.2+dfsg-1
Severity: important

Stopping tt-rss with "/etc/init.d/tt-rss stop" doesn't work as
start-stop-daemon looks for the correct name in /proc/<pid>/stat to
match the right name. As the name is php and not tt-rss as set in
/etc/init.d/tt-rss. Attached patch is to resolve this issue.


-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tt-rss depends on:
ii  dbconfig-common        1.8.46+squeeze.0  common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libjs-dojo-core        1.7.2+dfsg-1      Modular JavaScript toolkit
ii  libjs-dojo-dijit       1.7.2+dfsg-1      Modular JavaScript toolkit - Dijit
ii  libjs-scriptaculous    1.9.0-2           JavaScript library for dynamic web
ii  libphp-magpierss       0.72-8+squeeze1   provides an XML-based RSS parser i
ii  libphp-phpmailer       5.1-1             full featured email transfer class
ii  libphp-simplepie       1.2-1             RSS and Atom feed parsing in PHP
ii  php-gettext            1.0.10-1          read gettext MO files directly, wi
ii  php5                   5.3.3-7+squeeze14 server-side, HTML-embedded scripti
ii  php5-cli               5.3.3-7+squeeze14 command-line interpreter for the p
ii  php5-mysql             5.3.3-7+squeeze14 MySQL module for php5
ii  php5-pgsql             5.3.3-7+squeeze14 PostgreSQL module for php5

Versions of packages tt-rss recommends:
ii  apache2               2.2.16-6+squeeze10 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [ 2.2.16-6+squeeze10 Apache HTTP Server - traditional n
ii  libphp-magpierss      0.72-8+squeeze1    provides an XML-based RSS parser i
ii  libphp-simplepie      1.2-1              RSS and Atom feed parsing in PHP

Versions of packages tt-rss suggests:
ii  mysql-client           5.1.66-0+squeeze1 MySQL database client (metapackage
ii  mysql-client-5.1 [mysq 5.1.66-0+squeeze1 MySQL database client binaries
ii  mysql-server           5.1.66-0+squeeze1 MySQL database server (metapackage
ii  mysql-server-5.1 [mysq 5.1.66-0+squeeze1 MySQL database server binaries and
ii  postgresql             8.4.13-0squeeze1  object-relational SQL database (su
ii  postgresql-client      8.4.13-0squeeze1  front-end programs for PostgreSQL 
ii  postgresql-client-8.3  8.3.16-0lenny1    front-end programs for PostgreSQL 
ii  postgresql-client-8.4  8.4.13-0squeeze1  front-end programs for PostgreSQL 
pn  sphinxsearch           <none>            (no description available)

-- Configuration Files:
/etc/default/tt-rss changed [not included]
/etc/init.d/tt-rss changed [not included]
/etc/tt-rss/config.php changed [not included]

-- debconf information:
  tt-rss/db/app-user: db002011
  tt-rss/remote/port:
  tt-rss/pgsql/changeconf: false
  tt-rss/pgsql/no-empty-passwords:
  tt-rss/purge: false
  tt-rss/pgsql/authmethod-user: ident
  tt-rss/mysql/method: unix socket
  tt-rss/mysql/admin-user: root
  tt-rss/install-error: abort
  tt-rss/pgsql/authmethod-admin: ident
* tt-rss/reconfigure-webserver: apache2
  tt-rss/remove-error: abort
  tt-rss/pgsql/method: unix socket
  tt-rss/passwords-do-not-match:
  tt-rss/remote/newhost:
  tt-rss/internal/reconfiguring: false
  tt-rss/missing-db-package-error: abort
  tt-rss/dbconfig-remove:
* tt-rss/dbconfig-upgrade: true
  tt-rss/db/dbname: db002011
  tt-rss/pgsql/admin-user: postgres
  tt-rss/remote/host:
  tt-rss/internal/skip-preseed: false
  tt-rss/dbconfig-reinstall: false
  tt-rss/pgsql/manualconf:
  tt-rss/upgrade-backup: true
* tt-rss/database-type: pgsql
* tt-rss/dbconfig-install: true
  tt-rss/db/basepath:
  tt-rss/upgrade-error: abort
--- /etc/init.d/tt-rss.orig     2012-12-31 12:52:10.000000000 +0000
+++ /etc/init.d/tt-rss  2012-12-31 12:52:04.000000000 +0000
@@ -78,7 +78,7 @@
        #   1 if daemon was already stopped
        #   2 if daemon could not be stopped
        #   other if a failure occurred
-       start-stop-daemon --stop --make-pidfile --quiet --retry=TERM/1/KILL/5 
--pidfile $PIDFILE --name $NAME
+       start-stop-daemon --stop --quiet --retry=TERM/1/KILL/5 --pidfile 
$PIDFILE
        RETVAL="$?"
        [ "$RETVAL" = 2 ] && return 2
        # Wait for children to finish too if this is a daemon that forks

Reply via email to