[buildd-tools-devel] Bug#620797: Bug#620797: sbuild: sources.list.d manipulation causes python-apt to FTBFS

Roger Leigh rleigh at codelibre.net
Mon Apr 4 16:48:29 UTC 2011


tags fixed-upstream pending
thanks

On Mon, Apr 04, 2011 at 11:16:07AM +0200, Julian Andres Klode wrote:
> If you use the new apt resolver, it creates an unreadable
> file in sources.list.d. This breaks python-apt's test
> suite and probably other programs using APT, as APT expects
> that all sources lists are readable to the user running
> it.

This was due to creating the file with tempfile.  We now chmod 0644
before moving into /etc/apt/sources.list.d which fixes the problem.

This has been committed on git master for 0.62.2-1, and also to the
buildd-0.61.0 branch for buildd use.


Thanks for reporting this!

Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110404/03ca0671/attachment.pgp>


More information about the Buildd-tools-devel mailing list