On Thu, Jun 18, 2009 at 12:51 PM, Leonid Flaks<[email protected]> wrote:
> keep_ssh_host_keys worked great for me on Fedora 10, but does not work
> on Fedora 11. I can see in ks-pre.log file complains that insmod
> commands fail -
> insmod /lib/jbd.o
> insmod: can't read '/lib/jbd.o' No such file or directory
>
> same message about /lib/ext3.o

This is mainly just for users who might have ext3 built as a module to
make sure everything works. It is completely harmless for default
Fedora / Redhat kernels which generally build ext3 into the kernel.

> Something was changed in anaconda that should be reflected in this
> snippet for Fedora 11, but can't figure out what. I searched in bash
> environment after pressing F2 during installation, but those modules are
> missing both on F-11 and F-10 (and snippet happily works there!)
>
> As the result of module installation failing, drives list is empty.
>
> Any idea how that would be done in Fedora 11?

As the original author of the snippet I can help you troubleshoot it.
Debugging things in %pre is difficult.

On your workstation or the cobbler server, setup a netcat listener.
You can do this:
while true; do nc -l 8180; done

In the kickstart template somewhere very early, in %pre put something
roughly like this:
list-harddrives | nc $NETCAT_LISTENER_IP 8180

Then start a kickstart. The output of list-harddrives will be spit to
stdout on your netcat listener and you can try to follow the logic of
the snippet from there. What output does that give you on a fedora 11
build? Also do you have any special partitioning snippet?

> On a side note, I see in the log file that the system is checked for
> LVM, but I don't have any LVMs to see if it works there. I made small
> addition to this snippet to check for RAID and it works also - the patch
> is sent to devel list (it is waiting for moderator's approval as I am
> not subscribed to it)

Awesome!

-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to