Comments (5)
This also impacts the upgrade
feature:
[ec2-user@wott-aws-linux-1 ~]$ sudo wott-agent upgrade qemu-guest-agent
wott-agent version wott-agent 0.1.5.800
upgrade packages: ['qemu-guest-agent']
The following packages will be upgraded:
Confirm: [y/N]y
python-iptables: match "state" already registered
[ec2-user@wott-aws-linux-1 ~]$
from agent.
This appears to affect Debian too:
mvip@wott-debian-buster:~$ sudo wott-agent upgrade libicu63
wott-agent version wott-agent 0.1.5.801-6c71abb
upgrade packages: ['libicu63']
Hit http://security.debian.org/debian-security buster/updates InRelease
Hit http://deb.debian.org/debian buster InRelease
Hit http://deb.debian.org/debian buster-updates InRelease
Hit https://packagecloud.io/wott/agent/debian buster InRelease
Fetched 0 B in 0s (0 B/s)
The following packages will be upgraded:
Confirm: [y/N]python-iptables: match "state" already registered
mvip@wott-debian-buster:~$
from agent.
ldx/python-iptables#282
From what I understood, the new version of iptables
has this incompatibility with the python3-iptables
(0.13) which is unfortunately not being updated in newer Debians.
we can try the hacks and workarounds given there. Or think of smth else.
from agent.
The commit chruss2/python-iptables@282c790 which fixes the crash is not in
Debian Upstream yet. For Debian/Ubuntu we have the following options:
- build the newest python-iptables deb from source using fpm (the same way we build for Amazon Linux)
- build the newest python-iptables deb from source using Debian build scripts
- merge chruss2/python-iptables@282c790 into 0.13.0-2 or 0.14.0_ds-1 (whichever is possible) and build a deb from there.
I would prefer 3. because this way we most probably avoid breaking other components which use python-iptables. But If it turns out impossible then try 2. 1. is a fallback.
On Amazon Linux it should be enough to just build the rpm from Github source, not from pip, which is also obsolete.
All of this will work provided that the fixing commit does the job, of course.
from agent.
Since the fix is already in python-iptables upstream repo, we can expect it to be released with the next version of the package. So, as a temporary solution it's enough to monkey-patch a couple of methods with this bug. See my PR: #289
from agent.
Related Issues (20)
- Set User-Agent header
- Implement functinality to patch system based on recommended actions HOT 5
- Installation fails on Debian Jessie HOT 2
- Add audit of Docker containers HOT 2
- Add environment/cloud detection HOT 3
- "Automatic security updates" fail to detect on Debian/Aws Linux HOT 2
- Improve sshd detection/logic HOT 3
- Fix self-update script for agent HOT 2
- Detect and send kernel metapacakages HOT 1
- Detect VirtualBox and suppress heartbleed/spectre
- Add support for Ubuntu 18.10 HOT 2
- Fix installation error on Ubuntu 16.04 HOT 4
- Implement CIS Benchmarks for OpenSSH (section 5.2) the Ubuntu guide. HOT 5
- Audit/Detect SSH keys
- Self-update code is broken on AWS Linux
- Certificate renewal broken on AWS Linux HOT 2
- Resolve kernel detection
- Formatting issue in post-install message
- Investigate CPU usage spike on Ubuntu HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agent.