Skip to content

Instantly share code, notes, and snippets.

@dcarley
Created November 25, 2011 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcarley/1393887 to your computer and use it in GitHub Desktop.
Save dcarley/1393887 to your computer and use it in GitHub Desktop.
Kickstart firewall rules disappearing in CentOS 5.7
10:23:21 WARNING : not adding Base group
10:23:21 INFO : moving (1) to step postselection
10:23:21 INFO : selected kernel package for kernel
10:23:21 DEBUG : selecting kernel-devel
10:23:22 DEBUG : Checking for virtual provide or file-provide for authconfig.ia32e
10:23:22 DEBUG : no package matching authconfig.ia32e
10:23:23 DEBUG : Checking for virtual provide or file-provide for chkconfig.ia32e
10:23:23 DEBUG : no package matching chkconfig.ia32e
10:23:23 DEBUG : Checking for virtual provide or file-provide for mkinitrd.ia32e
10:23:23 DEBUG : no package matching mkinitrd.ia32e
10:23:23 DEBUG : Checking for virtual provide or file-provide for rhpl.ia32e
10:23:23 DEBUG : no package matching rhpl.ia32e
10:23:23 DEBUG : Checking for virtual provide or file-provide for system-config-securitylevel-tui.ia32e
10:23:23 DEBUG : no package matching system-config-securitylevel-tui.ia32e
..
10:25:50 INFO : Writing main configuration
10:25:50 ERROR : lokkit run failed: /usr/sbin/lokkit can not be run
10:25:50 ERROR : lokkit run failed: /usr/sbin/lokkit can not be run
..
10:25:51 WARNING : /etc/sysconfig/iptables doesn't exist
10:25:51 WARNING : /etc/sysconfig/ip6tables doesn't exist
10:25:51 INFO : set fc of /etc/sysconfig/iptables-config to system_u:object_r:iptables_conf_t:s0
[root@cent57 ~]# cat /etc/rpm/platform
ia32e-redhat-linux
[root@cent57 ~]# uname -a
Linux cent57.firewall 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@cent57 ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 44
model name : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
stepping : 2
cpu MHz : 2349.671
cache size : 6144 KB
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc up pni monitor ssse3 lahf_lm
bogomips : 4699.34
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
[root@cent57 ~]# python -c 'import yum, pprint; pprint.pprint(yum.YumBase().conf.yumvar, width=1)'
Loaded plugins: fastestmirror
{'arch': 'ia32e',
'basearch': 'x86_64',
'releasever': '5'}
[root@cent57 ~]# rpmdb --showrc | grep -P '_arch\t'
-14: _arch x86_64
-14: _build_arch x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment