[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#171015: marked as done (gcdb.postinst hangs: unknown sed -e command)



Your message dated Wed, 23 Apr 2003 10:22:48 +1000
with message-id <20030423002247.GA12497@regression.cyrius.com>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Nov 2002 03:11:14 +0000
>From abuse@oro.net Wed Nov 27 21:11:14 2002
Return-path: <abuse@oro.net>
Received: from h.lb.oro.net (H.oro.net) [204.212.106.126] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18HF57-0007fB-00; Wed, 27 Nov 2002 21:11:14 -0600
Received: from smj by H.oro.net with local id 18HF5C-0000y1-00; Wed, 27 Nov 2002 19:11:18 -0800
Date: Wed, 27 Nov 2002 19:11:18 -0800
From: Scott Jennings <bugs.debian@smj.cc>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: Scott Jennings <bugs.debian@smj.cc>
Subject: gcdb.postinst hangs: unknown sed -e command
Message-ID: <20021128031118.GA3569@H.oro.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Reportbug-Version: 2.9
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.8 required=5.0
	tests=SPAM_PHRASE_00_01,SUPERLONG_LINE,USER_AGENT,USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 

Package: gcdb
Version: 1.1.5-2
Severity: grave
Justification: renders package unusable

will not install... gcdb.postinst hangs indefinitely after reporting an
unknown option to sed -e 's' command.

problem is caused by an attempt to replace parameters with their values by
using sed s#param#$value# type commands... but the values can *contain* the
'#' character.

I was able to successfully install by editing the command in the gcdb.postint
script replacing '#' with '/'

After shell variable expansion, here is the command that failed:

#bin#sed -e "s#@dbpersistent@#On#; s#@dbname@#gcdb#; s#@dbserver@#localhost#; s#@dbuser@#gcdbmgr#; s#@dbpass@#hidden#; s#@brand@#gcdb#; s#@topbar@##000088#; s#@background@##AAAAFF#; s#@tableborder@##000088#; s#@innertable@##7777FF#" #etc#gcdb#gcdb-settings.php.in > #etc#gcdb#gcdb-settings.php

 after my edit, here is the command that succeeded:

/bin/sed -e "s/@dbpersistent@/On/; s/@dbname@/gcdb/; s/@dbserver@/localhost/; s/@dbuser@/gcdbmgr/; s/@dbpass@/hidden/; s/@brand@/gcdb/; s/@topbar@/#000088/; s/@background@/#AAAAFF/; s/@tableborder@/#000088/; s/@innertable@/#7777FF/" /etc/gcdb/gcdb-settings.php.in > /etc/gcdb/gcdb-settings.php

-- System Information:
Debian Release: stable
Architecture: i386
Kernel: Linux As 2.4.18 #5 Sat May 11 02:21:41 PDT 2002 i586 unknown
Locale: LANG=C, LC_CTYPE=C


---------------------------------------
Received: (at 171015-done) by bugs.debian.org; 23 Apr 2003 00:23:20 +0000
>From tbm@cyrius.com Tue Apr 22 19:23:19 2003
Return-path: <tbm@cyrius.com>
Received: from bangpath.uucico.de [195.71.9.197] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 19882c-0002yb-00; Tue, 22 Apr 2003 19:23:14 -0500
Received: by bangpath.uucico.de (Postfix, from userid 10)
	id C6F4726BC5; Wed, 23 Apr 2003 02:23:13 +0200 (CEST)
Received: by regression.cyrius.com (Postfix, from userid 1000)
	id 116C123D43; Wed, 23 Apr 2003 10:22:48 +1000 (EST)
Date: Wed, 23 Apr 2003 10:22:48 +1000
From: Martin Michlmayr <tbm@cyrius.com>
To: 144139-done@bugs.debian.org, 149173-done@bugs.debian.org,
	149175-done@bugs.debian.org, 151664-done@bugs.debian.org,
	171015-done@bugs.debian.org, 179955-done@bugs.debian.org
Subject: Removed
Message-ID: <20030423002247.GA12497@regression.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Delivered-To: 171015-done@bugs.debian.org
X-Spam-Status: No, hits=-0.9 required=4.0
	tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,USER_AGENT,
	      USER_AGENT_MUTT,VERY_SUSP_RECIPS
	version=2.44
X-Spam-Level: 

This package was removed from Debian unstable because it had no
maintainer for a long time and has release criticasl bugs.

-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: