Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette
Package: dbus
Version: 1.9.10-3
Severity: important

Since update to this experimental version and systemd 219,
I experience frequend lockup at boot, after systemd display
(from memory) Starting dbus daemon. I have experienced
this on to different computer with varying capabilties
(2 cores/8 cores, ..).

When this happens its better to manaully reset as anyway
system is not functionnal.

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.18.7 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dbus depends on:
ii  adduser  3.113+nmu3
ii  libaudit11:2.4-1+b1
ii  libc62.19-15
ii  libcap-ng0   0.7.4-2
ii  libdbus-1-3  1.9.10-3
ii  libexpat12.1.0-6+b3
ii  libselinux1  2.3-2
ii  libsystemd0  219-2
ii  lsb-base 4.1+Debian13+nmu1

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11  1.9.10-3

Versions of packages dbus is related to:
ii  dbus-x11  1.9.10-3
ii  systemd   219-2
ii  systemd-sysv  219-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Simon McVittie
Control: tags -1 moreinfo

On 22/02/15 10:59, Eric Valette wrote:
 Since update to this experimental version and systemd 219,
 I experience frequend lockup at boot, after systemd display
 (from memory) Starting dbus daemon.

I'm using 1.9.10-3 without problems on unstable's systemd, so I wonder
whether the problematic upgrade might have been the one to systemd 219
rather than to dbus 1.9.10-3. Also, the largest changes in recent
experimental dbus versions have been to session bus setup, which is much
later than the stage of the boot you're talking about. It might be
informative to try the experimental dbus with the unstable systemd, or
vice versa, to pin down which one caused this regression.

Lockup in what sense? Does the computer still respond to Ctrl+Alt+Del,
Ctrl+Alt+F1/F2,  or the magic sysrq key (for instance AltGr/right Alt
+ PrintScreen/SysRq + h to show help), or to toggling num lock/caps lock?

Please provide the relevant section of a Journal log from a boot where
this happens, ideally without quiet on the kernel command-line.

Which dbus version were you previously using without problems - 1.8.x
from unstable (which one? - apt/dpkg logs would tell you), or an earlier
1.9.x from experimental? Similarly, did you upgrade systemd from
unstable's v215, or from experimental's v218?

S


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Michael Biebl
Am 22.02.2015 um 11:59 schrieb Eric Valette:
 Package: dbus
 Version: 1.9.10-3
 Severity: important
 
 Since update to this experimental version and systemd 219,
 I experience frequend lockup at boot, after systemd display
 (from memory) Starting dbus daemon. I have experienced
 this on to different computer with varying capabilties
 (2 cores/8 cores, ..).
 
 When this happens its better to manaully reset as anyway
 system is not functionnal.

Could this be
http://lists.freedesktop.org/archives/systemd-devel/2015-February/028640.html
?

One of the symptoms of this issue seems to be, that dbus doesn't seem to
work properly and daemons like systemd-logind time out.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 22/02/2015 15:25, Simon McVittie wrote:

Control: tags -1 moreinfo



Lockup in what sense? Does the computer still respond to Ctrl+Alt+Del,
Ctrl+Alt+F1/F2,  or the magic sysrq key (for instance AltGr/right Alt
+ PrintScreen/SysRq + h to show help), or to toggling num lock/caps lock?


No it does not respond to Ctrl+Alt+Del and Ctrl+Alt+F1/F2 is too early 
for sure... Haven't tried magic sysrq key but dunno what it may bring 
to the discussion as I can't access log file from there...



Please provide the relevant section of a Journal log from a boot where
this happens, ideally without quiet on the kernel command-line.


That suppose I can access to the failing system which is false (no 
loggin, no network).



Which dbus version were you previously using without problems - 1.8.x
from unstable (which one? - apt/dpkg logs would tell you), or an earlier
1.9.x from experimental? Similarly, did you upgrade systemd from
unstable's v215, or from experimental's v218?



I was using already experimental systemd 218 and also the libdbus from 
experimental. Only when I upgraded both to systemd 219 and dbus 1.9.10-3
did I saw problem (once about third boot). Seems to be a race condition 
or something...


--eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Michael Biebl
Am 22.02.2015 um 20:30 schrieb Eric Valette:
 seems close. And yes I have no login. Once I had the graphic start but
 no kdm... Could try to extract journald from 218 and see if the bug
 vanishes.

Martin identified [1] commit 13790add4bf64 as the problematic one.

You could try rebuilding v219 with that commit reverted.

Maybe you can confirm that this is indeed the same issue.


