lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 5 May 2008 18:01:53 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...ozas.de>
To:	Dave Jones <davej@...emonkey.org.uk>
cc:	Rusty Russell <rusty@...tcorp.com.au>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Jon Masters <jonathan@...masters.org>,
	Sam Ravnborg <sam@...nborg.org>
Subject: Re: changeset: Make forced module loading optional

On Monday 2008-05-05 17:32, Dave Jones wrote:
>On Mon, May 05, 2008 at 08:43:06AM +0200, Jan Engelhardt wrote:
> 
> > So it's like:
> > 	<hack hack hack>
> > 	make modules_install
> > 	cp arch/x86/boot/bzImage /boot/mykernel
> > 	cp System.map /boot/System.map-2.6.26.1
> > 	mkinitrd -i /boot/myinitrd -k /boot/mykernel # suse, fedora might slightly different
>
>For Fedora (and many other distros), you can replace the last three 
>lines with 'make install'

I don't trust that command. It might edit grub.conf in a way 
that somehow impacts the regular workflow. (Like, overwriting an old 
image, or creating oodles of entries in grub.conf.)
And say I had both lilo and grub installed (on the filesystem), with 
grub in the bootloader; I'd fear that make install might run lilo and 
trash grub in the MBR. No thanks, too much clouds. Also, it can't 
possibly know how to call mkinitrd, because every distro has its own 
stupid required flags (SUSE: requires none and tries to be smart, 
though it will be thankful if you pass it -i and -k, whereas on Fedora 
you need to specify the version, sigh.)

>It'll do everything. Construct the initrd. Install it & the vmlinuz, 
>point grub.conf at it. etc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists