Package: tokyotyrant Version: 1.1.40-2 Severity: important Hi,
There is an issue with the current init script of tokyotyrant. In order to allow one to run multiple instances on the same system, it uses the following line in /etc/init.d/tokyotyrant: NAME="`basename $0`" However, when started by init (i.e. at boot time), it is run as /etc/rc2.d/S02tokyotyrant, which results in the following: # ls -l /var/run/tokyotyrant total 4 -rw-r--r-- 1 tokyotyrant tokyotyrant 5 Apr 6 10:15 S02tokyotyrant.pid srwxrwxrwx 1 tokyotyrant tokyotyrant 0 Apr 6 10:15 S02tokyotyrant.sock So when trying to stop/restart/start tokyotyrant once the system is up and running, either by calling invoke-rc.d or directly running the init script, the init script is run as /etc/init.d/tokyotyrant and looks for /var/run/tokyotyrant.pid, which obviously fails. Cheers, -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages tokyotyrant depends on: ii adduser 3.112 add and remove users and groups ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii liblua5.1-0 5.1.4-5 Simple, extensible, embeddable pro ii libtokyocabinet8 1.4.37-4 Tokyo Cabinet Database Libraries [ ii libtokyotyrant3 1.1.40-2 Tokyo Tyrant runtime libraries ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip Versions of packages tokyotyrant recommends: ii tokyotyrant-utils 1.1.40-2 Tokyo Tyrant utilities tokyotyrant suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