[1]
http://lists.freedesktop.org/archives/systemd-devel/2015-February/028685.html
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#778970: [Pkg-utopia-maintainers] Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 22/02/2015 20:21, Michael Biebl wrote:

Am 22.02.2015 um 11:59 schrieb Eric Valette:

Package: dbus
Version: 1.9.10-3
Severity: important

Since update to this experimental version and systemd 219,
I experience frequend lockup at boot, after systemd display
(from memory) Starting dbus daemon. I have experienced
this on to different computer with varying capabilties
(2 cores/8 cores, ..).

When this happens its better to manaully reset as anyway
system is not functionnal.


Could this be
http://lists.freedesktop.org/archives/systemd-devel/2015-February/028640.html
?

One of the symptoms of this issue seems to be, that dbus doesn't seem to
work properly and daemons like systemd-logind time out.


seems close. And yes I have no login. Once I had the graphic start but 
no kdm... Could try to extract journald from 218 and see if the bug 
vanishes.


-- eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Simon McVittie
On 22/02/15 16:17, Eric Valette wrote:
 Haven't tried magic sysrq key but dunno what it may bring
 to the discussion as I can't access log file from there...

It tells us how thoroughly locked-up your system is. That's a piece of
information that might point us towards finding the cause sooner.

 Please provide the relevant section of a Journal log from a boot where
 this happens, ideally without quiet on the kernel command-line.
 
 That suppose I can access to the failing system which is false (no
 loggin, no network).

You can find it in the syslog after rebooting, or if you've configured
the Journal to store persistent logs to disk, you can use that.

 I was using already experimental systemd 218 and also the libdbus from
 experimental. Only when I upgraded both to systemd 219 and dbus 1.9.10-3
 did I saw problem (once about third boot).

OK, so this is a regression in either systemd 219 or dbus 1.9.10.

S


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 22/02/2015 20:40, Eric Valette wrote:

On 22/02/2015 20:34, Michael Biebl wrote:

Am 22.02.2015 um 20:30 schrieb Eric Valette:

seems close. And yes I have no login. Once I had the graphic start but
no kdm... Could try to extract journald from 218 and see if the bug
vanishes.


Martin identified [1] commit 13790add4bf64 as the problematic one.

You could try rebuilding v219 with that commit reverted.

Maybe you can confirm that this is indeed the same issue.


OK will try to do that but probably not today. If I find it also at work
tomorrow, maybe tomorrow. So far I have it on all machines I tried but
not always...


I decided to give it a try anyway. I had to reboot my laptop 4 times 
before been able to log in.


After doing apt-get source systemd I tried to apply the patch but
unfortunately it does not apply on 219 but on upstream git:

patch -p1 -R --dry-run -i ../revertJournald.patch
checking file src/journal/journald-server.c
Unreversed patch detected!  Ignore -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 1182.
Hunk #2 succeeded at 1455 (offset -11 lines).
Hunk #3 succeeded at 1552 (offset -10 lines).
1 out of 3 hunks FAILED
checking file src/journal/journald-stream.c
checking file src/journal/journald-stream.h
checking file units/systemd-journald.service.in
Hunk #1 succeeded at 23 with fuzz 1.

Will see if the succeeding hunks are sufficient...


-- eric



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Michael Biebl
Am 22.02.2015 um 21:32 schrieb Eric Valette:
 After doing apt-get source systemd I tried to apply the patch but
 unfortunately it does not apply on 219 but on upstream git:

..

 Will see if the succeeding hunks are sufficient...

Martin was apparently already busy and did push that revert to the
Debian experimental branch [1].

You can get the sources via
gbp-clone git://anonscm.debian.org/pkg-systemd/systemd.git
git checkout experimental

Then build the package via git-buildpackage.

Michael

[1]
https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?h=experimentalid=633720bf071453a8f8f2b9f1ea59900aefa6ab25


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#778970: [Pkg-utopia-maintainers] Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 22/02/2015 20:34, Michael Biebl wrote:

Am 22.02.2015 um 20:30 schrieb Eric Valette:

seems close. And yes I have no login. Once I had the graphic start but
no kdm... Could try to extract journald from 218 and see if the bug
vanishes.


Martin identified [1] commit 13790add4bf64 as the problematic one.

You could try rebuilding v219 with that commit reverted.

Maybe you can confirm that this is indeed the same issue.


OK will try to do that but probably not today. If I find it also at work 
tomorrow, maybe tomorrow. So far I have it on all machines I tried but 
not always...


-- eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 22/02/2015 22:19, Michael Biebl wrote:

Am 22.02.2015 um 21:32 schrieb Eric Valette:

After doing apt-get source systemd I tried to apply the patch but
unfortunately it does not apply on 219 but on upstream git:


..


Will see if the succeeding hunks are sufficient...


Martin was apparently already busy and did push that revert to the
Debian experimental branch [1].

You can get the sources via
gbp-clone git://anonscm.debian.org/pkg-systemd/systemd.git
git checkout experimental

Then build the package via git-buildpackage.




Thanks for the tips. I had the same failure in tests, removed the 
overide for test and got the -3 versions. Will report results.


--eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 22/02/2015 22:19, Michael Biebl wrote:

Am 22.02.2015 um 21:32 schrieb Eric Valette:

After doing apt-get source systemd I tried to apply the patch but
unfortunately it does not apply on 219 but on upstream git:


..


Will see if the succeeding hunks are sufficient...


Martin was apparently already busy and did push that revert to the
Debian experimental branch [1].

You can get the sources via
gbp-clone git://anonscm.debian.org/pkg-systemd/systemd.git
git checkout experimental

Then build the package via git-buildpackage.

Michael

[1]
https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?h=experimentalid=633720bf071453a8f8f2b9f1ea59900aefa6ab25




Ok. I managed to almost build systemd with the partial revert patch 
applied (I build everything but some tests did fail probably because of 
invalid testing environment. As systemd-journald was already build and 
the patch only applies on this binary, I manually copied the new binary

after moving the existing one

mv /lib/systemd/systemd-journald /lib/systemd/systemd-journald.rm
cp build-deb/systemd-journald /lib/systemd/systemd-journald

and rebooted now ten times without freeze. For me its the same bug and 
reverting only the valid hunks of the revert (the ones that deals with 
file descriptors) is sufficient to fix the problem.


--eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Michael Biebl
control: reassign -1 systemd

Am 22.02.2015 um 22:28 schrieb Eric Valette:
 On 22/02/2015 22:19, Michael Biebl wrote:
 Am 22.02.2015 um 21:32 schrieb Eric Valette:
 After doing apt-get source systemd I tried to apply the patch but
 unfortunately it does not apply on 219 but on upstream git:

 ..

 Will see if the succeeding hunks are sufficient...

 Martin was apparently already busy and did push that revert to the
 Debian experimental branch [1].

 You can get the sources via
 gbp-clone git://anonscm.debian.org/pkg-systemd/systemd.git
 git checkout experimental

 Then build the package via git-buildpackage.

 Michael

 [1]
 https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?h=experimentalid=633720bf071453a8f8f2b9f1ea59900aefa6ab25



 
 Ok. I managed to almost build systemd with the partial revert patch
 applied (I build everything but some tests did fail probably because of
 invalid testing environment. As systemd-journald was already build and
 the patch only applies on this binary, I manually copied the new binary
 after moving the existing one
 
 mv /lib/systemd/systemd-journald /lib/systemd/systemd-journald.rm
 cp build-deb/systemd-journald /lib/systemd/systemd-journald
 
 and rebooted now ten times without freeze. For me its the same bug and
 reverting only the valid hunks of the revert (the ones that deals with
 file descriptors) is sufficient to fix the problem.

Thanks for confirming, re-assigning to systemd



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#778970: [Pkg-utopia-maintainers] Bug#778970: Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Eric Valette

On 23/02/2015 01:03, Michael Biebl wrote:

Am 23.02.2015 um 00:16 schrieb Eric Valette:

Thanks for the tips. I had the same failure in tests, removed the
overide for test and got the -3 versions. Will report results.


There's a simpler way. Run
# export DEB_BUILD_OPTIONS=nocheck
do your usual build

The nocheck env var will make sure the test-suite is skipped.



I fugured this out reading the code I removed... But still, given the 
message on test failure, it means the build dependency may be wrong as

I get a not found twice and then the testing script fails.

I have updated my two machines and statically (booted enough times) it 
seems the problem is fixed in git.


-- eric


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778970: [Pkg-utopia-maintainers] Bug#778970: Bug#778970: dbus: Blocks systemd boot frequently

2015-02-22 Thread Michael Biebl
Am 23.02.2015 um 00:16 schrieb Eric Valette:
 Thanks for the tips. I had the same failure in tests, removed the
 overide for test and got the -3 versions. Will report results.

There's a simpler way. Run
# export DEB_BUILD_OPTIONS=nocheck
do your usual build

The nocheck env var will make sure the test-suite is skipped.
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature