Package: dictd Version: 1.10.10.dfsg-2 Severity: wishlist Tags: patch Two points to add why we need a flag for dictd startup.
1) dictd is also used through inetd. So having a flag, where we can disable daemon startup, will be good. This can, in other way, be accomplished by using update-rc.d to delete the dictd startup links. But..... #2 2) Many of us are moving to insserv. I noticed that even though I had disabled dictd daemon using update-rc.d, insserv was trying to start it. The attached patches just put a config option in the defaults file and a check in the init script. Please enhance it as you feel better. Thanks, Ritesh -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (600, 'unstable'), (150, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores; PREEMPT) 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 dictd depends on: ii adduser 3.106 add and remove users and groups ii dictzip 1.10.10.dfsg-2 Compression utility for dictionary ii libc6 2.7-6 GNU C Library: Shared libraries ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip ii netbase 4.30 Basic TCP/IP networking system ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime Versions of packages dictd recommends: ii dict [dict-client] 1.10.10.dfsg-2 Dictionary Client ii kdict [dict-client] 4:3.5.9-1 dictionary client for KDE -- no debconf information
3a4,7 > # Should the daemon be started at boot. > # Set it to 0 if you are using inetd for dictd > START=1 >
86,92c86,97 < log_daemon_msg "Starting $DESC" "$NAME" < if is_running ; then < echo -n " (already running)" < else < do_start || status=$? < fi < log_end_msg $status --- > if [ $START -eq 0 ]; then > log_daemon_msg "$NAME - $DESC is disabled" > log_end_msg $status > else > log_daemon_msg "Starting $DESC" "$NAME" > if is_running ; then > echo -n " (already running)" > else > do_start || status=$? > fi > log_end_msg $status > fi