[cc-ing Neil Brown]

Bug report: http://bugs.debian.org/424029

On Tue, May 22, 2007 at 04:04:51PM +0200, Frans Pop wrote:
>On Sunday 20 May 2007 04:05, you wrote:
>>On Tue, May 15, 2007 at 02:02:33PM +0200, Frans Pop wrote:
>>>The $OPTIONS at the end of the start-stop-daemon call looks
>>>suspicious.
>>
>>$OPTIONS is set in either /etc/default/portmap or /etc/portmap.conf
>>What's the content of the two files or the one file that you have?
>
>/etc/default/portmap:
>#OPTIONS="-i 127.0.0.1"
>
>/etc/portmap.conf does not exist
>
>Looks like that is not the problem after all though. It just prints the
>shell line where the failure occurs without expanding variables.
>$OPTIONS is not defined, so should not cause any problems. It really is
>a segfault.

Frans, please send a trace report and put Neil in the CC list.

Neil, I'll send you the first mail message of the bug report.

># /etc/init.d/portmap start
>+ test -f /sbin/portmap
>+ . /lib/lsb/init-functions
>++ FANCYTTY=
>++ '[' -e /etc/lsb-base-logging.sh ']'
>++ true
>+ OPTIONS=
>+ '[' -f /etc/default/portmap ']'
>+ . /etc/default/portmap
>+ case "$1" in
>+ log_begin_msg 'Starting portmap daemon...'
>+ '[' -z 'Starting portmap daemon...' ']'
>+ echo -n 'Starting portmap daemon...'
>Starting portmap daemon...++ pidof portmap
>+ pid=
>+ '[' -n '' ']'
>+ start-stop-daemon --start --quiet --oknodo --exec /sbin/portmap --
>/etc/init.d/portmap: line 26:  2199 Segmentation fault      start-stop-daemon 
>--start --quiet --oknodo --exec /sbin/portmap -- $OPTIONS
>+ log_end_msg 139
>+ '[' -z 139 ']'
>+ log_use_fancy_output
>+ TPUT=/usr/bin/tput
>+ EXPR=/usr/bin/expr
>+ '[' xxterm '!=' xdumb ']'
>+ '[' -x /usr/bin/tput ']'
>+ '[' -x /usr/bin/expr ']'
>+ /usr/bin/tput hpa 60
>+ /usr/bin/tput setaf 1
>+ '[' -z ']'
>+ FANCYTTY=1
>+ case "$FANCYTTY" in
>+ true
>++ /usr/bin/tput setaf 1
>+ RED=''
>++ /usr/bin/tput op
>+ NORMAL=''
>+ '[' 139 -eq 0 ']'
>+ /bin/echo -e ' failed!'
> failed!
>+ return 139
>+ sleep 1
>+ '[' -f /var/run/portmap.upgrade-state ']'
>+ '[' -f /var/run/portmap.state ']'
>+ pmap_set
>+ rm -f /var/run/portmap.state
>+ exit 0
>

Aníbal Monsalve Salazar
-- 
http://v7w.com/anibal

Attachment: signature.asc
Description: Digital signature

Reply via email to