Bug#410501: destar: Conf files are not saved if there's not writing access to zaptel.conf

Steve Langasek vorlon at debian.org
Mon Feb 12 07:53:44 UTC 2007


On Sun, Feb 11, 2007 at 02:09:08AM -0500, Alejandro Rios P. wrote:
> Package: destar
> Version: 0.2.0-3
> Severity: grave
> Tags: patch
> Justification: renders package unusable

> There was a bad conditional expresion on one dpatch file edited on last
> package upload. Here's the fix to the bug:

> --- zaptel.dpatch       2007-02-11 00:05:55.000000000 -0500
> +++ zaptel.dpatch.patch 2007-02-11 01:59:41.000000000 -0500
> @@ -12,7 +12,7 @@
>         for _fn,cnf in configlets.asterisk_configfiles:
> 		if _fn == 'op_server.cfg' and panelutils.isConfigured() != 1:
> 			continue
> -+              if not os.access("/etc/zaptel.conf", os.O_RDWR):
> ++              if _fn == 'zaptel.conf' and not os.access("/etc/zaptel.conf", os.O_RDWR):
>  +			continue
> 		try:
> 			cnf.write()

Sorry, in what sense does this make the package unusable?  Is it because the
package's dependencies don't ensure that zaptel.conf will exist?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-voip-maintainers mailing list