Bug#922558: avrdude: USBtiny programming of ATmega328p broken

2019-02-17 Thread Austin Roach
Package: avrdude
Version: 6.3-20171130+svn1429-1
Severity: normal

Programming of ATmega328p microcontrollers with a usbtiny-compatible
(Pocket AVR) programmer is broken for me. The breakage was caused by
upstream Patch #9728 [1], and this bug has been reported upstream [2].

[1] https://savannah.nongnu.org/patch/?9728
[2] https://savannah.nongnu.org/bugs/index.php?55734



Bug#908341: libvirt-daemon-system: apparmor prevents VM start with kernel 4.18

2018-09-08 Thread Austin Roach
Package: libvirt-daemon-system
Version: 4.6.0-2
Severity: important

After the kernel upgrade to 4.18 in unstable, attempts to start a VM
fail with messages like:

audit[17319]: AVC apparmor="DENIED" operation="ptrace"
profile="/usr/sbin/libvirtd" pid=17319 comm="libvirtd"
requested_mask="read" denied_mask="read"
peer="libvirt-7cd5e81e-eef7-4d3f-a58f-c9c9968acad8"

libvirtd[3150]: 2018-09-08 16:13:55.885+: 3197: error :
virProcessRunInMountNamespace:1159 : internal error: child reported:
Kernel does not provide mount namespace: Permission denied

kernel: audit: type=1400 audit(1536423235.880:44): apparmor="DENIED"
operation="ptrace" profile="/usr/sbin/libvirtd" pid=17319
comm="libvirtd" requested_mask="read" denied_mask="read"
peer="libvirt-7cd5e81e-eef7-4d3f-a58f-c9c9968acad8"

The same issue was previously experienced by Ubuntu developers [1],
who produced a patch [2] that was incorporated into libvirt upstream
[3]. This commit was included in the 4.7.0 release of libvirt.

Cheers,
Austin

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1788603
[2] https://www.redhat.com/archives/libvir-list/2018-August/msg01532.html
[3] 
https://libvirt.org/git/p=libvirt.git;a=commit;h=8741b9435108b1f0d87670e44e1ed75f806b7791



Bug#907598: firmware-amd-graphics: Add AMD Vega M firmware

2018-08-29 Thread Austin Roach
Package: firmware-amd-graphics
Version: 20180825-1
Severity: wishlist

Dear Maintainer,

Please consider adding the AMD Vega M firmware blobs. Support for the Vega
M chipset was added to the Linux kernel amdgpu driver in version 4.18, and
the firmware blobs were incorporated into the repository at
git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git with
commit 153a51e438cafe07610b28db0304b1721b91d847.

Cheers,
Austin


Bug#902646: python3-pexpect: Failure to install with Python 3.7

2018-06-28 Thread Austin Roach
Package: python3-pexpect
Version: 4.2.1-1
Severity: serious

Installation fails with python3.7 installed:

Setting up python3-pexpect (4.2.1-1) ...
  File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py"
def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
SyntaxError: invalid syntax

'async' is a reserved keyword in Python 3.7. This issue has been
previously reported upstream, and was fixed in version 4.3 of
pexpect.[1] The current upstream version is 4.6.

[1] https://github.com/pexpect/pexpect/issues/453



Bug#879642: simple-cdd: build-simple-cdd fails with unsigned local repository

2017-10-24 Thread Austin Roach
Austin Roach <ahro...@gmail.com> wrote:
> Currently, this fails on sid because of an unsigned local repository (logfile
> attached).

One note on that logfile: I added a 'printenv' to tmp/debian-cd/Makefile before
the first 'apt-get update' call to help myself in debugging, and
forgot to re-run
without it before submitting the log. So this log has a dump of environment
variables that you wouldn't expect to see in the standard log.

> apt [...] now issues an error instead of a warning for insecure repositories.

To add a little more detail, here is a snippet of the logfile from
'build-simple-cdd' executed on a machine running stretch, during the first
apt-get update executed by tmp/debian-cd/Makefile:

