Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1101357 > unrolled thread
| Started by | zm5s-trnc <stephane.tranchemer@asahinet.com> |
|---|---|
| First post | 2022-04-26 06:10 +0200 |
| Last post | 2022-05-12 10:30 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#826044: Hangs in apt hook with a zombie - problem still exists in debian10 zm5s-trnc <stephane.tranchemer@asahinet.com> - 2022-04-26 06:10 +0200
Bug#826044: Hangs in apt hook with a zombie - problem still exists in debian10 zm5s-trnc <stephane.tranchemer@asahinet.com> - 2022-05-10 11:10 +0200
Bug#826044: Hangs in apt hook with a zombie - problem still exists in debian10 Thomas Liske <thomas@fiasko-nw.net> - 2022-05-11 23:20 +0200
Bug#826044: Hangs in apt hook with a zombie - problem still exists in debian10 zm5s-trnc <stephane.tranchemer@asahinet.com> - 2022-05-12 10:30 +0200
| From | zm5s-trnc <stephane.tranchemer@asahinet.com> |
|---|---|
| Date | 2022-04-26 06:10 +0200 |
| Subject | Bug#826044: Hangs in apt hook with a zombie - problem still exists in debian10 |
| Message-ID | <EgkGt-beTx-1@gated-at.bofh.it> |
Poking around I found this, could there be a relationship ?
├─sshd,14441
│ └─sh,14736 -c /usr/bin/python
/root/.ansible/tmp/ansible-tmp-1650945060.61-15873-131215080055549/AnsiballZ_apt.py
&& sleep 0
│ └─python,14737
/root/.ansible/tmp/ansible-tmp-1650945060.61-15873-131215080055549/AnsiballZ_apt.py
│ └─aptitude,15251 -y -o Dpkg::Options::=--force-confdef -o
Dpkg::Options::=--force-confold safe-upgrade
│ ├─aptitude,21329 -y -o
Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
safe-upgrade
│ │ └─sh,21330 -c test -x
/usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true
│ │ └─frontend,21331 -w
/usr/share/debconf/frontend /usr/sbin/needrestart
│ │ └─(needrestart,21335)
│ └─{aptitude},15256
# /usr/sbin/needrestart
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
another process: Resource temporarily unavailable
# lsof /var/cache/debconf/config.dat
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
frontend 21331 root 4uW REG 254,2 31187 131278
/var/cache/debconf/config.dat
A needrestart process is spawned but due to
/var/cache/debconf/config.dat locked by frontend it is unable to process.
Of course may be unrelated.
[toc] | [next] | [standalone]
| From | zm5s-trnc <stephane.tranchemer@asahinet.com> |
|---|---|
| Date | 2022-05-10 11:10 +0200 |
| Message-ID | <Elu2u-evTA-3@gated-at.bofh.it> |
| In reply to | #1101357 |
Ho great...
Found out that there's the same trouble on some debian9 hosts.
I say some because not all servers did the blockage.
# cat /etc/debian_version
9.13
# dpkg -l | grep needrestart
ii needrestart 2.11-3+deb9u1 all check
which daemons need to be restarted after library upgrades
├─sshd,2094
│ ├─sshd,24499
│ │ └─sh,24594 -c /usr/bin/python
/root/.ansible/tmp/ansible-tmp-1652172426.49-4195-68636559789086/AnsiballZ_apt.py
&& sleep 0
│ │ └─python,24595
/root/.ansible/tmp/ansible-tmp-1652172426.49-4195-68636559789086/AnsiballZ_apt.py
│ │ └─aptitude,24910 -y -o
Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
safe-upgrade
│ │ ├─aptitude,30264 -y -o
Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
safe-upgrade
│ │ │ └─sh,30265 -c test -x
/usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true
│ │ │ └─needrestart,30266 /usr/sbin/needrestart
│ │ │ └─(10-dpkg,30299)
│ │ └─{aptitude},24914
[toc] | [prev] | [next] | [standalone]
| From | Thomas Liske <thomas@fiasko-nw.net> |
|---|---|
| Date | 2022-05-11 23:20 +0200 |
| Message-ID | <Em1Ut-eQ0a-3@gated-at.bofh.it> |
| In reply to | #1102700 |
Hi,
you are using some ansible deployment? Could you share your ansible
role?
This is a long-standing bug and it feels like that affected users are
using aptitude. I wonder if this is related - could you give it a try
(force_apt_get task parameter)?
Regards,
Thomas
On Tue, 2022-05-10 at 18:00 +0900, zm5s-trnc wrote:
> Ho great...
>
> Found out that there's the same trouble on some debian9 hosts.
> I say some because not all servers did the blockage.
>
>
> # cat /etc/debian_version
> 9.13
> # dpkg -l | grep needrestart
> ii needrestart 2.11-3+deb9u1 all check
> which daemons need to be restarted after library upgrades
>
>
> ├─sshd,2094
> │ ├─sshd,24499
> │ │ └─sh,24594 -c /usr/bin/python
> /root/.ansible/tmp/ansible-tmp-1652172426.49-4195-
> 68636559789086/AnsiballZ_apt.py
> && sleep 0
> │ │ └─python,24595
> /root/.ansible/tmp/ansible-tmp-1652172426.49-4195-
> 68636559789086/AnsiballZ_apt.py
> │ │ └─aptitude,24910 -y -o
> Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
> safe-upgrade
> │ │ ├─aptitude,30264 -y -o
> Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold
> safe-upgrade
> │ │ │ └─sh,30265 -c test -x
> /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke
> || true
> │ │ │ └─needrestart,30266
> /usr/sbin/needrestart
> │ │ │ └─(10-dpkg,30299)
> │ │ └─{aptitude},24914
>
[toc] | [prev] | [next] | [standalone]
| From | zm5s-trnc <stephane.tranchemer@asahinet.com> |
|---|---|
| Date | 2022-05-12 10:30 +0200 |
| Message-ID | <EmcmR-eWee-7@gated-at.bofh.it> |
| In reply to | #1102844 |
On Wed, 11 May 2022 22:59:41 +0200 Thomas Liske <thomas@fiasko-nw.net> wrote: > Hi, > > you are using some ansible deployment? Could you share your ansible > role? > > This is a long-standing bug and it feels like that affected users are > using aptitude. I wonder if this is related - could you give it a try > (force_apt_get task parameter)? Yes, using Ansible. There's nothing special in it. - name: Debian | Ensure Debian upgraded apt: update_cache: yes upgrade: "yes" tags: - os_force_upgrade
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web