mainDazuko - Support: sr #103572, Mandrake 10.1 problems.

 
 

sr #103572: Mandrake 10.1 problems.

Submitter:  None
Submitted:  Mon 15 Nov 2004 12:25:04 PM UTC
   
 
Assigned to:  ogman Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 03 Mar 2005 07:11:21 AM UTC, comment #10: 

Thanks :)

If anything changes for 10.2 release I'll be sure to make the changes and resubmit the HOWTO here.

Scott

Scott Grayban <sgrayban>
Wed 02 Mar 2005 08:08:02 PM UTC, comment #9: 

Hi,

I have added your HOWTO to the "Mandrake" section of the general FAQ. Thanks!

John Ogness <ogman>
Group administrator
Fri 25 Feb 2005 04:33:39 PM UTC, comment #8: 

Oh wanted to add that it took me 4 compile's to figure this out.

It's the easiest way to install dazuko and get it up and running fast.


Scott Grayban <sgrayban>
Fri 25 Feb 2005 04:29:53 PM UTC, comment #7: 

OK I attached the file and I'll keep a copy on my website just in case.

Scott Grayban <sgrayban>
Fri 25 Feb 2005 04:07:33 PM UTC, comment #6: 

You can either copy/paste it here as a comment or attach it as a .tgz to this support request (Attach File at the bottom). I can copy/paste it directly into the FAQ (giving you credit, of course).

John Ogness <ogman>
Group administrator
Fri 25 Feb 2005 03:47:10 PM UTC, comment #5: 

Where can I submit a good HOWTO for Mandrake 10.1 at then?


Scott Grayban <sgrayban>
Fri 25 Feb 2005 03:28:19 PM UTC, comment #4: 

Thank you for the information. I will add this to the FAQ.

Yes, it is difficult to get Dazuko installed on some systems. However, this is usually not Dazuko's fault. Many Linux distributions are different from one another (in where/how the source code is stored, which patches they use, what is installed on the system by default, etc etc etc). Dazuko's "configure" script does a lot of work to identify all these differences so that Dazuko can be easily built. The only thing that does not exist is an "install" script to identify where and how Dazuko should be installed. Hopefully we can get something like this developed this year.

The Dazuko project is open to HOWTO's or scripts to make the installation easier. If you have any, please post them.

John Ogness <ogman>
Group administrator
Fri 25 Feb 2005 03:00:16 PM UTC, comment #3: 

I just wanted to add that moving/renaming the new module path isnt needed.

--------- this section is not needed at all ----
Mandrake 10.1 installs the new modules into the wrong directory, so you will need to rename the directory.
# mv /lib/modules/`uname -r` /lib/modules/`uname -r`.orig
# mv /lib/modules/2.6.8.1-10mdkcustom /lib/modules/`uname -r`

(install kernel)
# cp System.map /boot/System.map-`uname -r`
# cp .config /boot/config-`uname -r`
# cp arch/i386/boot/bzImage /boot/vmlinuz-`uname -r`
-----------------------

cp the dazko.zo to the kernel/security and running depmod -a is suffecient after you have booted to the new kernel.

Just reboot into the new kernel and make sure that in your /etc/modprob.preload has the following in the same order!!!

# /etc/modprobe.preload: kernel modules to load at boot time.
#
commoncap
dazuko
capability


It has to be in this order for dazuko to load correctly.

commoncap and capability are required to be loaded because bind uses the 'capset' when it runs.

Its a real pain to get dazuko installed and I do not recommend a newbie to try without making sure they have a backup boot floppy or kernel.

Scott Grayban <sgrayban>
Sat 05 Feb 2005 03:26:05 PM UTC, comment #2: 

Hi,

I am closing this request since Dazuko is confirmed to work with Mandrake 10.1. The information from this request has been added to the FAQ.

John Ogness <ogman>
Group administrator
Mon 15 Nov 2004 01:50:00 PM UTC, comment #1: 

Hi,

Here is a step-by-step. If you have any questions about what each is for, then feel free to ask. It is assumed that you have the kernel-source package installed and that you are using kernel 2.6.8.1-10mdksmp.

(change to kernel source directory)
# cd /lib/modules/`uname -r`/build

(copy in the current kernel configuration)
# cp /boot/config-`uname -r` .config

(configure the kernel)
# make menuconfig
Security options -> Enable different security modules [*]
Security options -> Default Linux Capabilities <M>
exit, saving changes

(build the kernel)
# make

(install kernel modules)
# make modules_install

Mandrake 10.1 installs the new modules into the wrong directory, so you will need to rename the directory.
# mv /lib/modules/`uname -r` /lib/modules/`uname -r`.orig
# mv /lib/modules/2.6.8.1-10mdkcustom /lib/modules/`uname -r`

(install kernel)
# cp System.map /boot/System.map-`uname -r`
# cp .config /boot/config-`uname -r`
# cp arch/i386/boot/bzImage /boot/vmlinuz-`uname -r`

(update lilo)
# lilo

(build dazuko)
# cd <path-to-dazuko-source>
# ./configure
# make

(install dazuko kernel module)
# cp dazuko.ko /lib/modules/`uname -r`/kernel/security
# depmod -a

(reboot machine)
# reboot

(load Dazuko)
# modprobe dazuko

(create Dazuko device)
# mknod -m 600 /dev/dazuko c `grep dazuko /proc/devices | sed "s/ .*//"` 0

You can have Dazuko automatically load at startup by adding "dazuko" to /etc/modprobe.preload

John Ogness <ogman>
Group administrator
Mon 15 Nov 2004 12:25:04 PM UTC, original submission:  

Hi everybody !
I'm a Linux' newbie and trying installing Dazuko on a Mandrake 10.1.
Here is my problem :  in Mandrake 10.1 "Linux Default Capabilities are built into the kernel. Capabilities must be built as a module in order to work with Dazuko".
So i run "$ make menuconfig" in my kernel source code directory. I bring up the configuration utility but i don't know the procedure to build my kernel capabilities as a module.
Anyone can help me ?
Thanks.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #3966:  dazuko-HOWTO-mandrake_10-1.txt.gz added by sgrayban (1KiB - application/x-gzip - Dazuko HOWTO for Mandrake 10.1)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-25 sgrayban Attached File- Added dazuko-HOWTO-mandrake_10-1.txt.gz, #119
2005-02-05 ogman Open/ClosedOpen Closed
2004-11-15 ogman Assigned toNone ogman

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code