[Pkg-aide-maintainers] Bug#391353: aide: Doesn't work suitably on Xen enabled kernel because of statically linked libc

Raphael Hertzog hertzog at debian.org
Fri Oct 6 06:58:16 UTC 2006

Package: aide
Version: 0.11a-4
Severity: serious

I upgraded my personal server to etch and choosed to use a Xen enabled
kernel since we're going to have Xen support in etch (and also because
we're using this for the new alioth.debian.org so I wanted to have a
testbed for me).

This morning my server was almost unreachable and while looking through
the logs I discovered those messages:
Oct  6 05:17:34 arrakeen kernel: printk: 246 messages suppressed.
Oct  6 05:17:34 arrakeen kernel: 4gb seg fixup, process aide (pid 1627), cs:ip 73:080ae335
Oct  6 05:17:40 arrakeen kernel: printk: 291 messages suppressed.
Oct  6 05:17:40 arrakeen kernel: 4gb seg fixup, process aide (pid 1627), cs:ip 73:080ae335

Those messages appear when you use the standard libc6 instead of libc6-xen
on a Xen enabled kernel. However I have libc6-xen installed.... but aide
is using its own statically linked libc6 which thus generates this

Those messages means that the kernel worked around the bad libc6 but it's
extremely ineffective in doing so, so much that it effectively DOSsed my
server during the 3 hours when aide was running.

I see two solutions:
- either you link again libc6 dynamically
- either you provide two versions of the binary and you use alternatives
  (or you modify the cron script to detect /proc/xen and to start the
  right binary)

However it looks like there's no "libc6-xen-dev" to link statically a
xen-enabled libc6... 

So for etch, the right thing to do might be to provide additionnaly
a binary dynamically linked and to use the dynamic one if you detect

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-xen-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

More information about the Pkg-aide-maintainers mailing list