Bug#367636: gnugk: random problem at boot time because of initscripts numbering

Jerome.ALET at unice.fr Jerome.ALET at unice.fr
Wed May 17 10:47:40 UTC 2006


Package: gnugk
Version: 2:2.2.3-2-2
Severity: important

By default, the numbering for startup and shutdown scripts for gnugk and
postgresql is the same, so the alphabetical order makes gnugk start
before postgresql.

If you use a PostgreSQL database from gnugk, you're stuck with gnugk
which fails to start, since the database is not ready yet.

If you start gnugk manually, once postgresql is ready, it's OK.

Similarly, when shutting down, gnugk should be stopped before PostgreSQL
and not after.

I've seen this problem on these two software, but it probably
exists with several other interdependant software.

For example we know that gnugk can depend on postgresql being ready,
but we know for sure that postgresql will never care to see if
gnugk has to be ready before being able to start with no problem.

More generally, database servers (Bind, MySQL, Slapd, PostgreSQL,
etc...) should be started **before** any other service which can depend
on them (e.g. Apache), and stopped **after** all services which
can depend on them have been stopped.

Or did I do something wrong ?

Thx.

Jerome Alet

System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR.ISO-8859-15 at euro, LC_CTYPE=fr_FR.ISO-8859-15 at euro (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968) (ignored: LC_ALL set to fr_FR.ISO-8859-15 at euro)

Versions of packages gnugk depends on:
ii  adduser                       3.85       Add and remove users and groups
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an
ii  libexpat1                     1.95.8-3   XML parsing C library - runtime li
ii  libgcc1                       1:4.0.3-1  GCC support library
ii  libldap2                      2.1.30-13  OpenLDAP libraries
ii  libmysqlclient14              4.1.15-1   mysql database client library
ii  libopenh323-1.15.6            1.15.6-3   H.323 aka VoIP library
ii  libpq4                        8.1.0-3    PostgreSQL C client library
ii  libpt-1.8.7                   1.8.7-2    Portable Windows Library
ii  libsasl2                      2.1.19-1.9 Authentication abstraction library
ii  libsdl1.2debian               1.2.9-4    Simple DirectMedia Layer
ii  libssl0.9.8                   0.9.8a-7   SSL shared libraries
ii  libstdc++6                    4.0.3-1    The GNU Standard C++ Library v3
ii  zlib1g                        1:1.2.3-11 compression library - runtime

gnugk recommends no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = "fr_FR.ISO-8859-15 at euro",
	LANG = "fr_FR.ISO-8859-15 at euro"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory




More information about the Pkg-voip-maintainers mailing list