[systemd-bugs] [Bug 90364] New: snoopy (LD_PRELOAD logging of exec calls) prevents boot since jounald start times out and is repeated over and over
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu May 7 10:29:54 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90364
Bug ID: 90364
Summary: snoopy (LD_PRELOAD logging of exec calls) prevents
boot since jounald start times out and is repeated
over and over
Product: systemd
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: zaphodb at zaphods.net
QA Contact: systemd-bugs at lists.freedesktop.org
On two instances of Xen "PV on HVM" Servers running Debian that were freshly
dist-upgraded from wheezy to jessie i found that they were unable to boot while
snoopy ( https://packages.debian.org/jessie/snoopy ) was enabled. They did
however boot up just fine after snoopy was disabled.
It seems that the logging of all execve calls by snoopy via an LD_PRELOAD
wrapping of that function somehow interferes with the upbringing of journald
and apparently also prevents it from responding to systemd in time so that it
gets restarted over and over without ever succeeding to launch and thus
preventing systemd to continue booting up.
It seems the issue has already been reported at Fedora in
https://bugzilla.redhat.com/show_bug.cgi?id=745603 .
I realize that this might not be exactly the fault of systemd but rather of the
crude way that snoopy is implemented however maybe you can think of an elegant
way to work around the issue.
Sadly i was unable to produce any more detailed output by setting
ForwardToConsole=yes TTYPath=/dev/ttyS0 (i also tried /dev/console) in
/etc/systemd/journald.conf .
Console looked like this booting up while snoopy was enabled:
[ OK ] Stopped Trigger Flushing of Journal to Persistent Storage.
Stopping Journal Service...
[ OK ] Stopped Journal Service.
Starting Journal Service...
[ OK ] Started Journal Service.
[*** ] (4 of 5) A start job is running for LSB: Set keymap ... 9s / no
limit)[ 2771.768127] systemd[1]: systemd-journald.service watchdog timeout
(limit 1min)!
Starting Journal Service...
[ OK ] Stopped Trigger Flushing of Journal to Persistent Storage.
Stopping Journal Service...
[ OK ] Stopped Journal Service.
Starting Journal Service...
[ OK ] Started Journal Service.
[FAILED] Failed to start udev Kernel Device Manager.
See 'systemctl status systemd-udevd.service' for details.
Stopping udev Kernel Device Manager...
[ OK ] Stopped udev Kernel Device Manager.
Starting udev Kernel Device Manager...
[ ***] (3 of 5) A start job is running for Apply Kernel Var... 9s / no
limit)[ 2832.004137] systemd[1]: systemd-journald.service watchdog timeout
(limit 1min)!
Starting Journal Service...
[ OK ] Stopped Trigger Flushing of Journal to Persistent Storage.
Stopping Journal Service...
[ OK ] Stopped Journal Service.
Starting Journal Service...
[ OK ] Started Journal Service.
[FAILED] Failed to start udev Kernel Device Manager.
See 'systemctl status systemd-udevd.service' for details.
Stopping udev Kernel Device Manager...
[ OK ] Stopped udev Kernel Device Manager.
Starting udev Kernel Device Manager...
[ 2892.256176] systemd[1]: systemd-journald.service watchdog timeout (limit
1min)!
Starting Journal Service...
[ OK ] Stopped Trigger Flushing of Journal to Persistent Storage.
Stopping Journal Service...
[ OK ] Stopped Journal Service.
Starting Journal Service...
[ OK ] Started Journal Service.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150507/97d7e126/attachment.html>
More information about the systemd-bugs
mailing list