[systemd-bugs] [Bug 76782] New: now(clockid_t clock_id) at src/shared/time-util.c fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 29 12:51:45 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=76782
Priority: medium
Bug ID: 76782
Assignee: systemd-bugs at lists.freedesktop.org
Summary: now(clockid_t clock_id) at src/shared/time-util.c
fails
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: davispuh at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: general
Product: systemd
I upgraded systemd to latest 212-1 for Arch Linux which is inside OpenVZ
container and systemd doesn't start anymore.
It fails with error
`Assertion 'clock_gettime(clock_id, &ts) == 0' failed at
src/shared/time-util.c:32, function now(). Aborting.`
strace output
```
clock_gettime(CLOCK_MONOTONIC, {3262, 615930730}) = 0
clock_gettime(CLOCK_MONOTONIC, {3262, 615951010}) = 0
open("/proc/sys/kernel/random/boot_id", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 15
read(15, "08d9a51a-64ac-4ee7-bd6d-237c493e"..., 36) = 36
close(15) = 0
timerfd_settime(10, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={3352,
679749000}}, NULL) = 0
epoll_wait(3, {{EPOLLIN, {u32=26823648, u64=26823648}}}, 7, 0) = 1
clock_gettime(CLOCK_MONOTONIC, {3262, 616078247}) = 0
clock_gettime(0x7 /* CLOCK_??? */, 0x7fff79f0e550) = -1 EINVAL (Invalid
argument)
writev(2, [{"\33[1;31m", 7}, {"Assertion 'clock_gettime(clock_i"..., 108},
{"\33[0m", 4}, {"\n", 1}], 4Assertion 'clock_gettime(clock_id, &ts) == 0'
failed at src/shared/time-util.c:32, function now(). Aborting.
) = 120
```
using OpenVZ kernel 2.6.32-042stab078.27
--
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/20140329/92db5d4f/attachment.html>
More information about the systemd-bugs
mailing list