Custom kernel not (auto)loading capabilities modules
Markus Kolb
ubuntu-ml at tower-net.de
Thu Dec 23 16:20:04 UTC 2004
On 13.12.2004 13:29, Paul Sladen schrieb:
> On Mon, 13 Dec 2004, heema wrote:
>
> Hello Hemma,
>
>
>>i have the same problem as well
>>i dont know if its important or not
>>
>>have u fixed it ??
>
>
> Can you describe the problem you were having? It's impossible to tell if
> it's fixed if you don't tell us what it is; and it's to fix it if you don't
> tell people what it is there either.
Well, there is a thread...
> On 12.10.2004 02:53, Jaime schrieb:
>> Hi.
>>
>> When I boot from the "stock" Ubuntu kernel 2.6.8.1-3-386 (2.6.8.1-14),
>> the linux security modules "capability" and "commoncap" both get loaded.
>> The relevant part of my dmesg is:
>>
>> <snip file="dmesg">
>> lp0: using parport0 (interrupt-driven).
>> Capability LSM initialized
>> device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm at uk.sistina.com
>> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
>> </snip>
>>
>> I'm currently using a custom kernel (built using kernel-package) with
>> both capability and commoncap enabled as modules, but when I boot I get
>> the following error message from the init scripts:
>>
>> <snip>
>> * Starting system message bus... [OK]
>> * Starting Hardware absatraction layer...
>> 00:22:08.204 [W] hald.c:301: Your kernel does not support capabilities;
>> some features will not be available
>> * Starting file alteration monitor... [OK]
>> </snip>
>>
>> The dmesg from my custom kernel shows the missing line:
>>
>> <snip>
>> lp0: using parport0 (interrupt-driven).
>> device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm at uk.sistina.com
>> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
>> </snip>
>>
>> The bit I don't understand is that I _can_ manually load the
>> capabilities modules - "modprobe capaility" successfully loads
>> "capability" and "commoncap".
>> Here's the relevant section from my .config:
>>
>> <snip>
>> # Security options
>> #
>> CONFIG_SECURITY=y
>> # CONFIG_SECURITY_NETWORK is not set
>> CONFIG_SECURITY_CAPABILITIES=m
>> # CONFIG_SECURITY_ROOTPLUG is not set
>> # CONFIG_SECURITY_SELINUX is not set
>> <snip>
>>
>> Should I just compile the modules into the kernel or put them
>> into /etc/modules, or is this a kernel bug (I'll log it if so)?
>>
>> Thanks,
>>
>> Jaime
I've built a custom kernel to patch the broken smbfs in the Ubuntu
linux-images and linux-source.
I can commit this problem.
Although I've used the same config as the linux-image package (copied
from /boot/config-...) there is the problem that the Ubuntu init process
is broken with the custom kernel.
So what is the difference in Ubuntu kernel build and custom kernel build?
Perhaps anyone can tell us?
Merry Christmas
Markus
More information about the ubuntu-users
mailing list