Re: Bug with isdnutils - configuration - please help me to report
On Tue, Jun 11, 2002 at 07:55:24PM +0200, Georg Koss wrote:
> When installing woody's up-to-date isnutils, I was asked in debconf's
> configuration menu among other things my IP-Login (username) which
> correctly is
>
> peu94860@p.at.eunettravel.com
> ^^^
> In all three installations it arrived in /etc/isdn/ipppd.ippp0 as
>
> peu94860at.eunettravel.com
>
>
> missing that <@.p>.
>
> As I have no idea against which package I should file a bugreport I
> hope anybody here will enlighten my humble knowledge about this.
I think you should file a bug report against ipppd. I looked at its
postinst script, and it indeed doesn't quote the e-mail address properly
when substituting it into the file. Instead of:
perl -i -pe '...; s,^name X.,name '"$ISPLOGIN"',; ...'
... which performs interpolation on the contents of $ISPLOGIN, it should
use something like:
perl -i -pe '...; $login = '\'"$ISPLOGIN"\''; s,^name X.,name $login,; ...'
This still isn't perfect (it isn't robust against quote marks being
given in the e-mail address, for one thing - using @ARGV would be better
but would require replacing the -i and -p switches with something else),
but it's better than before.
(Feel free to quote me in the bug report, if you like.)
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-testing-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: