Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needrestart hangs with LXD containers #43

Closed
lenucksi opened this issue Oct 9, 2016 · 9 comments
Closed

Needrestart hangs with LXD containers #43

lenucksi opened this issue Oct 9, 2016 · 9 comments
Assignees
Labels

Comments

@lenucksi
Copy link

lenucksi commented Oct 9, 2016

I use needrestart with a standard Ubuntu 16.04 together with LXD (basically LXC+scripting, see https://linuxcontainers.org/lxd/ ) containers using the package provided by Ubuntu.
Needrestart runs fine, however hangs after the check started by aptitude.

SET needrestart/ui-query_conts LXC container/system.slice/avahi-daemon.service, LXC container/system.slice/dbus.service

It usually suffices to CTRL-C the process, however this is a problem with unattended updates...
#26 appears to be relevant to this case too.

@lenucksi
Copy link
Author

This ends up locking apt-databases due to hanging nightly update jobs that can not properly terminate the package manager due this bug.

@liske liske added the bug label Oct 31, 2016
@liske liske self-assigned this Oct 31, 2016
@liske liske modified the milestones: v2.9, v2.10 Oct 31, 2016
@liske
Copy link
Owner

liske commented Oct 31, 2016

Hi,

you should never see the debconf stuff (SET ...) on you TTY. It seems something breaks the pipe setup between debconf and needrestart.

@liske liske modified the milestones: v2.11, v2.10 Nov 3, 2016
@liske
Copy link
Owner

liske commented Jan 15, 2017

You are using needrestart 2.6, didn't you? There is a bug before needrestart 2.8 which was fixed by 0131e9f breaking debconf for the container selection.

@liske liske closed this as completed Jan 15, 2017
@lenucksi
Copy link
Author

I was actually using needrestart version 2.9.

@liske
Copy link
Owner

liske commented Jan 16, 2017

Could you give git HEAD a try? You will find a most recently build Debian package attached to #54 (comment)

@liske liske reopened this Jan 16, 2017
@lenucksi
Copy link
Author

Thanks, I'll report a new status once I've got a situation that should trigger the bug.

@liske liske modified the milestones: v2.12, v2.11 Jan 28, 2017
@liske
Copy link
Owner

liske commented Feb 10, 2017

Please use the offical packages 2.11-2 from jessie-backports or stretch for further troubleshooting. Thanks!

@liske liske added the moreinfo label Feb 10, 2017
@lenucksi
Copy link
Author

Could you try to bring that into Ubuntu or provide a Ubuntu PPA for it too?

@liske
Copy link
Owner

liske commented Dec 22, 2017

I'm not using Ubuntu at all so I'm not going to provide any PPA for it. I'll close this issue, feel free to reopen it if you where able to reproduce the bug with needrestart 2.11+ so we can do further debugging.

@liske liske closed this as completed Dec 22, 2017
@liske liske removed this from the v2.12 milestone Dec 22, 2017
@liske liske removed the bug label Dec 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants