Package: portmap
Version: 6.0-7
Severity: normal
Tags: patch
*** Please type your report below this line ***
Dear Anibal,
the debconf setting "portmap/loopback: true" is not honored anymore by the
init script. It is correctly applied to /etc/defaults/portmap, but portmap
still binds to all interfaces.
Apparently in /etc/init.d/portmap, the function pidofproc starts portmap,
but does not receive the $OPTIONS variable as the start-stop-daemin does.
This can be fixed by passing the option here:
--- /etc/init.d/portmap 2008-10-27 00:53:10.000000000 +0100
+++ portmap 2008-11-02 19:01:09.000000000 +0100
@@ -30,7 +30,7 @@
case "$1" in
start)
log_begin_msg "Starting portmap daemon..."
- pid=pidofproc portmap
+ pid=pidofproc portmap $OPTIONS
if [ -n "$pid" ] ; then
log_begin_msg "Already running."
log_end_msg 0
I am not sure if this is not really a bug of init-functions, though.
Cheers
Jan
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages portmap depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management
sy
ii libc6 2.7-15 GNU C Library: Shared libraries
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers
libra
ii lsb-base 3.2-20 Linux Standard Base 3.2 init
scrip
portmap recommends no packages.
portmap suggests no packages.
-- debconf information:
* portmap/loopback: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]