[dput-ng-maint] Bug#718384: dput-ng: codename checks don't honor local configuration

Paul Tagliamonte paultag at debian.org
Sun Sep 8 18:44:52 UTC 2013


Good morning, Russ,

On Tue, Jul 30, 2013 at 03:16:05PM -0700, Russ Allbery wrote:
> windlord:~/work/debian/build-area> dput local *.changes
> Uploading heimdal using scp to local (host: genesis.stanford.edu; directory: /srv/repos/local/incoming)
> running allowed-distribution: check whether a local profile permits uploads to the target distribution
> `oldstable-kdc' not in the codename group
> 
> oldstable-kdc is a local distribution for packages that we only use
> on some specific hosts.  It's listed in allowed_distributions:

So. This was because by default, all profiles inherted from `Debian',
not a sane, boring default.

As of a few minutes ago, I've adjusted it to always pull from the
`boring' meta, which will not add this checking (which is really only
ever useful for Ubuntu or Debian anyway)

> It looks like allowed_distributions is being ignored by this check.

Yeah, it was actually hitting an *additional* codepath (it passed the
allowed_distributions check, and hit additional limits), rather than
stoping trying to be smart.

> I had the same problem when trying to upload OpenAFS security fixes to
> Debian, although I can't explain that one since stable-security does
> appear to be listed in the relevant file.  But I was getting the same
> error message there.

It's now in that file. Not sure if it was or not before, but I'll make
sure we still have it :)

> 
> I'm currently switching back to dput for these uploads, since I can't
> find a configuration knob I can turn to let them proceed.

You can cut the "allowed-distribution" hook out (but it's not clear that
that is the case without knowing a little about the interneals)

> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 3.9-1-686-pae (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages dput-ng depends on:
> ii  python       2.7.5-2
> ii  python-dput  1.5
> 
> Versions of packages dput-ng recommends:
> ii  bash-completion  1:2.0-1
> 
> dput-ng suggests no packages.
> 
> -- no debconf information

Thank you for the bug report,
  Paul

-- 
 .''`.  Paul Tagliamonte <paultag at debian.org>
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `-     http://people.debian.org/~paultag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/dput-ng-maint/attachments/20130908/62021774/attachment.sig>


More information about the dput-ng-maint mailing list