[CentOS] Install from cdrom and Update repo

Sat Mar 15 10:09:07 UTC 2014
Daniel J Walsh <dwalsh at redhat.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/14/2014 05:24 PM, Eero Volotinen wrote:
> Please provide complete kickstart, not just a snippet of it. 14.3.2014
> 22.47 kirjoitti "EljiUdia" <eljiudia at yahoo.com>:
> 
>> Hi,
>> 
>> I have make a kickstart file to automate the installation from cdrom and 
>> another repo. The kickstart snippet looks like
>> 
>> install graphical cdrom repo --name="Updates" --baseurl=" 
>> http://mirror.centos.org/centos/6.5/updates/x86_64/" --cost=98 selinux
>> --enforcing
>> 
>> After installation, system boots but kernel crash with the message
>> 
>> Kernel Panic - not syncing: Attempted to kill init! Pid: 1 comm: init Not
>> tainted 2.6.32-358.6.2.e16.x86_64 #1 Call Trace: [] ? panic+0xs7/0x16f []
>> ? do_exit+0x862/0x870 [] ? fput+0x25/0x30 [] ? do_group_exit+0x58/0xd0 []
>> ? sys_exit_group+0x17/0x20 [] ? system_call_fastpath+0x16/0x1b
>> 
>> I found a solution on the web, but nobody tell why it happens. If
>> selinux is disabled, it works. The append of this lines in kickstart has
>> no positive effects.
>> 
>> %post --log=/root/postinstall.log /sbin/restorecon -R -v / %end
>> 
>> Some ideas? _______________________________________________ CentOS
>> mailing list CentOS at centos.org 
>> http://lists.centos.org/mailman/listinfo/centos
>> 
> _______________________________________________ CentOS mailing list 
> CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
> 

Boot the machine in permissive mode

enforcing=0 on the kernel command line,  THen see what AVC's you are getting.

ausearch -m avc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMkJsMACgkQrlYvE4MpobOA0wCdHlOI7He9fMbpfc2AbEXpTlQJ
vvYAn3ekfifF181Vt7F4T6R+Gc7jz1HQ
=Zkpr
-----END PGP SIGNATURE-----