[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631799: [squeeze] Kernel logs "name_count maxed, losing inode data" messages



Hi,

On 11/30/2012 08:18 AM, Rik Theys wrote:
On 11/29/2012 01:10 PM, Rik Theys wrote:
On 11/25/2012 01:12 AM, Jonathan Nieder wrote:
On some of our servers, we periodically see "name_count maxed,
losing inode data" messages in the kernel log.

As you mentioned, this is said to be fixed by

    commit 5195d8e217a7
    Author: Eric Paris <eparis@redhat.com>
    Date:   Tue Jan 3 14:23:05 2012 -0500

        audit: dynamically allocate audit_names when not enough
        space is in the names array

which is part of 3.3.

Am I correct in understanding that the wheezy kernel is affected, too?

I have not yet tried to apply the fix, so I can't comment on that.

I can install the 3.2 backports kernel on this system to see if Wheezy
is also affected, but I assume it is if the fix is in 3.3.

I've booted the 3.2.32 bpo kernel and it is indeed affected. I'll see if
I can find time to build a test kernel with the patch applied.

I tried to apply this commit to 3.2.34 (and 3.2.32) but it failed to apply. Looking at the git log between 3.2.34 and 3.3 I assumed it also needed commit 5ef30ee53b187786e64bdc1f8109e39d17f2ce58.

I cherry picked commits 5ef30ee53b187786e64bdc1f8109e39d17f2ce58 and 5195d8e217a78697152d64fc09a16e063a022465 and tried to compile the result, but it failed with the following error:

kernel/auditsc.c:2189: error: conflicting types for ‘__audit_mq_open’
include/linux/audit.h:477: note: previous declaration of ‘__audit_mq_open’ was here
kernel/auditsc.c:2289: error: conflicting types for ‘__audit_ipc_set_perm’
include/linux/audit.h:471: note: previous declaration of ‘__audit_ipc_set_perm’ was here

Any idea on how to determine which intermediate patches are also needed? Or should I just try to modify commit 5195d8e217a78697152d64fc09a16e063a022465 to make it apply?

Regards,

Rik

--
Rik Theys
System Engineer
KU Leuven - Dept. Elektrotechniek (ESAT)
Kasteelpark Arenberg 10 bus 2440  - B-3001 Leuven-Heverlee
+32(0)16/32.11.07
----------------------------------------------------------------
<<Any errors in spelling, tact or fact are transmission errors>>


Reply to: