[Bug 1868706] Re: Snapd postinst script hangs
Balint Reczey
balint.reczey at canonical.com
Thu Mar 26 11:21:26 UTC 2020
@sabdfl How was dpkg started? As root systemctl should not ask for
password.
@stolowski The snapd version seems to be a git snapshot, not one from
the archive.
Marking as invalid for dpkg and systemd because nothing shows that there
would be any issue with their behaviour. Please reopen the bug against
one of them if the root cause seem to be in them.
** Changed in: systemd (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1868706
Title:
Snapd postinst script hangs
Status in snapd:
Triaged
Status in dpkg package in Ubuntu:
Invalid
Status in systemd package in Ubuntu:
Invalid
Bug description:
On a machine which has been tracking upgrades for a while, I am unable
to install new versions of snapd. The install process stalls
indefinitely. Processes running suggest this is a hang in the
postinst:
~$ ps ax | grep dpkg
2388 pts/1 Ss+ 0:00 /usr/bin/dpkg --status-fd 25 --configure --pending
2389 pts/1 S+ 0:00 /bin/sh /var/lib/dpkg/info/snapd.postinst configure 2.43.3+git1.8109f8
2875 pts/2 S+ 0:00 grep --color=auto dpkg
~$ pstree 2388
dpkg───snapd.postinst───systemctl───systemd-tty-ask
~$ ps ax | grep snapd
732 ? Ssl 0:00 /usr/lib/snapd/snapd
2389 pts/1 S+ 0:00 /bin/sh /var/lib/dpkg/info/snapd.postinst configure 2.43.3+git1.8109f8
2452 pts/1 S+ 0:00 /bin/systemctl start snapd.autoimport.service snapd.core-fixup.service snapd.recovery-chooser-trigger.service snapd.seeded.service snapd.service snapd.snap-repair.timer snapd.socket snapd.system-shutdown.service
2880 pts/2 S+ 0:00 grep --color=auto snapd
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1868706/+subscriptions
More information about the foundations-bugs
mailing list