[Pkg-kannel-devel] Bug#590544: Bug#590544: sensible handling of values in /etc/default/kannel

Jonas Smedegaard dr at jones.dk
Thu Jul 30 07:26:46 UTC 2015


Quoting Kalle Niemitalo (2015-07-29 17:42:11)
> Jonas Smedegaard <dr at jones.dk> writes:
>
>> Might make sense to then split into multiple binary packages, one for 
>> each daemon, but that could be done as a separate step later.
>
> Separating the daemons to different packages seems a bit risky 
> because, if the versions of smsbox and bearerbox do not match and 
> gw/msg-decl.h has been changed between the versions, then the boxes 
> will not be able to parse the messages sent by each other.  So you 
> might have to set up versioned dependencies.
>
> OTOH it is already possible, and perhaps even typical, to run the 
> boxes on different computers, in which case package dependencies 
> cannot prevent version mismatches.  And if the administrator searches 
> the Web for "Msg packet was invalid.", then it'll be pretty clear that 
> a version mismatch is the likely reason.  So the risk doesn't seem too 
> bad.

In my opinion kannel-bearerbox should recommend (but not depend on) 
kannel-smsbox and suggest kannel-wapbox - exactly to allow running from 
separate machines.


> I suppose it could be helpful to explicitly check the version at the 
> beginning of each connection and log an error blaming the 
> administrator, but that would be an upstream issue.

I don't know if Kannel not already spits out sensible errors in log 
messages, but if not then yes, that's a good suggestion to pass 
upstream.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kannel-devel/attachments/20150730/42195c9c/attachment.sig>


More information about the Pkg-kannel-devel mailing list