[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
This bug was fixed in the package openssh - 1:7.2p2-4ubuntu2.1 --- openssh (1:7.2p2-4ubuntu2.1) xenial-security; urgency=medium * SECURITY UPDATE: user enumeration via covert timing channel - debian/patches/CVE-2016-6210-1.patch: determine appropriate salt for invalid users in auth-passwd.c, openbsd-compat/xcrypt.c. - debian/patches/CVE-2016-6210-2.patch: mitigate timing of disallowed users PAM logins in auth-pam.c. - debian/patches/CVE-2016-6210-3.patch: search users for one with a valid salt in openbsd-compat/xcrypt.c. - CVE-2016-6210 * SECURITY UPDATE: denial of service via long passwords - debian/patches/CVE-2016-6515.patch: skip passwords longer than 1k in length in auth-passwd.c. - CVE-2016-6515 -- Marc DeslauriersThu, 11 Aug 2016 08:38:27 -0400 ** Changed in: openssh (Ubuntu Xenial) Status: Fix Committed => Fix Released ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2016-6210 ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2016-6515 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Xenial: Fix Released Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
Hi Brian, I have tested the updated packages (1:7.2p2-4ubuntu2) and can confirm that they resolve the issue for us. Tags updated. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Xenial: Fix Committed Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
** Changed in: openssh (Ubuntu Xenial) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Xenial: Fix Committed Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
Hello Gustavo, or anyone else affected, Accepted openssh into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openssh/1:7.2p2-4ubuntu2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: openssh (Ubuntu Xenial) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Xenial: Fix Committed Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
I uploaded a xenial fix to the SRU review queue. ** Changed in: openssh (Ubuntu Xenial) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Xenial: In Progress Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
This bug was fixed in the package openssh - 1:7.2p2-8 --- openssh (1:7.2p2-8) unstable; urgency=medium [ Colin Watson ] * Stop enabling ssh-session-cleanup.service by default; instead, ship it as an example and add a section to README.Debian. libpam-systemd >= 230 and "UsePAM yes" should take care of the original problem for most systemd users (thanks, Michael Biebl; closes: #832155). [ Martin Pitt ] * Add debian/agent-launch: Helper script for conditionally starting the SSH agent in the user session. Use it in ssh-agent.user-session.upstart. * Add systemd user unit for graphical sessions that use systemd. Override the corresponding upstart job in that case (closes: #832445). * debian/openssh-server.if-up: Don't block on a finished reload of openssh.service, to avoid deadlocking with restarting networking. (closes: #832557, LP: #1584393) -- Colin WatsonFri, 29 Jul 2016 02:51:32 +0100 ** Changed in: openssh (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Fix Released Status in openssh source package in Xenial: Confirmed Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
** Changed in: openssh (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Status in openssh source package in Xenial: Confirmed Status in openssh package in Debian: Fix Released Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
** Changed in: openssh (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Status in openssh source package in Xenial: Confirmed Status in openssh package in Debian: New Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
I forwarded the patch to Debian, as we currently keep the package in sync and Colin wants to keep it that way. I'll SRU this to xenial once it lands in yakkety. ** Bug watch added: Debian Bug tracker #832557 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832557 ** Also affects: openssh (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832557 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Status in openssh source package in Xenial: Confirmed Status in openssh package in Debian: Unknown Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
This looks good as well - reverted to an original (unpatched) image and verified the timeout was present.. Applied this patch and I haven't been able to reproduce the timeout. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Status in openssh source package in Xenial: Confirmed Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
> --job-mode=ignore-dependencies still keeps ReloadPropagatedTo=. If not, we need something else. It doesn't, and indeed that would make --job-mode=ignore-dependencies a bit pointless. So we would apply this generally, we would break e. g. some postinst script that does "invoke-rc.d openvpn reload", and the reload of openvpn.service should then be propagated to all openvpn@*.service instances. So let's be more cautious here and limit this to openssh. Please revert the patch to invoke-rc.d (sudo apt-get install --reinstall init-system- helpers), and run sudo patch /etc/network/if-up.d/openssh-server /tmp/openssh-server.patch instead, and verify that this helps? Thanks! ** Patch added: "proposed patch to /etc/network/if-up.d/openssh-server" https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+attachment/4701238/+files/openssh-server.patch ** Also affects: openssh (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: openssh (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Status in openssh source package in Xenial: Confirmed Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
I discussed that patch with Michael Biebl -- we need to ensure that this does not break things like openvpn.service → openvpn@.service, i. e. that --job-mode=ignore-dependencies still keeps ReloadPropagatedTo=. If not, we need something else. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
I discussed that patch with Michael Biebl -- we need to ensure that this does not break things like openvpn.service → openvpn@.service, i. e. that --job-mode=ignore-dependencies still keeps ReloadPropagatedTo=. If not, we need something else. ** Changed in: openssh (Ubuntu) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: In Progress Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
My initial testing on this looks good - after applying the patch I wasn't able to trigger the timeout that we were seeing before. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Incomplete Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Incomplete Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
I still cannot reproduce this. In a xenial cloud instance I ran for i in `seq 50`; do systemctl reset-failed networking; systemctl restart networking; done successfully, this is with a standard /etc/network/interfaces.d/50 -cloud-init.cfg with just "auto ens3" and "iface ens3 inet dhcp" and no other interface (besides lo). We can fix this case more centrally in invoke-rc.d though; this is only safe for "reload" and "force-reload", but that will cover this networking/openssh deadlock. If you can reproduce this, please apply this patch to invoke-rc.d: sudo patch /usr/sbin/invoke-rc.d /tmp/invoke-rc.d.patch and confirm that this fixes it. Thanks! ** Patch added: "invoke-rc.d patch" https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+attachment/4700609/+files/invoke-rc.d.patch ** Changed in: openssh (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) ** Changed in: openssh (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Incomplete Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
This indeed looks like a deadlock. It could be broken by openssh's if- up.d script if it reloads ssh asynchronously instead of blocking on it. It would be even better to finally get rid of this silly hack and make openssh use IP_FREEBIND properly :-) I'm very reluctant to make invoke-rc.d reload itself async. This is too regression prone, as a scripts might depend on the reload actually being done after the call. Also, low priority. Restarting "networking" has never worked under upstart at all, and it mostly works now (can't reproduce this on several machines). So this is mostly a case of "don't do that then".. ** Package changed: ifupdown (Ubuntu) => openssh (Ubuntu) ** Changed in: openssh (Ubuntu) Importance: Undecided => Low ** Changed in: openssh (Ubuntu) Status: Confirmed => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in openssh package in Ubuntu: Triaged Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
** Changed in: ifupdown (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ifupdown in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in ifupdown package in Ubuntu: Confirmed Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
I've reproduced this on GCE also. Here's what ssh.service looks like during the hang (and it looks like the reload hasn't affected it): $ sudo systemctl status ssh.service ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2016-06-23 08:32:11 UTC; 6min ago Process: 2702 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Main PID: 1643 (sshd) Tasks: 1 Memory: 3.8M CPU: 108ms CGroup: /system.slice/ssh.service └─1643 /usr/sbin/sshd -D Jun 23 08:32:11 xenial-160623-0931 systemd[1]: Started OpenBSD Secure Shell server. Jun 23 08:32:17 xenial-160623-0931 sshd[1747]: Accepted publickey for ubuntu from 86.179.225.58 port 46404 ssh2: RSA SHA256:HRlolnELGM4aMQXejVDjc0kWktid481/BsLIHtc7Tv0 Jun 23 08:32:17 xenial-160623-0931 sshd[1747]: pam_unix(sshd:session): session opened for user ubuntu by (uid=0) Jun 23 08:37:17 xenial-160623-0931 systemd[1]: Reloading OpenBSD Secure Shell server. Jun 23 08:37:17 xenial-160623-0931 sshd[1643]: Received SIGHUP; restarting. Jun 23 08:37:17 xenial-160623-0931 systemd[1]: Reloaded OpenBSD Secure Shell server. Jun 23 08:37:17 xenial-160623-0931 sshd[1643]: Server listening on 0.0.0.0 port 22. Jun 23 08:37:17 xenial-160623-0931 sshd[1643]: Server listening on :: port 22. Jun 23 08:37:22 xenial-160623-0931 sshd[3134]: Accepted publickey for ubuntu from 86.179.225.58 port 46520 ssh2: RSA SHA256:HRlolnELGM4aMQXejVDjc0kWktid481/BsLIHtc7Tv0 Jun 23 08:37:22 xenial-160623-0931 sshd[3134]: pam_unix(sshd:session): session opened for user ubuntu by (uid=0) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ifupdown in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in ifupdown package in Ubuntu: Confirmed Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1584393] Re: systemctl restart networking hangs reloading ssh.service
When networking is hung, stopping ssh.service will also resolve the hang, but reloading or restating ssh.service will hang as well. There are no problems restarting or reloading ssh.service in other circumstances. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ifupdown in Ubuntu. https://bugs.launchpad.net/bugs/1584393 Title: systemctl restart networking hangs reloading ssh.service Status in ifupdown package in Ubuntu: New Bug description: Issues "systemctl restart networking" never exits. It hangs during a call to "systemctl reload ssh.service": ● networking.service - Raise network interfaces Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled) Drop-In: /run/systemd/generator/networking.service.d └─50-insserv.conf-$network.conf Active: activating (start) since Sat 2016-05-21 21:41:58 UTC; 18s ago Docs: man:interfaces(5) Process: 1288 ExecStop=/sbin/ifdown -a --read-environment (code=exited, status=0/SUCCESS) Process: 1376 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] & Main PID: 1383 (ifup) Tasks: 7 (limit: 512) Memory: 1.8M CPU: 111ms CGroup: /system.slice/networking.service ├─1383 /sbin/ifup -a --read-environment ├─1479 /sbin/dhclient -1 -v -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6 ├─1480 /bin/sh -c /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1481 /bin/run-parts --exit-on-error /etc/network/if-up.d ├─1504 /bin/sh /etc/network/if-up.d/openssh-server ├─1507 /bin/sh /usr/sbin/invoke-rc.d ssh reload └─1527 systemctl reload ssh.service Then issuing the same command from another terminal causes the first to exit successfully (the second also exists successfully). On the official vagrant image, I get this problem independently of whether the command is issued through and ssh session. I've gotten the same behavior on the official xenial AMIs. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ifupdown 0.8.10ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 Date: Sat May 21 21:35:08 2016 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: ifupdown UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1584393/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp