Bug#908066: vim uses an incorrect URL parser

2018-09-05 Thread KellerFuchs
Control: tag -1 + buster sid
Control: found -1 2:8.1.0320-1

On Wed, Sep 05, 2018 at 06:53:01PM +, Keller Fuchs wrote:
> [...] I was not in a position to test whether I could reproduce it on buster.

PS: Ryan (in CC) reported she could reproduce the issue on Buster, and is 
planning to write a patch and submit it upstream.



Bug#824503: in apt marked as pending

2016-05-20 Thread KellerFuchs
Thanks a lot for the quick (and exhaustive!) fix.


On Fri, May 20, 2016 at 08:01:58AM +, David Kalnischkies wrote:
> Control: tag 824503 pending
> 
> Hello,
> 
> Bug #824503 in apt reported by you has been fixed in the Git repository. You 
> can
> see the commit message below, and you can check the diff of the fix at:
> 
> https://anonscm.debian.org/cgit/apt/apt.git/diff/?id=fdf9eef
> 
> (this message was generated automatically based on the git commit message)
> ---
> commit fdf9eef4d96a18d0167708499c993e1174251e88
> Author: David Kalnischkies 
> Date:   Fri May 20 09:37:24 2016 +0200
> 
> fail instead of segfault on unreadable config files
> 
> The report mentions "apt list --upgradable", but there are others which
> have inconsistent behavior ranging from segfaulting to doing something
> with the partial (and hence incomplete) data. We had a recent report
> about sources.list (#818628), this one mentions prefences, the obvious
> next step is conf files… so the testcase is adapted to check for all
> three in file and directory versions and run a bunch of commands each
> time which should all have more or less the same behavior in such a case
> (aka error out).
> 
> Closes: 824503
> 



Bug#824503: apt segfaults on a non-world-readable preferences.d file

2016-05-16 Thread kellerfuchs
Package: apt
Version: 1.0.9.8.3
Severity: important

Dear Maintainer,


Running `apt list -upgradable`, as a regular user (without CAP_DAC_OVERRIDE)
  led to a segfault when `/etc/apt/preferences.d/unbound` wasn't world-readable.

Making that file world-readable made the issue disappear.

The entire configuration of the machine exhibiting the issue is available at
  
https://github.com/hashbang/shell-etc/tree/5ce59efb07972588fa10e730b4a945b2cded44bb


Best regards,

  Keller Fuchs


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "false";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-headers-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-image-extra-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-signed-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^kfreebsd-headers-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^gnumach-image-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^.*-modules-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^.*-kernel-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-3\.16\.0-4-amd64$";
APT::NeverAutoRemove:: "^linux-tools-3\.16\.0-4-amd64$";
APT::VersionedKernelPackages "";
APT::VersionedKernelPackages:: "linux-image";
APT::VersionedKernelPackages:: "linux-headers";
APT::VersionedKernelPackages:: "linux-image-extra";
APT::VersionedKernelPackages:: "linux-signed-image";
APT::VersionedKernelPackages:: "kfreebsd-image";
APT::VersionedKernelPackages:: "kfreebsd-headers";
APT::VersionedKernelPackages:: "gnumach-image";
APT::VersionedKernelPackages:: ".*-modules";
APT::VersionedKernelPackages:: ".*-kernel";
APT::VersionedKernelPackages:: "linux-backports-modules-.*";
APT::VersionedKernelPackages:: "linux-tools";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";

Bug#814469: bootstrap-vz runs into a TypeError on Jessie

2016-02-11 Thread kellerfuchs
Package: bootstrap-vz
Version: 0.9.0-1
Severity: important

Dear Maintainer,

bootstrap-vz throws a TypeError on jessie while trying to build an image.
The version from git (commit 790f2d66bba2eaff5dddc57a84d388e7dd45ed55) works
  without any issue.

I'm not writing from the system I encountered the problem on, hence the
  deletion of the system information;  the enclosed info should be enough
  to localise the problem.


> sudo bootstrap-vz ebs-jessie-amd64-hvm.yml
>  

Traceback (most recent call last):
  File "/usr/local/bin/bootstrap-vz", line 9, in 
load_entry_point('bootstrap-vz==0.9.0', 'console_scripts', 'bootstrap-vz')()
  File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/main.py", line 
33, in main
run(opts)
  File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/main.py", line 
63, in run
manifest = Manifest(opts['MANIFEST'])
  File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/manifest.py", 
line 24, in __init__
self.load()
  File "/usr/local/lib/python2.7/dist-packages/bootstrapvz/base/manifest.py", 
line 42, in load
provider_modname = 'bootstrapvz.providers.' + self.data['provider']
TypeError: cannot concatenate 'str' and 'dict' objects


> cat ebs-jessie-amd64-hvm.yml

---
name: 
debian-{system.release}-{system.architecture}-{provider.virtualization}-{%Y}-{%m}-{%d}-ebs
provider:
  name: ec2
  virtualization: hvm
  enhanced_networking: simple
  description: Debian {system.release} {system.architecture}
bootstrapper:
  workspace: /target
  tarball: true
  sources:
docker:
  - deb https://apt.dockerproject.org/repo debian-jessie main
  include_packages:
- apt-transport-https
- ca-certificates
- docker-engine
  trusted_keys:
- keys/docker.asc
system:
  release: jessie
  architecture: amd64
  bootloader: extlinux
  charmap: UTF-8
  locale: en_US
  timezone: UTC
volume:
  backing: ebs
  partitions:
type: none
root:
  filesystem: ext4
  size: 8GiB
packages:
  mirror: http://cloudfront.debian.net/debian
plugins:
  cloud_init:
metadata_sources: Ec2
username: admin