[...]
2017-10-21 07:33:20,578 DEBUG build/debian-cd stdout: # Updating the
apt database
2017-10-21 07:33:20,610 DEBUG build/debian-cd stdout: Get:1
file:/home/testuser/scdd/tmp/mirror stretch InRelease
2017-10-21 07:33:20,610 DEBUG build/debian-cd stdout: Ign:1
file:/home/testuser/scdd/tmp/mirror stretch InRelease
2017-10-21 07:33:20,611 DEBUG build/debian-cd stdout: Get:2
file:/home/testuser/scdd/tmp/mirror stretch Release [1,482 B]
2017-10-21 07:33:20,621 DEBUG build/debian-cd stdout: Get:2
file:/home/testuser/scdd/tmp/mirror stretch Release [1,482 B]
2017-10-21 07:33:20,626 DEBUG build/debian-cd stdout: Get:3
file:/home/testuser/scdd/tmp/mirror stretch Release.gpg
2017-10-21 07:33:20,626 DEBUG build/debian-cd stdout: Ign:3
file:/home/testuser/scdd/tmp/mirror stretch Release.gpg
2017-10-21 07:33:20,629 DEBUG build/debian-cd stdout: Get:4
file:/home/testuser/scdd/tmp/mirror stretch/main amd64 Packages [129
kB]
2017-10-21 07:33:20,644 DEBUG build/debian-cd stdout: Get:5
file:/home/testuser/scdd/tmp/mirror stretch/main/debian-installer
amd64 Packages [79.8 kB]
2017-10-21 07:33:20,697 DEBUG build/debian-cd stdout: Reading package lists...
2017-10-21 07:33:20,704 DEBUG build/debian-cd stderr: W: The
repository 'file:/home/testuser/scdd/tmp/mirror stretch Release' is
not signed.
[...]

Contrast this with the equivalent logfile from a machine running sid:

[...]
2017-10-23 14:28:59,005 DEBUG build/debian-cd stdout: # Updating the
apt database
2017-10-23 14:28:59,077 DEBUG build/debian-cd stdout: Get:1
file:/home/testuser/scdd/tmp/mirror sid InRelease
2017-10-23 14:28:59,078 DEBUG build/debian-cd stdout: Ign:1
file:/home/testuser/scdd/tmp/mirror sid InRelease
2017-10-23 14:28:59,078 DEBUG build/debian-cd stdout: Get:2
file:/home/testuser/scdd/tmp/mirror sid Release [1,474 B]
2017-10-23 14:28:59,097 DEBUG build/debian-cd stdout: Get:2
file:/home/testuser/scdd/tmp/mirror sid Release [1,474 B]
2017-10-23 14:28:59,099 DEBUG build/debian-cd stdout: Get:3
file:/home/testuser/scdd/tmp/mirror sid Release.gpg
2017-10-23 14:28:59,099 DEBUG build/debian-cd stdout: Ign:3
file:/home/testuser/scdd/tmp/mirror sid Release.gpg
2017-10-23 14:28:59,143 DEBUG build/debian-cd stdout: Reading package lists...
2017-10-23 14:28:59,143 DEBUG build/debian-cd stderr: E: The
repository 'file:/home/testuser/scdd/tmp/mirror sid Release' is not
signed.
[...]

On stretch, debian-cd successfully fetches the package lists from the local
repo and stores them in tmp/cd-build/apt/$THIS_PKGSET/apt-state/lists/. On
sid, the error prevents the package lists from being retrieved. You can observe
the difference in behavior of apt-get directly by running the update command
with the arguments as specified in tmp/debian-cd/tools/apt-selection:

apt-get -q -o Dir::State::status=$APTTMP/$THIS_PKGSET/status \
-o Dir::State=$APTTMP/$THIS_PKGSET/apt-state/ \
-o Dir::Cache=$APTTMP/$THIS_PKGSET/apt-cache/ \
-o Dir::Etc=$APTTMP/$THIS_PKGSET/apt/ \
-o APT::Cache::AllVersions=0 \
-o APT::Cache::ShowVersion=1 \
-o APT::Architecture=$ARCH \
-o APT::Architectures::=$ARCH \
-o Acquire::Languages=none \
update

Cheers,
Austin