bugDazuko - Bugs: bug #19987, SuSE 10.2 kernel 2.6.21 -170 build...

 
 

bug #19987: SuSE 10.2 kernel 2.6.21 -170 build ... dazuko compile errors

Submitted by:  None
Submitted on:  Mon 28 May 2007 03:08:22 PM UTC  
 
Status: NoneAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 17 Aug 2007 04:58:40 PM UTC, comment #2:

Is it possible that you post your kernel header file:

/usr/src/linux-2.6.21-170/include/linux/dcache.h

I'm curious how the prototype for __d_path() has changed.

John Ogness <ogman>
Project Administrator
Fri 17 Aug 2007 04:56:46 PM UTC, comment #1:

In order for LSM to work, you will either need to wait for a newer Dazuko Version (see https://savannah.nongnu.org/bugs/index.php?20774) or you could disable stacking (as long as you don't need the Capabilities module). You can disable stacking with:

$ ./configure --disable-stacking

Using the syscall will probably not work correctly on your machine because the kernel is too new. Recent kernels include a lot of changes that make syscall hooking unpractical and/or impossible.

John Ogness <ogman>
Project Administrator
Mon 28 May 2007 03:08:22 PM UTC, original submission:

Hi

I try to configure / make dazuko 2.3.3 with different configurations but using lsm (standard config) getting some errors within lsm api definiotion I think ...

--------------------
notebook1:/home/mazi1802/dazuko-2.3.3 # ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.21-170-default/source... yes
kernel build source in /lib/modules/2.6.21-170-default/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.21)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API (this can take a while)... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend2)
checking whether __d_path() is exported... yes
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

...
--------------------

using syscall hooking having some other problems ..

--------------------
notebook1:/home/mazi1802/dazuko-2.3.3 # ./configure --enable-syscalls --mapfile=/boot/System.map-2.6.21-170-default
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.21-170-default/source... yes
kernel build source in /lib/modules/2.6.21-170-default/build... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.21)
checking for System.map file... ok (/boot/System.map-2.6.21-170-default)
locating sys_call_table... ok (0xffffffff803f32a0)
checking sys_call_table status... read-only

IMPORTANT NOTE:
If you get a kernel panic or segmentation fault while loading
the Dazuko module, you will need to reboot and try to
configure Dazuko again with the --sct-readonly option.

locating do_execve... ok (0xffffffff8023b10b)
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend2)
checking whether __d_path() is exported... yes
inspecting task_struct structure... ok (using parent)
disabling ON_EXEC events (only available on x86 platforms)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
Configuration summary
=======================

module events = ON_OPEN ON_CLOSE
devfs support = no
rsbac support = no
hooking via syscalls = yes
local __d_path() = no
module debug = no
library 1.x compatibility = yes
...
--------------------

Any ideas? Sorry for long post with error logs ... more in attached file

THX
Martin

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #12880:  dazuko-error-log.txt added by None (21KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ogman (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Mar 2011 12:44:52 PM UTCogmanAssigned toogman=>None
    Fri 17 Aug 2007 04:56:46 PM UTCogmanAssigned toNone=>ogman
    Mon 28 May 2007 03:08:22 PM UTCNoneAttached File-=>Added dazuko-error-log.txt, #12880

    Back to the top


    Powered by Savane 3.1-cleanup1