[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2019-08-22 Thread Nick Adams
@Ioanna ~25 second delay when connecting via SSH Happens most often during ansible playbook runs, wherein a single ssh connection is established, but multiple new sessions are created within that connection. Usually only happens on the 3rd or 4th run after a reboot. There are hundreds of

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2019-08-21 Thread Ioanna Alifieraki
@Nick What symptoms do you observe? Delays when ssh? Could you please share your reproducer or describe in which circumstances you hit the bug? Do you see any leaking scopes "ls -ld /run/systemd/transient/session-*.scope*" ? Lastly what version of systemd do you run? Thanks. -- You received

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2019-07-17 Thread Nick Adams
This still seems to be an issue. Running latest Bionic. # dpkg -s dbus | grep Version Version: 1.12.2-1ubuntu1.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2019-05-16 Thread Bug Watch Updater
** Changed in: systemd Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-10-29 Thread William Van Hevelingen
This bug does not appear to be resolved on Xenial as we are seeing scope file leakage causing systemctl to hang. We are running the version of dbus that contains the fix # dpkg -s dbus | grep Version Version: 1.10.6-1ubuntu3.3 -- You received this bug notification because you are a member of

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-09-18 Thread Drew Freiberger
Trusty versions of packages affected (I see there is a systemd update 229-4ubuntu19. Does this include the backported fixes from v230/v231 mentioned in comment #4?): ii dbus 1.10.6-1ubuntu3.1 amd64simple interprocess messaging system

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-09-18 Thread Drew Freiberger
** Tags added: canonical-bootstack canonical-is -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-09-18 Thread Drew Freiberger
Can we get this backported to trusty? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To manage

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-07-10 Thread Łukasz Zemczak
Since no one is able to verify the yakkety version of this SRU for so long, I am dropping the dbus version with the fix for the bug from yakkety-proposed. ** Changed in: dbus (Ubuntu Yakkety) Status: Fix Committed => Won't Fix -- You received this bug notification because you are a

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-06-01 Thread Łukasz Zemczak
Anyone else can reproduce the issue on yakkety as-is and can test the -proposed dbus packages? They're a bit stuck in -proposed for too long. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-04-06 Thread Bug Watch Updater
** Changed in: dbus Status: Unknown => Fix Released ** Changed in: dbus Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-24 Thread Dr. Jens Rosenboom
I've tried to reproduce this on a yakkety cloud instance as well as with lxc for some time, but sadly with no success. So I'm not sure whether this is still present in yakkety at all. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-23 Thread Łukasz Zemczak
A re-poke - could anyone with a yakkety system test the new dbus package in -proposed? I would like it to make its way to yakkety-proposed as well if possible. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-17 Thread Launchpad Bug Tracker
This bug was fixed in the package dbus - 1.10.6-1ubuntu3.3 --- dbus (1.10.6-1ubuntu3.3) xenial; urgency=medium * debian/dbus.user-session.upstart: - Temporarily revert latest changes as those seem to cause issues in the unity8 session on touch (LP: #1654241). -- Łukasz

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-16 Thread Dave Chiluk
@jan-huebner Please educate yourself about the stable release process and development process https://wiki.ubuntu.com/StableReleaseUpdates https://wiki.ubuntu.com/UbuntuDevelopment A regression was discovered in another component. This is the reason for the delay. This is very uncommon, but

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-13 Thread Jan Hübner
Thanks for your quick reply. I don't want to sound harsh or be the guy who is always complaining, but this is just so annoying. I can't test packages on production servers or run "testing" packages on them, even if known good, when it's company policy to only run stable/official packages

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-13 Thread Łukasz Zemczak
This takes much too longer than expected, it was supposed to migrate long time already. All because of that additional fix that got attached by another developer which caused some regression somewhere in another component *sigh*. I re-uploaded a new dbus to xenial-proposed with the other fix

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-13 Thread Jan Hübner
Oh come on, I monitor machines via SSH remote execution of scripts - Icinga logs in every minute. You might get the picture in regard to this bug. We're waiting for six month now. How should anyone take Ubuntu serious anymore? *sadface* -- You received this bug notification because you are a

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-10 Thread Łukasz Zemczak
The packages are still stuck in -proposed for xenial as there seems to be an issue with another patch that was released alongside of our fix. Until that's resolved we can't really do much... In the meantime, is there anyone with a yakkety device that could test the yakkety-proposed packages as

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-09 Thread Florian Bogner
Hi there, applying the given DBUS package from PROPOSED on 16.04 LTS as described above solved the issue for us as well. Thanks for all the work involved. Best regards, Florian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2017-01-04 Thread Keith Pawson
Hello We are running Gitlab on 16.04 LTS and had this issue which was really causing a lot of frustrations. I was waiting for the update to go through for about a month now and decided to apply this updated version. After applying it via proposed repository it has solved the issue for us as well.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-22 Thread Dave Chiluk
@Lukasz Looking good so far. Appears resolved with 1.10.6-1ubuntu3.2. Thanks, Dave. ** Tags removed: verification-needed ** Tags added: verification-done ** Tags removed: verification-done ** Tags added: verification-done-xenial -- You received this bug notification because you are a member

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-19 Thread Łukasz Zemczak
@Kai-Heng Thanks for giving those a spin, that's really good news! Would be good if we got a few more people testing those - this way we could revert the workaround and get the real fix released both upstream and downstream. @Laurent Thank you for testing the xenial package! Are there any

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-16 Thread Laurent Perrin
Hello, I just tested the package from Xenial proposed repository and it solved the issue for us. Here is the version of the package dbus: 1.10.6-1ubuntu3.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-16 Thread Timo Aaltonen
Hello Mike, or anyone else affected, Accepted dbus into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dbus/1.10.10-1ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-16 Thread Timo Aaltonen
Hello Mike, or anyone else affected, Accepted dbus into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dbus/1.10.6-1ubuntu3.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-14 Thread Kai-Heng Feng
Hi Lukasz, I found this issue when I use `systemd suspend` several hundred times. I can confirm that the dbus package with 'proper fix' in the PPA fixes the issue for my case. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-13 Thread Łukasz Zemczak
Hello Stan! The dbus packages for xenial and yakkety have been uploaded a long time ago (on the 25th of November actually) but are currently still sitting in the UNAPPROVED queue for each release. I'll poke the SRU team to take a look at those as soon as possible. I didn't expect this to take so

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-12-12 Thread Stan Hu
Lukasz, could we get an updated release for Ubuntu 16.04 (xenial)? We're finding that the latest kernel updates are overwriting our custom dbus packages, and we would prefer to have an official release soon. Thank you! -- You received this bug notification because you are a member of Ubuntu

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-25 Thread Łukasz Zemczak
** Changed in: dbus (Ubuntu Xenial) Status: Confirmed => In Progress ** Changed in: dbus (Ubuntu Yakkety) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-18 Thread Jan Hübner
I just had the chance to add the PPA and install the package. Rebooted the machine and will report. Ubuntu 16.04.1 LTS. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-16 Thread Łukasz Zemczak
While the workaround is being prepared to get SRUed to the stable releases, I prepared the dbus packages with the two patches Simon proposed for testing. https://launchpad.net/~sil2100/+archive/ubuntu/ppa Could anyone that was able to reproduce the original issue install the dbus packages from

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-15 Thread Łukasz Zemczak
** Description changed: + [Impact] + + The bug affects multiple users and introduces an user visible delay (~25 + seconds) on SSH connections after a large number of sessions have been + processed. This has a serious impact on big systems and servers running + our software. + + The currently

Re: [Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-14 Thread Pablo Carranza
We can try the proposed patched version in one worker at gitlab. It will get stressed quite fast On Nov 14, 2016 13:25, "Łukasz Zemczak" <1591...@bugs.launchpad.net> wrote: > @Shay: yes, we will prepare an SRU to the currently supported series > soon - but please note that the current 'fix' is,

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-14 Thread Łukasz Zemczak
@Shay: yes, we will prepare an SRU to the currently supported series soon - but please note that the current 'fix' is, in fact, just a workaround. But it works. @Simon: I can try finding some people that could reproduce this easily, prepare patched-up version of dbus with both the proposed fixes

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-13 Thread Shay
Will fix, 1.10.10-1ubuntu2, enter 16.04 LTS? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-11 Thread Simon McVittie
... er, that should be, I have some more ideas for testing on . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-11 Thread Simon McVittie
If you can reproduce this issue and you have an expendable machine or container to test it on, I have some more ideas on Bug #95263. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title:

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-11 Thread Simon McVittie
I have not been able to reproduce this on a Debian (jessie or sid) or Ubuntu (xenial) virtual machine prepared according to the instructions in autopkgtest-virt-qemu(1), even after reducing the pending_fd_timeout limit from 15 (2.5 minutes) to 150 (150ms) with this configuration in

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-07 Thread Łukasz Zemczak
** Changed in: dbus (Ubuntu Yakkety) Assignee: (unassigned) => Łukasz Zemczak (sil2100) ** Changed in: dbus (Ubuntu Yakkety) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-11-04 Thread Launchpad Bug Tracker
This bug was fixed in the package dbus - 1.10.10-1ubuntu2 --- dbus (1.10.10-1ubuntu2) zesty; urgency=medium * debian/patches/make-uid-0-immune-to-timeout.patch: - Add a test patch proposed by Simon McVittie upstream to fix bug LP: #1591411. -- Łukasz 'sil2100' Zemczak

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-21 Thread Łukasz Zemczak
I think I will just go forward and start preparing the release of dbus with this fix in zesty and then backporting it to yakkety and xenial. Upstream didn't seem to officially review the fix or provide any feedback on our test results, but the fix is enough high-priority to consider including it

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-21 Thread Łukasz Zemczak
** Also affects: dbus (Ubuntu Yakkety) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Yakkety) Importance: Undecided Status: New ** Changed in: dbus (Ubuntu Yakkety) Status: New => Confirmed ** Changed in: systemd (Ubuntu Yakkety) Status:

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-19 Thread Ben Parafina
Tested with Ubuntu Xenial, after using Mike Pontillo's While loop hammering 16x in parallel I couldn't reproduce after installing the modified dbus package. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-13 Thread autostatic
Tested with an Openstack 16.04 instance and having Mike Pontillo's while loop hammering ten times in parallel on it. With dbus 1.10.6-1ubuntu3 I quickly got logins taking about 25 seconds, after having installed the dbus package from the sil2100 PPA I couldn't reproduce the issue anymore. Jeremy

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-13 Thread Łukasz Zemczak
** Changed in: dbus (Ubuntu Xenial) Assignee: (unassigned) => Łukasz Zemczak (sil2100) ** Changed in: dbus (Ubuntu) Assignee: (unassigned) => Łukasz Zemczak (sil2100) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-13 Thread Łukasz Zemczak
Excellent, let me forward these comments to the upstream bug. We'll still wait for a few more people to test it out with this change applied and then try to release it to the latest series + back-porting to xenial at least. Of course we can do that instantly once upstream accepts the patch, but

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-13 Thread Finn Herpich
I can confirm too that Łukasz latest version fixes the bug for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-11 Thread Ivan Kozik
It works fine with the new test package in your PPA. I ran an SSH login flood for 10 minutes and didn't see systemd-logind fall over. I then purged the PPA and confirmed it was still broken without the test package (it dies after about 2 minutes / 5000 logins). -- You received this bug

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-11 Thread Łukasz Zemczak
I have prepared another xenial dbus package in my PPA containing the second WIP proposed fix from the upstream bug [1]. If you could give a try on reproducing the issue using dbus 1.10.6-1ubuntu3.1~test2 from this place, I would be grateful: https://launchpad.net/~sil2100/+archive/ubuntu/ppa

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-10-05 Thread Łukasz Zemczak
Sadly upstream still didn't agree on a concrete fix, as the one that was confirmed as working was actually reintroducing a security vulnerability. We tried one of the other proposed fixes but it didn't seem to help. I'll try to push a new dbus version with another of the proposed fixes, but there

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-09-30 Thread Ken Baker
Are there any updates on fixing this in xenial/16.04? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-29 Thread Jared Biel
We have some servers that host git mirrors accessed via SSH that are affected by this. Restarting systemd-logind via cron every 5 minutes works for us (no full system restart necessary.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-26 Thread Ivan Kozik
I don't think there's any change with the dbus from https://launchpad.net/~sil2100/+archive/ubuntu/ppa. I tried it twice (across reboots) and systemd-logind still breaks after a few minutes of flooding the system with SSH logins. `loginctl list-sessions` also still seems to grow without cleaning

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-22 Thread Łukasz Zemczak
In https://launchpad.net/~sil2100/+archive/ubuntu/ppa I did a test-build of dbus with one of the other WIP proposed patches from https://bugs.freedesktop.org/show_bug.cgi?id=95263 if anyone would like to test those and see if they help. Might be good if we gave some additional feedback to the

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-22 Thread Laurent Bigonville
I would really advise AGAINST setting "UsePAM" to "no" This will cause other issues like not properly killing the user applications if the machine is rebooted/shutdown (like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751636) ** Bug watch added: Debian Bug tracker #751636

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-22 Thread Laurent Bigonville
** Also affects: systemd via https://github.com/systemd/systemd/issues/1961 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title:

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-19 Thread Ivan Kozik
Some hints for using Ubuntu 16.04 machines that can't be rebooted to work around this bug: 1) You can keep your SSH logins a secret from systemd-logind by adding `UsePAM no` to /etc/ssh/sshd_config; this will avoid the ~25 second delay. 2) `UsePAM no` requires unlocked accounts (passwd -u) with

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-16 Thread Alberto Salvia Novella
** Changed in: dbus (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: dbus (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title:

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-16 Thread Simon McVittie
> I am still not 100% sure if it is considered ready for prime time As far as I can tell, Lennart's proposed patch on fd.o #95263 would reintroduce CVE-2014-3637 (fd.o #80559), a denial of service security vulnerability. ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2014-3637

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-16 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To manage notifications

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-16 Thread Łukasz Zemczak
Ok, with everyone confirming that the systemd patch is not required, I am closing the systemd part of the bug as 'Invalid' - let's only concentrate on the dbus part here. That being said, I would not like to release a new patch for dbus downstream if the patch hasn't been fully reviewed and

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-13 Thread Martin Pitt
** Also affects: dbus via https://bugs.freedesktop.org/show_bug.cgi?id=95263 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title:

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Stan Hu
FYI, the dbus patches were written by Lennart Poettering and submitted here for review: https://bugs.freedesktop.org/show_bug.cgi?id=95263#c13 ** Bug watch added: freedesktop.org Bugzilla #95263 https://bugs.freedesktop.org/show_bug.cgi?id=95263 -- You received this bug notification because

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Pablo Carranza
Thanks for sponsoring Mike! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To manage

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Pablo Carranza
And Łukasz :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To manage notifications about

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Stan Hu
That's correct: only the dbus patch is absolutely necessary, but since the patch wasn't merged yet to dbus I am still not 100% sure if it is considered ready for prime time. It seems to work for us. As Łukasz observed, the systemd patch is a lot more extensive. Even though it was merged to

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To manage notifications

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Mike Pontillo
Actually, please disregard the portion of my previous comment where I suspected we should consider patching systemd as well. I no longer think that is necessary. (My test case was flawed.) After correcting the issue (ensuring I was running with the properly-updated dbus fix), I was able to run

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Mike Pontillo
I would like to thank the GitLab team for their excellent work triaging this issue (and getting a patch ready). Very nice work. I tested the version of dbus in Stan Hu's PPA here: https://launchpad.net/~stanhu/+archive/ubuntu/dbus After updating dbus to the version in this PPA, I ran my "ssh to

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Łukasz Zemczak
** Patch added: "Debdiff of the back-ported systemd patch" https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1591411/+attachment/4719736/+files/systemd_229-4ubuntu8.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Łukasz Zemczak
I backported the 230 fix for systemd to the xenial version of the package and started a test-build in my PPA. The patch didn't apply cleanly so I had to do some manual interventions - also, the changeset is pretty big itself. Since I am not a systemd maintainer I would prefer Martin to take a look

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Łukasz Zemczak
** Also affects: dbus (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Łukasz Zemczak
** Changed in: systemd (Ubuntu) Assignee: Łukasz Zemczak (sil2100) => (unassigned) ** Changed in: systemd (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Łukasz Zemczak
** Also affects: systemd (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: systemd (Ubuntu Xenial) Status: New => Confirmed ** Changed in: systemd (Ubuntu Xenial) Importance: Undecided => Medium -- You received this bug notification because you are a member

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-12 Thread Łukasz Zemczak
Hello Pablo and Stan! I could try sponsoring the patches that you need for fixing these issues. Just so I know the solution story: to get this issue fixed both systemd and dbus need their patches, yes? ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Łukasz Zemczak (sil2100) --

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-09 Thread Pablo Carranza
Hi, for back reference you can see our progress in the GitLab.com issue: https://gitlab.com/gitlab-com/infrastructure/issues/290 You can see a graph of behavior before and after the dbus update and the host reboot here: https://gitlab.com/gitlab- com/infrastructure/issues/290#note_13607928 I

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-04 Thread Stan Hu
This is biting us and our customers quite a bit. More relevant links: https://github.com/systemd/systemd/issues/1961 dbus patch: https://bugs.freedesktop.org/attachment.cgi?id=123493 ** Bug watch added: github.com/systemd/systemd/issues #1961 https://github.com/systemd/systemd/issues/1961

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-08-03 Thread Stan Hu
There are two patches that relate to this problem. systemd: https://github.com/systemd/systemd/pull/3191 dbus: https://bugs.freedesktop.org/show_bug.cgi?id=95264 The systemd patch was merged in https://github.com/systemd/systemd/commit/5ab42bc85a11a5250dcdf8e86291d3da90aa84bd and released in

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-07-01 Thread Alberto Salvia Novella
** Changed in: systemd (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-06-15 Thread Christian Reis
** Tags added: cdo-qa-blocker -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay To manage

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-06-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1591411 Title:

[Bug 1591411] Re: systemd-logind must be restarted every ~1000 SSH logins to prevent a ~25 second delay

2016-06-10 Thread Mike Pontillo
Here's my (sad) workaround: $ sudo crontab -l 1,11,21,31,41,51 * * * * service systemd-logind restart ** Description changed: I noticed on a system that accepts large numbers of SSH connections that after awhile, SSH sessions were taking ~25 seconds to complete. Looking in