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

Bug#145700: marked as done (diald: gets confused by the use of pppd keyword 'file' in /etc/ppp/peers/*)



Your message dated Thu, 7 May 2009 19:45:36 +0100
with message-id <200905071845.n47IjaOJ014505@kmos.homeip.net>
and subject line diald has been removed from Debian, closing #145700
has caused the Debian Bug report #145700,
regarding diald: gets confused by the use of pppd keyword 'file' in /etc/ppp/peers/*
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
145700: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=145700
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: diald
Version: 0.99.4-5
Severity: normal

diald seems to ignore any 'file' keyword in /etc/ppp/peers/*.

Case in point:

    I have 2 ways of dialing up to my ISP from my main system:
    - isdn TA adapter that understands AT commands (a modem as far as
      ppp is concerned)
    - good old-fashioned modem

    So I set up two entries in /etc/ppp/peers. Since they share most of
    the ppp config (they basically only differ in the device and speed
    chosen), I use the 'file /etc/ppp/peers/myisp-generic' to avoid
    maintaining two copies.

    PPP handles it fine.

    But if I set up diald to use one of them, it misses out on the
    shared part, since the "file" keyword is ignored.

As far as I can see, diald uses cvt-pppconfig (a perl program) to parse
/etc/ppp/peers/*. And this doesn't understand the "file" keyword.

A suggestion:

Why not use "pppd dryrun call $PROVIDER" and parse the output, rather
than parsing /etc/ppp/peers directly?  This should seemlessly handle the
"file" keyword and resolve problems such as what-file-overrides-what
etc.

This should only have a couple of minor side effects:
- pppd writes the "dryrun" output to syslogd as well though.
- diald would be incompatible with early versions of pppd, as the
  "dryrun" option was only introduced recently

[If I could do perl, you would have a patch too...]

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux einstein 2.4.18 #1 Tue Apr 23 17:10:23 BST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages diald depends on:
ii  debconf                      1.0.22      Debian configuration management sy
ii  libc6                        2.2.5-4     GNU C Library: Shared libraries an
ii  libpam0g                     0.72-32     Pluggable Authentication Modules l
ii  libwrap0                     7.6-9       Wietse Venema's TCP wrappers libra
ii  netbase                      4.07        Basic TCP/IP networking system
ii  ppp                          2.4.1.uus-1 Point-to-Point Protocol (PPP) daem



--- End Message ---
--- Begin Message ---
Version: 0.99.4-9+rm

The diald package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/526512 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
--
Marco Rodrigues


--- End Message ---

Reply to: