[Bug 1034364] [NEW] tmpwatch-2.11-1.x86_64 fails to work in vserver

Elan Ruusamäe 1034364 at bugs.launchpad.net
Wed Aug 8 14:34:29 CEST 2012


Public bug reported:

# /usr/sbin/tmpwatch 1 /var/run/php
error: Error determining boot time: Invalid argument

previous version  tmpwatch-2.10.3-1.x86_64.rpm worked fine.

here's some extra info:

# rpm -q tmpwatch --blink
tmpwatch-2.11-1.x86_64.rpm
        <= tmpwatch-2.10.3-1.x86_64.rpm


# uptime 
 15:33:22 up 567 days,  5:31,  1 user,  load average: 0.35, 0.29, 0.29


# strace -s200 /usr/sbin/tmpwatch 1 /var/run/php
execve("/usr/sbin/tmpwatch", ["/usr/sbin/tmpwatch", "1", "/var/run/php"], [/* 42 vars */]) = 0
brk(0)                                  = 0x607000
uname({sys="Linux", node="distrib.dev.delfi.ee", ...}) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=13941, ...}) = 0
mmap(NULL, 13941, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ad4aa040000
close(3)                                = 0
open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\0\0\0\0\0\0@\0\0\0\0\0\0\0\230s\0\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0 \0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\320Z\0\0\0\0\0\0\320Z\0\0\0\0\0\0\320Z\0\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=31640, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad4aa044000
mmap(NULL, 2128888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad4aa243000
mprotect(0x2ad4aa24a000, 2093056, PROT_NONE) = 0
mmap(0x2ad4aa449000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x2ad4aa449000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\25\2\0\0\0\0\0@\0\0\0\0\0\0\0\260X\32\0\0\0\0\0\0\0\0\0@\0008\0\v\0@\0\"\0!\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0h\2\0\0\0\0\0\0h\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0 \372\26\0\0\0\0\0 \372\26\0\0\0\0\0 \372\26\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1728816, ...}) = 0
mmap(NULL, 3841120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad4aa44b000
mprotect(0x2ad4aa5eb000, 2097152, PROT_NONE) = 0
mmap(0x2ad4aa7eb000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x2ad4aa7eb000
mmap(0x2ad4aa7f1000, 15456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad4aa7f1000
close(3)                                = 0
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`m\0\0\0\0\0\0@\0\0\0\0\0\0\0\250\203\1\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0\"\0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\200\"\1\0\0\0\0\0\200\"\1\0\0\0\0\0\200\"\1\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135433, ...}) = 0
mmap(NULL, 2212784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad4aa7f5000
mprotect(0x2ad4aa80d000, 2093056, PROT_NONE) = 0
mmap(0x2ad4aaa0c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x2ad4aaa0c000
mmap(0x2ad4aaa0e000, 13232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad4aaa0e000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad4aaa12000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad4aaa13000
arch_prctl(ARCH_SET_FS, 0x2ad4aaa130c0) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\25\234\310=\263\275#", 7)     = 7
close(3)                                = 0
mprotect(0x2ad4aa7eb000, 16384, PROT_READ) = 0
mprotect(0x2ad4aaa0c000, 4096, PROT_READ) = 0
mprotect(0x2ad4aa449000, 4096, PROT_READ) = 0
mprotect(0x605000, 4096, PROT_READ)     = 0
mprotect(0x2ad4aa240000, 4096, PROT_READ) = 0
munmap(0x2ad4aa040000, 13941)           = 0
set_tid_address(0x2ad4aaa13390)         = 25483
set_robust_list(0x2ad4aaa133a0, 0x18)   = 273
futex(0x7fffffdfcb5c, FUTEX_WAKE_PRIVATE, 1) = -1 ENOSYS (Function not implemented)
rt_sigaction(SIGRTMIN, {0x2ad4aa7fb7c0, [], SA_RESTORER|SA_SIGINFO, 0x2ad4aa804de0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x2ad4aa7fb850, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2ad4aa804de0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x607000
brk(0x629000)                           = 0x629000
open("/proc/self/mountinfo", O_RDONLY)  = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_REALTIME, {1344429152, 185637000}) = 0
clock_gettime(0x7 /* CLOCK_??? */, 0x7fffffdfcad0) = -1 EINVAL (Invalid argument)
write(2, "error: ", 7error: )                  = 7
write(2, "Error determining boot time: Invalid argument\n", 46Error determining boot time: Invalid argument
) = 46
exit_group(1)                           = ?

# uname -r
2.6.16.60-1smp

** Affects: pld-linux
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1034364

Title:
  tmpwatch-2.11-1.x86_64 fails to work in vserver

Status in PLD Linux Distribution:
  New

Bug description:
  # /usr/sbin/tmpwatch 1 /var/run/php
  error: Error determining boot time: Invalid argument

  previous version  tmpwatch-2.10.3-1.x86_64.rpm worked fine.

  here's some extra info:

  # rpm -q tmpwatch --blink
  tmpwatch-2.11-1.x86_64.rpm
          <= tmpwatch-2.10.3-1.x86_64.rpm

  
  # uptime 
   15:33:22 up 567 days,  5:31,  1 user,  load average: 0.35, 0.29, 0.29

  
  # strace -s200 /usr/sbin/tmpwatch 1 /var/run/php
  execve("/usr/sbin/tmpwatch", ["/usr/sbin/tmpwatch", "1", "/var/run/php"], [/* 42 vars */]) = 0
  brk(0)                                  = 0x607000
  uname({sys="Linux", node="distrib.dev.delfi.ee", ...}) = 0
  access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
  open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  fstat(3, {st_mode=S_IFREG|0644, st_size=13941, ...}) = 0
  mmap(NULL, 13941, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ad4aa040000
  close(3)                                = 0
  open("/lib64/librt.so.1", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\0\0\0\0\0\0@\0\0\0\0\0\0\0\230s\0\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0 \0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\320Z\0\0\0\0\0\0\320Z\0\0\0\0\0\0\320Z\0\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=31640, ...}) = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad4aa044000
  mmap(NULL, 2128888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad4aa243000
  mprotect(0x2ad4aa24a000, 2093056, PROT_NONE) = 0
  mmap(0x2ad4aa449000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x2ad4aa449000
  close(3)                                = 0
  open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\25\2\0\0\0\0\0@\0\0\0\0\0\0\0\260X\32\0\0\0\0\0\0\0\0\0@\0008\0\v\0@\0\"\0!\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0h\2\0\0\0\0\0\0h\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0 \372\26\0\0\0\0\0 \372\26\0\0\0\0\0 \372\26\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=1728816, ...}) = 0
  mmap(NULL, 3841120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad4aa44b000
  mprotect(0x2ad4aa5eb000, 2097152, PROT_NONE) = 0
  mmap(0x2ad4aa7eb000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x2ad4aa7eb000
  mmap(0x2ad4aa7f1000, 15456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad4aa7f1000
  close(3)                                = 0
  open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`m\0\0\0\0\0\0@\0\0\0\0\0\0\0\250\203\1\0\0\0\0\0\0\0\0\0@\0008\0\n\0@\0\"\0\37\0\6\0\0\0\5\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0000\2\0\0\0\0\0\0000\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\200\"\1\0\0\0\0\0\200\"\1\0\0\0\0\0\200\"\1\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
  fstat(3, {st_mode=S_IFREG|0755, st_size=135433, ...}) = 0
  mmap(NULL, 2212784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ad4aa7f5000
  mprotect(0x2ad4aa80d000, 2093056, PROT_NONE) = 0
  mmap(0x2ad4aaa0c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x2ad4aaa0c000
  mmap(0x2ad4aaa0e000, 13232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ad4aaa0e000
  close(3)                                = 0
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad4aaa12000
  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ad4aaa13000
  arch_prctl(ARCH_SET_FS, 0x2ad4aaa130c0) = 0
  open("/dev/urandom", O_RDONLY)          = 3
  read(3, "\25\234\310=\263\275#", 7)     = 7
  close(3)                                = 0
  mprotect(0x2ad4aa7eb000, 16384, PROT_READ) = 0
  mprotect(0x2ad4aaa0c000, 4096, PROT_READ) = 0
  mprotect(0x2ad4aa449000, 4096, PROT_READ) = 0
  mprotect(0x605000, 4096, PROT_READ)     = 0
  mprotect(0x2ad4aa240000, 4096, PROT_READ) = 0
  munmap(0x2ad4aa040000, 13941)           = 0
  set_tid_address(0x2ad4aaa13390)         = 25483
  set_robust_list(0x2ad4aaa133a0, 0x18)   = 273
  futex(0x7fffffdfcb5c, FUTEX_WAKE_PRIVATE, 1) = -1 ENOSYS (Function not implemented)
  rt_sigaction(SIGRTMIN, {0x2ad4aa7fb7c0, [], SA_RESTORER|SA_SIGINFO, 0x2ad4aa804de0}, NULL, 8) = 0
  rt_sigaction(SIGRT_1, {0x2ad4aa7fb850, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2ad4aa804de0}, NULL, 8) = 0
  rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
  getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
  brk(0)                                  = 0x607000
  brk(0x629000)                           = 0x629000
  open("/proc/self/mountinfo", O_RDONLY)  = -1 ENOENT (No such file or directory)
  clock_gettime(CLOCK_REALTIME, {1344429152, 185637000}) = 0
  clock_gettime(0x7 /* CLOCK_??? */, 0x7fffffdfcad0) = -1 EINVAL (Invalid argument)
  write(2, "error: ", 7error: )                  = 7
  write(2, "Error determining boot time: Invalid argument\n", 46Error determining boot time: Invalid argument
  ) = 46
  exit_group(1)                           = ?

  # uname -r
  2.6.16.60-1smp

To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/1034364/+subscriptions


More information about the pld-bugs mailing list