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

Submitter:  None
Submitted:  Mon 28 May 2007 03:08:22 PM UTC
   
 
Status:  None Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by ogman (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-19 ogman Assigned toogman None
    2007-08-17 ogman Assigned toNone ogman
    2007-05-28 None Attached File- Added dazuko-error-log.txt, #12880

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code