services fail to start with "Failed to subscribe to NameOwnerChanged signal: Connection timed out"

Bug #1509762 reported by Naz Ahmed
4
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Upstream bug: https://github.com/systemd/systemd/issues/1505

After successful upgrading to Ubuntu 15.10 from 15.04, restart system option couldn't boot, seemed in a loop, showing mouse pointer in the center of the screen for few seconds and then a blinking cursor at the upper left corner, instead. Used Ctrl+Alt+Del to reboot and selected Upstart option which successfully booted the system but showing a message like "Upstart; Error while reading from descriptor, broken pipe."
On my next attempt to boot using default systemd option I observed a message like "Systemd(1) Failed to setup API Bus. Connection timed out." , and then saw a window saying like "running low graphic" and then went into the same loop.
Now, I can boot using Upstart option only not the systemd option.

I'm using Dell Optiplex 755 with NVIDIA 8400GS Graphic card,
Ubuntu 15.10 is installed on a external HD connected with one of external usb port.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: systemd 225-1ubuntu9
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu3
Architecture: i386
CurrentDesktop: Unity
Date: Sun Oct 25 11:57:44 2015
InstallationDate: Installed on 2014-10-10 (379 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
MachineType: Dell Inc. OptiPlex 755
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=2d1a4b9b-fccd-4a6a-9e7f-4da57834255a ro quiet splash init=/sbin/upstart
SourcePackage: systemd
SystemdDelta:
 [EXTENDED] /lib/systemd/system/rc-local.service → /lib/systemd/system/rc-local.service.d/debian.conf
 [EXTENDED] /lib/systemd/system/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
 [EXTENDED] /etc/systemd/system/display-manager.service → /lib/systemd/system/display-manager.service.d/xdiagnose.conf

 3 overridden configuration files found.
UpgradeStatus: Upgraded to wily on 2015-10-23 (1 days ago)
dmi.bios.date: 06/11/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A22
dmi.board.name: 0PU052
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 15
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA22:bd06/11/2012:svnDellInc.:pnOptiPlex755:pvr:rvnDellInc.:rn0PU052:rvr:cvnDellInc.:ct15:cvr:
dmi.product.name: OptiPlex 755
dmi.sys.vendor: Dell Inc.

Revision history for this message
Naz Ahmed (nazahmed88) wrote :
Revision history for this message
Naz Ahmed (nazahmed88) wrote :

The error doesn't affect me but annoyingly force me to change the boot option at grub menu failing which ends up in loopin boot process.

Revision history for this message
Martin Pitt (pitti) wrote :

That sounds like the sddm display manger crashes on startup. Please boot back with the default systemd option, wait until the graphical system stops trying to start (blinking text cursor), then press Ctrl+Alt+F2. You should see a "login:" prompt where you can log in instead. In this text mode, run

   sudo journalctl -b > journal.txt

then reboot back with upstart, and attach "journal.txt" in your home directory here. Thanks!

Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Naz Ahmed (nazahmed88) wrote : RE: [Bug 1509762] Re: After upgrade to Ubuntu 15.10, Systemd fail to boot
Download full text (4.6 KiB)

Hello,

Following your email, I attempted to get terminal log-in screen using ctrl+alt+F2 but, on each attempt, got a window informing that "System is running in low graphic mode. Your screen, graphic card, input devices could not be detected correctly. You'll have to configure these manually" providing various recovery options after pressing "ok" button at the bottom of the window, but none of the option worked and system seemed in the same loop. Surprisingly, during these attempts two or three times system booted normally without any problems but most of the attempts got failed. Lastly I used Ctrl+Alt+F1, that gave me log-in screen and finally I successfully logged-in and created journal.txt. Please note, while creating journal.txt, screen used to get blank continuously after few seconds and pressing Ctrl+Alt+F1 kept on refreshing the screen.

Please see the attached journal.txt, hope this is what you required.

Thanks and regards,

Naz Ahmed.

> Date: Mon, 26 Oct 2015 14:50:40 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1509762] Re: After upgrade to Ubuntu 15.10, Systemd fail to boot
>
> That sounds like the sddm display manger crashes on startup. Please boot
> back with the default systemd option, wait until the graphical system
> stops trying to start (blinking text cursor), then press Ctrl+Alt+F2.
> You should see a "login:" prompt where you can log in instead. In this
> text mode, run
>
> sudo journalctl -b > journal.txt
>
> then reboot back with upstart, and attach "journal.txt" in your home
> directory here. Thanks!
>
> ** Changed in: systemd (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509762
>
> Title:
> After upgrade to Ubuntu 15.10, Systemd fail to boot
>
> Status in systemd package in Ubuntu:
> Incomplete
>
> Bug description:
> After successful upgrading to Ubuntu 15.10 from 15.04, restart system option couldn't boot, seemed in a loop, showing mouse pointer in the center of the screen for few seconds and then a blinking cursor at the upper left corner, instead. Used Ctrl+Alt+Del to reboot and selected Upstart option which successfully booted the system but showing a message like "Upstart; Error while reading from descriptor, broken pipe."
> On my next attempt to boot using default systemd option I observed a message like "Systemd(1) Failed to setup API Bus. Connection timed out." , and then saw a window saying like "running low graphic" and then went into the same loop.
> Now, I can boot using Upstart option only not the systemd option.
>
> I'm using Dell Optiplex 755 with NVIDIA 8400GS Graphic card,
> Ubuntu 15.10 is installed on a external HD connected with one of external usb port.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 15.10
> Package: systemd 225-1ubuntu9
> ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
> Uname: Linux 4.2.0-16-generic i686
> NonfreeKernelModules: nvidia
> ApportVersion: 2.19.1-0ubuntu3
> Architecture: i386
> CurrentDesktop: Unity...

Read more...

Revision history for this message
Martin Pitt (pitti) wrote :

Ah, thanks! This looks like https://github.com/systemd/systemd/issues/1505, a bug that's rather hard to track down. I haven't seen it actually affecting version 225 as the functionality that triggers this isn't used anywhere in the distro; but you might have some third-party package installed which triggers this, or your system has just the right timing behaviour.

None of the developers understand yet what exactly happens there, but this is actively being debugged. So for now I'm afraid I don't have a good workaround for this, except booting with upstart (as you do). Thanks for getting the journal, this was really helpful!

summary: - After upgrade to Ubuntu 15.10, Systemd fail to boot
+ services fail to start with "Failed to subscribe to NameOwnerChanged
+ signal: Connection timed out"
Changed in systemd (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please enable this PPA and check whether boot is now working? https://launchpad.net/~pitti/+archive/ubuntu/sru-test

This patch has worked for me, it definitively fixes the boot failure with the exact same symptoms that you see; but I can't reproduce it on 225, just on (unpatched) 227; but I'm 99% sure it's the same bug.

Upgrading to the PPA is safe, aside from systemd with that one patch there is nothing else there.

Thanks!

Revision history for this message
Naz Ahmed (nazahmed88) wrote : RE: [Bug 1509762] Re: services fail to start with "Failed to subscribe to NameOwnerChanged signal: Connection timed out"
Download full text (4.0 KiB)

Applied the patch successfully but failed to reboot with the same symptoms, created journal1.txt please find attached herewith. On second attempt systemd worked fine.

Pls note yesterday applied partial upgrade as well.

Thanks for the help.

> Date: Fri, 30 Oct 2015 09:25:01 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1509762] Re: services fail to start with "Failed to subscribe to NameOwnerChanged signal: Connection timed out"
>
> Can you please enable this PPA and check whether boot is now working?
> https://launchpad.net/~pitti/+archive/ubuntu/sru-test
>
> This patch has worked for me, it definitively fixes the boot failure
> with the exact same symptoms that you see; but I can't reproduce it on
> 225, just on (unpatched) 227; but I'm 99% sure it's the same bug.
>
> Upgrading to the PPA is safe, aside from systemd with that one patch
> there is nothing else there.
>
> Thanks!
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509762
>
> Title:
> services fail to start with "Failed to subscribe to NameOwnerChanged
> signal: Connection timed out"
>
> Status in systemd package in Ubuntu:
> Confirmed
>
> Bug description:
> Upstream bug: https://github.com/systemd/systemd/issues/1505
>
> After successful upgrading to Ubuntu 15.10 from 15.04, restart system option couldn't boot, seemed in a loop, showing mouse pointer in the center of the screen for few seconds and then a blinking cursor at the upper left corner, instead. Used Ctrl+Alt+Del to reboot and selected Upstart option which successfully booted the system but showing a message like "Upstart; Error while reading from descriptor, broken pipe."
> On my next attempt to boot using default systemd option I observed a message like "Systemd(1) Failed to setup API Bus. Connection timed out." , and then saw a window saying like "running low graphic" and then went into the same loop.
> Now, I can boot using Upstart option only not the systemd option.
>
> I'm using Dell Optiplex 755 with NVIDIA 8400GS Graphic card,
> Ubuntu 15.10 is installed on a external HD connected with one of external usb port.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 15.10
> Package: systemd 225-1ubuntu9
> ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
> Uname: Linux 4.2.0-16-generic i686
> NonfreeKernelModules: nvidia
> ApportVersion: 2.19.1-0ubuntu3
> Architecture: i386
> CurrentDesktop: Unity
> Date: Sun Oct 25 11:57:44 2015
> InstallationDate: Installed on 2014-10-10 (379 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
> MachineType: Dell Inc. OptiPlex 755
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=2d1a4b9b-fccd-4a6a-9e7f-4da57834255a ro quiet splash init=/sbin/upstart
> SourcePackage: systemd
> SystemdDelta:
> [EXTENDED] /lib/systemd/system/rc-local.service → /lib/systemd/system/rc-local.service.d/debian.conf
> [EXTENDED] /lib/systemd/system/systemd-timesyncd.service → /lib/systemd/system/systemd-...

Read more...

Revision history for this message
Martin Pitt (pitti) wrote :

Naz Ahmed [2015-10-31 8:30 -0000]:
> Applied the patch successfully but failed to reboot with the same
> symptoms, created journal1.txt please find attached herewith. On second
> attempt systemd worked fine.

It's expected that you need a reboot before things will actually work.
(If in doubt, do the PPA upgrade under upstart). So did you *only* get
the connection timeouts in between upgrading the package and reboot,
or do you still see this from then on?

Revision history for this message
Naz Ahmed (nazahmed88) wrote :
Download full text (4.3 KiB)

- I did the PPA upgrade under upstart, then shutdown/restarted the system, got connection timeouts, acquired terminal using Ctrl+Alt+F1, created jounal1.txt.

- Attempted to boot the system with default systemd option successfully and sent you the email with jornal1.txt file.

- Since then, I'm booting the system using default systemd option successfully (this is third time that I got booted without connection timeouts)

- Please let me check this a few more times, I'll inform you if got connection timeouts again.

Thanks and regards.

> Date: Sat, 31 Oct 2015 09:10:43 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 1509762] Re: services fail to start with "Failed to subscribe to NameOwnerChanged signal: Connection timed out"
>
> Naz Ahmed [2015-10-31 8:30 -0000]:
> > Applied the patch successfully but failed to reboot with the same
> > symptoms, created journal1.txt please find attached herewith. On second
> > attempt systemd worked fine.
>
> It's expected that you need a reboot before things will actually work.
> (If in doubt, do the PPA upgrade under upstart). So did you *only* get
> the connection timeouts in between upgrading the package and reboot,
> or do you still see this from then on?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509762
>
> Title:
> services fail to start with "Failed to subscribe to NameOwnerChanged
> signal: Connection timed out"
>
> Status in systemd package in Ubuntu:
> Confirmed
>
> Bug description:
> Upstream bug: https://github.com/systemd/systemd/issues/1505
>
> After successful upgrading to Ubuntu 15.10 from 15.04, restart system option couldn't boot, seemed in a loop, showing mouse pointer in the center of the screen for few seconds and then a blinking cursor at the upper left corner, instead. Used Ctrl+Alt+Del to reboot and selected Upstart option which successfully booted the system but showing a message like "Upstart; Error while reading from descriptor, broken pipe."
> On my next attempt to boot using default systemd option I observed a message like "Systemd(1) Failed to setup API Bus. Connection timed out." , and then saw a window saying like "running low graphic" and then went into the same loop.
> Now, I can boot using Upstart option only not the systemd option.
>
> I'm using Dell Optiplex 755 with NVIDIA 8400GS Graphic card,
> Ubuntu 15.10 is installed on a external HD connected with one of external usb port.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 15.10
> Package: systemd 225-1ubuntu9
> ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
> Uname: Linux 4.2.0-16-generic i686
> NonfreeKernelModules: nvidia
> ApportVersion: 2.19.1-0ubuntu3
> Architecture: i386
> CurrentDesktop: Unity
> Date: Sun Oct 25 11:57:44 2015
> InstallationDate: Installed on 2014-10-10 (379 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
> MachineType: Dell Inc. OptiPlex 755
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic roo...

Read more...

Revision history for this message
Naz Ahmed (nazahmed88) wrote :
Download full text (3.9 KiB)

This is further to my previous email;

Fourth and fifth attempts failed again with connection timeouts. Please see journal2.txt.

Regards.

> Date: Sat, 31 Oct 2015 09:10:43 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: Re: [Bug 1509762] Re: services fail to start with "Failed to subscribe to NameOwnerChanged signal: Connection timed out"
>
> Naz Ahmed [2015-10-31 8:30 -0000]:
> > Applied the patch successfully but failed to reboot with the same
> > symptoms, created journal1.txt please find attached herewith. On second
> > attempt systemd worked fine.
>
> It's expected that you need a reboot before things will actually work.
> (If in doubt, do the PPA upgrade under upstart). So did you *only* get
> the connection timeouts in between upgrading the package and reboot,
> or do you still see this from then on?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1509762
>
> Title:
> services fail to start with "Failed to subscribe to NameOwnerChanged
> signal: Connection timed out"
>
> Status in systemd package in Ubuntu:
> Confirmed
>
> Bug description:
> Upstream bug: https://github.com/systemd/systemd/issues/1505
>
> After successful upgrading to Ubuntu 15.10 from 15.04, restart system option couldn't boot, seemed in a loop, showing mouse pointer in the center of the screen for few seconds and then a blinking cursor at the upper left corner, instead. Used Ctrl+Alt+Del to reboot and selected Upstart option which successfully booted the system but showing a message like "Upstart; Error while reading from descriptor, broken pipe."
> On my next attempt to boot using default systemd option I observed a message like "Systemd(1) Failed to setup API Bus. Connection timed out." , and then saw a window saying like "running low graphic" and then went into the same loop.
> Now, I can boot using Upstart option only not the systemd option.
>
> I'm using Dell Optiplex 755 with NVIDIA 8400GS Graphic card,
> Ubuntu 15.10 is installed on a external HD connected with one of external usb port.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 15.10
> Package: systemd 225-1ubuntu9
> ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
> Uname: Linux 4.2.0-16-generic i686
> NonfreeKernelModules: nvidia
> ApportVersion: 2.19.1-0ubuntu3
> Architecture: i386
> CurrentDesktop: Unity
> Date: Sun Oct 25 11:57:44 2015
> InstallationDate: Installed on 2014-10-10 (379 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
> MachineType: Dell Inc. OptiPlex 755
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=2d1a4b9b-fccd-4a6a-9e7f-4da57834255a ro quiet splash init=/sbin/upstart
> SourcePackage: systemd
> SystemdDelta:
> [EXTENDED] /lib/systemd/system/rc-local.service → /lib/systemd/system/rc-local.service.d/debian.conf
> [EXTENDED] /lib/systemd/system/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
> [EXTENDED] /etc/systemd/sy...

Read more...

Revision history for this message
Sauli (saulik) wrote :

My 15.10 "system" started to show quite similar symptoms today. Booting with systemd the progress stops in the graphics 'ubuntu * * * * *' displayed at the center of the screen. After maybe one minute the the screen goes black and couple of lines are displayed proposing some alternatives like to display journal, try again the boot.

With "upstart" booting is ok.

The behaviour has been the same for more than 10 tries.

I have not applied the patch referred above.

My laptop is dualboot Asus G751JY, with NVidia GTX 980M graphics
Linux 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Windows 10

The journal is attached.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.