Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 917051 Details for
Bug 1118306
ami-d609f0be RHEL 5.10 x86_64 us-east-1
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
ami-d609f0be.yaml
ami-d609f0be.yaml (text/yaml), 353.90 KB, created by
mkovacik
on 2014-07-10 12:12:08 UTC
(
hide
)
Description:
ami-d609f0be.yaml
Filename:
MIME Type:
Creator:
mkovacik
Created:
2014-07-10 12:12:08 UTC
Size:
353.90 KB
patch
obsolete
>ami: ami-d609f0be >arch: x86_64 >console_output: {c1.xlarge: "Xen Minimal OS!\r\n start_info: 0x17ae000(VA)\r\n \ > \ nr_pages: 0x1c0000\r\n shared_inf: 0x7f428000(MA)\r\n pt_base: 0x17b1000(VA)\r\ > \nnr_pt_frames: 0x11\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 17c5\r\n \ > \ max_pfn: 1c0000\r\nMapping memory range 0x1c00000 - 0x1c0000000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 25bd000(25bd000)-1c0000000(1c0000000)\r\nMM: done\r\nDemand map pfns at 1c0001000-21c0001000.\r\ > \nHeap resides at 21c0002000-41c0002000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x1c0001000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x21c0002050, stack: 0x3410000\r\nThread \"xenstore\"\ > : pointer: 0x21c0002800, stack: 0x3420000\r\nxenbus initialised on irq 1 mfn 0x4dda56\r\ > \nThread \"shutdown\": pointer: 0x21c0002fb0, stack: 0x3430000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x21c0003760, stack: 0x3440000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/82/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/82/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/82/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/82/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/82/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/82/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/82/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/82/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1810163\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1800.000 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7182584k/7348224k available (2562k\ > \ kernel code, 156724k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4501.57 BogoMIPS (lpj=9003141)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 7\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=102\n\ > \rmigration_cost=Initializing CPU#2\n\r102\n\rInitializing CPU#3\n\rmigration_cost=102\n\ > \rInitializing CPU#4\n\rmigration_cost=102\n\rInitializing CPU#5\n\rmigration_cost=102\n\ > \rInitializing CPU#6\n\rmigration_cost=102\n\rInitializing CPU#7\n\rmigration_cost=102\n\ > \rBrought up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1404974209.641:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1810163\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1800.000 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7182584k/7348224k available (2562k\ > \ kernel code, 156724k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4501.57 BogoMIPS (lpj=9003141)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 7\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=102\n\ > \rmigration_cost=Initializing CPU#2\n\r102\n\rInitializing CPU#3\n\rmigration_cost=102\n\ > \rInitializing CPU#4\n\rmigration_cost=102\n\rInitializing CPU#5\n\rmigration_cost=102\n\ > \rInitializing CPU#6\n\rmigration_cost=102\n\rInitializing CPU#7\n\rmigration_cost=102\n\ > \rBrought up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1404974209.641:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 5859.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (5859.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 1741 MB/s\n\rraid6: int64x2 2152 MB/s\n\rraid6: int64x4 2036 MB/s\n\r\ > raid6: int64x8 1709 MB/s\n\rraid6: sse2x1 4273 MB/s\n\rraid6: sse2x2 5073\ > \ MB/s\n\rraid6: sse2x4 5850 MB/s\n\rraid6: using algorithm sse2x4 (5850 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1404974239.538:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1404974242.366:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 10 02:37:33 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1493) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:43,147:\ > \ Zone [us-east-1e]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:43,148:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:43,150: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:43,151: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:43,161: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:43,161: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:43,169: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:43,169: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-158-104-219 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975890.118:132): audit_pid=0 old=1951 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", m1.large: "Xen Minimal OS!\r\n start_info: 0x18ae000(VA)\r\ > \n nr_pages: 0x1e0000\r\n shared_inf: 0x7e42a000(MA)\r\n pt_base: 0x18b1000(VA)\r\ > \nnr_pt_frames: 0x11\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 18c5\r\n \ > \ max_pfn: 1e0000\r\nMapping memory range 0x1c00000 - 0x1e0000000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 27be000(27be000)-1e0000000(1e0000000)\r\nMM: done\r\nDemand map pfns at 1e0001000-21e0001000.\r\ > \nHeap resides at 21e0002000-41e0002000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x1e0001000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x21e0002050, stack: 0x3710000\r\nThread \"xenstore\"\ > : pointer: 0x21e0002800, stack: 0x3720000\r\nxenbus initialised on irq 1 mfn 0x5e6950\r\ > \nThread \"shutdown\": pointer: 0x21e0002fb0, stack: 0x3730000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x21e0003760, stack: 0x3740000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/2511/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/2511/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/2511/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/2511/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/2511/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/2511/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/2511/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/2511/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001e0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1939443\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1799.999 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7697912k/7872512k available (2562k\ > \ kernel code, 165708k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4503.07 BogoMIPS (lpj=9006159)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 3\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=77\n\ > \rBrought up 2 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1404974212.631:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000001e0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 1939443\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1799.999 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 1048576 (order:\ > \ 11, 8388608 bytes)\n\rInode-cache hash table entries: 524288 (order: 10, 4194304\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 7697912k/7872512k available (2562k\ > \ kernel code, 165708k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4503.07 BogoMIPS (lpj=9006159)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 3\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=77\n\ > \rBrought up 2 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\rTCP established\ > \ hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind hash table\ > \ entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured (established\ > \ 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing netlink socket\ > \ (disabled)\n\rtype=2000 audit(1404974212.631:1): initialized\n\rVFS: Disk quotas\ > \ dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0, 4096 bytes)\n\r\ > Initializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\r\ > ksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 5737.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (5737.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 1721 MB/s\n\rraid6: int64x2 2149 MB/s\n\rraid6: int64x4 2028 MB/s\n\r\ > raid6: int64x8 1702 MB/s\n\rraid6: sse2x1 4259 MB/s\n\rraid6: sse2x2 4901\ > \ MB/s\n\rraid6: sse2x4 5636 MB/s\n\rraid6: using algorithm sse2x4 (5636 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1404974242.512:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1404974245.188:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 10 02:37:34 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 971) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:36,397:\ > \ Zone [us-east-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:36,398:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:36,401: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:36,401: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:36,433: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:36,434: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:36,442: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:36,443: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-238-212-179 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975862.864:118): audit_pid=0 old=1358 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", m1.small: "Xen Minimal OS!\r\n start_info: 0xd00000(VA)\r\ > \n nr_pages: 0x6a400\r\n shared_inf: 0xbf229000(MA)\r\n pt_base: 0xd03000(VA)\r\ > \nnr_pt_frames: 0xb\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: d11\r\n \ > \ max_pfn: 6a400\r\nMapping memory range 0x1000000 - 0x6a400000\r\nsetting 0x0-0x9a000\ > \ readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for 105c000(105c000)-6a400000(6a400000)\r\ > \nMM: done\r\nDemand map pfns at 6a401000-206a401000.\r\nHeap resides at 206a402000-406a402000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x6a401000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x206a402050, stack: 0x13d0000\r\nThread \"xenstore\": pointer: 0x206a402800,\ > \ stack: 0x13e0000\r\nxenbus initialised on irq 1 mfn 0x2d0dde\r\nThread \"shutdown\"\ > : pointer: 0x206a402fb0, stack: 0x13f0000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x206a403760, stack: 0x6a000000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4256/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4256/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/4256/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2051 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2051 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4256/2051\r\ > \nFailed to read /local/domain/0/backend/vbd/4256/2051/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4256/2051/feature-flush-cache.\r\n1835008\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd2\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/4256/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/4256/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/4256/2128/feature-flush-cache.\r\n312705024\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/4256/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/4256/2051\ > \ node=device/vbd/2051\r\nclose blk: backend=/local/domain/0/backend/vbd/4256/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 000000006ac00000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 429493\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1999.975 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 262144 (order:\ > \ 9, 2097152 bytes)\n\rInode-cache hash table entries: 131072 (order: 8, 1048576\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 1691896k/1748992k available (2562k\ > \ kernel code, 48572k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 5005.86 BogoMIPS (lpj=10011731)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 12288K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 0\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen\ > \ PCI frontend stub\n\rACPI: Interpreter disabled.\n\rLinux Plug and Play Support\ > \ v0.97 (c) Adam Belay\n\rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon\ > \ driver.\n\rusbcore: registered new driver usbfs\n\rusbcore: registered new driver\ > \ hub\n\rPCI: System does not support PCI\n\rPCI: System does not support PCI\n\ > \rNetLabel: Initializing\n\rNetLabel: domain hash size = 128\n\rNetLabel: protocols\ > \ = UNLABELED CIPSOv4\n\rNetLabel: unlabeled traffic allowed by default\n\rNET:\ > \ Registered protocol family 2\n\rIP route cache hash table entries: 65536 (order:\ > \ 7, 524288 bytes)\n\rTCP established hash table entries: 262144 (order: 10, 4194304\ > \ bytes)\n\rTCP bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP:\ > \ Hash tables configured (established 262144 bind 65536)\n\rTCP reno registered\n\ > \raudit: initializing netlink socket (disabled)\n\rtype=2000 audit(1404974204.621:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\rLinux version 2.6.18-371.9.1.el5xen\ > \ (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\rBIOS-provided physical\ > \ RAM map:\n\r Xen: 0000000000000000 - 000000006ac00000 (usable)\n\rNo mptable\ > \ found.\n\rBuilt 1 zonelists. Total pages: 429493\n\rKernel command line: ro\ > \ root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries: 4096 (order: 12,\ > \ 32768 bytes)\n\rXen reported: 1999.975 MHz processor.\n\rConsole: colour dummy\ > \ device 80x25\n\rDentry cache hash table entries: 262144 (order: 9, 2097152 bytes)\n\ > \rInode-cache hash table entries: 131072 (order: 8, 1048576 bytes)\n\rSoftware\ > \ IO TLB disabled\n\rMemory: 1691896k/1748992k available (2562k kernel code, 48572k\ > \ reserved, 1761k data, 196k init)\n\rCalibrating delay using timer specific routine..\ > \ 5005.86 BogoMIPS (lpj=10011731)\n\rSecurity Framework v1.0.0 initialized\n\r\ > SELinux: Initializing.\n\rselinux_register_security: Registering secondary module\ > \ capability\n\rCapability LSM initialized as secondary\n\rMount-cache hash table\ > \ entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\rCPU: L2 cache: 256K\n\ > \rCPU: L3 cache: 12288K\n\rCPU: Physical Processor ID: 1\n\rCPU: Processor Core\ > \ ID: 0\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\rchecking if image\ > \ is initramfs... it is\n\rGrant table initialized\n\rNET: Registered protocol\ > \ family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 65536 (order: 7, 524288 bytes)\n\ > \rTCP established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 262144 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1404974204.621:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rEvent-channel device installed.\n\rUniform Multi-Platform E-IDE driver\ > \ Revision: 7.00alpha2\n\ride: Assuming 50MHz system bus speed for PIO modes;\ > \ override with idebus=xx\n\ride-floppy driver 0.99.newide\n\rusbcore: registered\ > \ new driver hiddev\n\rusbcore: registered new driver usbhid\n\rdrivers/usb/input/hid-core.c:\ > \ v2.6:USB HID core driver\n\rPNP: No PS/2 controller found. Probing ports directly.\n\ > \ri8042.c: No controller found.\n\rmice: PS/2 mouse device common for all mice\n\ > \rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\rmd: bitmap version 4.39\n\ > \rTCP bic registered\n\rInitializing IPsec netlink socket\n\rNET: Registered protocol\ > \ family 1\n\rNET: Registered protocol family 17\n\rXENBUS: Device with no driver:\ > \ device/vbd/2049\n\rXENBUS: Device with no driver: device/vbd/2128\n\rXENBUS:\ > \ Device with no driver: device/vbd/2051\n\rXENBUS: Device with no driver: device/vif/0\n\ > \rXENBUS: Device with no driver: device/console/0\n\rInitalizing network drop\ > \ monitor service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat\ > \ nash version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs\ > \ filesystem\r\nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\ > \nCreating block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising\ > \ virtual ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\ > \rLoading xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown\ > \ partition table\n\rChanging capacity of (8, 1) to 31457280 sectors\n\rChanging\ > \ capacity of (8, 80) to 312705024 sectors\n\rChanging capacity of (8, 3) to 1835008\ > \ sectors\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\ > \rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 14137.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (14137.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 1383 MB/s\n\rraid6: int64x2 1541 MB/s\n\rraid6: int64x4 1289 MB/s\n\r\ > raid6: int64x8 1203 MB/s\n\rraid6: sse2x1 2994 MB/s\n\rraid6: sse2x2 3449\ > \ MB/s\n\rraid6: sse2x4 3849 MB/s\n\rraid6: using algorithm sse2x4 (3849 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1404974234.691:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1404974237.103:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 10 02:37:27 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n dev_is_mpath: failed to get device for 8:3\r\ > \n No volume groups found\r\n[ OK ]\r\r\nChecking filesystems\r\nChecking all\ > \ file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/sda1 \r\n/: clean,\ > \ 66451/1572864 files, 545122/1572354 blocks\r\n[ OK ]\r\r\nRemounting root\ > \ filesystem in read-write mode: [ OK ]\r\r\nMounting local filesystems: [\ > \ OK ]\r\r\nEnabling local filesystem quotas: [ OK ]\r\r\nEnabling /etc/fstab\ > \ swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\r\nEntering non-interactive\ > \ startup\r\nApplying Intel CPU microcode update: FATAL: Error inserting microcode\ > \ (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 895) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:34,465:\ > \ Zone [us-east-1e]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:34,466:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:34,467: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:34,467: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:34,499: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:34,500: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:34,506: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:34,506: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-29-57-223 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975941.135:118): audit_pid=0 old=1268 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", m1.xlarge: "Xen Minimal OS!\r\n start_info: 0x27ae000(VA)\r\ > \n nr_pages: 0x3c0000\r\n shared_inf: 0xbf527000(MA)\r\n pt_base: 0x27b1000(VA)\r\ > \nnr_pt_frames: 0x19\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 27cd\r\n \ > \ max_pfn: 3c0000\r\nMapping memory range 0x2c00000 - 0x3c0000000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 45c5000(45c5000)-3c0000000(3c0000000)\r\nMM: done\r\nDemand map pfns at 3c0001000-23c0001000.\r\ > \nHeap resides at 23c0002000-43c0002000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x3c0001000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x23c0002050, stack: 0x6460000\r\nThread \"xenstore\"\ > : pointer: 0x23c0002800, stack: 0x6470000\r\nxenbus initialised on irq 1 mfn 0x4f5850\r\ > \nThread \"shutdown\": pointer: 0x23c0002fb0, stack: 0x6480000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x23c0003760, stack: 0x6490000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/409/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/409/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/409/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/409/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/409/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/409/2128/feature-flush-cache.\r\n880732160\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/409/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/409/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000003c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 3878643\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1999.975 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 2097152 (order:\ > \ 12, 16777216 bytes)\n\rInode-cache hash table entries: 1048576 (order: 11, 8388608\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 15411572k/15736832k available\ > \ (2562k kernel code, 316440k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 5001.93 BogoMIPS (lpj=10003872)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 12288K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 0\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=4\n\ > \rmigration_cost=4\n\rInitializing CPU#2\n\rmigration_cost=4\n\rInitializing CPU#3\n\ > \rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1404974206.931:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 00000003c0800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 3878643\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1999.975 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 2097152 (order:\ > \ 12, 16777216 bytes)\n\rInode-cache hash table entries: 1048576 (order: 11, 8388608\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 15411572k/15736832k available\ > \ (2562k kernel code, 316440k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 5001.93 BogoMIPS (lpj=10003872)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 12288K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 0\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=4\n\ > \rmigration_cost=4\n\rInitializing CPU#2\n\rmigration_cost=4\n\rInitializing CPU#3\n\ > \rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1404974206.931:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\rChanging capacity of\ > \ (8, 1) to 31457280 sectors\n\r sdf: unknown partition table\n\rChanging capacity\ > \ of (8, 80) to 880732160 sectors\n\rLoading dm-mod.ko module\r\ndevice-mapper:\ > \ uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised:\ > \ dm-devel@redhat.com\n\rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\ > \nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko\ > \ module\r\nLoading linear.ko module\r\nmd: linear personality registered for\ > \ level -1\n\rLoading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd:\ > \ raid1 personality registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0\ > \ personality registered for level 0\n\rLoading raid10.ko module\r\nmd: raid10\ > \ personality registered for level 10\n\rLoading xor.ko module\r\nraid5: automatically\ > \ using best checksumming function: generic_sse\n\r generic_sse: 5581.000 MB/sec\n\ > \rraid5: using function: generic_sse (5581.000 MB/sec)\n\rLoading raid456.ko module\r\ > \nraid6: int64x1 2025 MB/s\n\rraid6: int64x2 2263 MB/s\n\rraid6: int64x4 \ > \ 1874 MB/s\n\rraid6: int64x8 1767 MB/s\n\rraid6: sse2x1 4394 MB/s\n\rraid6:\ > \ sse2x2 5044 MB/s\n\rraid6: sse2x4 5648 MB/s\n\rraid6: using algorithm\ > \ sse2x4 (5648 MB/s)\n\rmd: raid6 personality registered for level 6\n\rmd: raid5\ > \ personality registered for level 5\n\rmd: raid4 personality registered for level\ > \ 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\ > \nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem\ > \ initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev: cannot get major\ > \ 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko module\r\nLoading\ > \ dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\nLoading dm-message.ko\ > \ module\r\nLoading dm-raid45.ko module\r\ndevice-mapper: dm-raid45: initialized\ > \ v0.2594l\n\rWaiting for driver initialization.\r\nScanning and configuring dmraid\ > \ supported devices\r\nCreating root device.\r\nMounting root filesystem.\r\n\ > kjournald starting. Commit interval 5 seconds\n\rEXT3-fs: mounted filesystem\ > \ with ordered data mode.\n\rSetting up other filesystems.\r\nSetting up new root\ > \ fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching to new root and\ > \ running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\nunmounting old\ > \ /sys\r\ntype=1404 audit(1404974240.313:2): enforcing=1 old_enforcing=0 auid=4294967295\ > \ ses=4294967295\n\rtype=1403 audit(1404974242.541:3): policy loaded auid=4294967295\ > \ ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\tWelcome to Red Hat Enterprise\ > \ Linux Server\r\n\t\tPress 'I' to enter interactive startup.\r\nCannot access\ > \ the Hardware Clock via any known method.\r\nUse the --debug option to see the\ > \ details of our search for an access method.\r\nSetting clock (utc): Thu Jul\ > \ 10 02:37:31 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK ]\r\r\nLoading default\ > \ keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain: [ OK ]\r\ > \r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1147) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:26,361:\ > \ Zone [us-east-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:26,362:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:26,364: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:26,364: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:26,372: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:26,372: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:26,379: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:26,379: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-191-93-248 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975795.882:140): audit_pid=0 old=1557 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", m2.2xlarge: "Xen Minimal OS!\r\n start_info:\ > \ 0x4e0a000(VA)\r\n nr_pages: 0x88b800\r\n shared_inf: 0x7b958000(MA)\r\n\ > \ pt_base: 0x4e0d000(VA)\r\nnr_pt_frames: 0x2b\r\n mfn_list: 0x9ae000(VA)\r\ > \n mod_start: 0x0(VA)\r\n mod_len: 0\r\n flags: 0x0\r\n cmd_line:\ > \ root=/dev/sda1 ro 4\r\n stack: 0x96d840-0x98d840\r\nMM: Init\r\n \ > \ _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n \ > \ _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\ > \n start_pfn: 4e3b\r\n max_pfn: 88b800\r\nMapping memory range 0x5000000 -\ > \ 0x88b800000\r\nsetting 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise\ > \ page allocator for 9291000(9291000)-88b800000(88b800000)\r\nMM: done\r\nDemand\ > \ map pfns at 88b801000-288b801000.\r\nHeap resides at 288b802000-488b802000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x88b801000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x288b802050, stack: 0xa030000\r\nThread \"xenstore\": pointer: 0x288b802800,\ > \ stack: 0xa040000\r\nxenbus initialised on irq 1 mfn 0x12869f4\r\nThread \"shutdown\"\ > : pointer: 0x288b802fb0, stack: 0xa050000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x288b803760, stack: 0xa060000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/675/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/675/2049/feature-barrier.\r\nFailed to read\ > \ /local/domain/0/backend/vbd/675/2049/feature-flush-cache.\r\n31457280 sectors\ > \ of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/675/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/675/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/675/2128/feature-flush-cache.\r\n1761474560\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/675/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/675/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 000000088c000000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 8837743\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 8388608 (order:\ > \ 14, 67108864 bytes)\n\rInode-cache hash table entries: 4194304 (order: 13, 33554432\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 35095388k/35848192k available\ > \ (2562k kernel code, 743992k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6004.18 BogoMIPS (lpj=12008377)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 1\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=89\n\ > \rmigration_cost=Initializing CPU#2\n\r89\n\rmigration_cost=Initializing CPU#3\n\ > \r89\n\rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1404974220.670:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 000000088c000000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 8837743\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 8388608 (order:\ > \ 14, 67108864 bytes)\n\rInode-cache hash table entries: 4194304 (order: 13, 33554432\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 35095388k/35848192k available\ > \ (2562k kernel code, 743992k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6004.18 BogoMIPS (lpj=12008377)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 1\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=89\n\ > \rmigration_cost=Initializing CPU#2\n\r89\n\rmigration_cost=Initializing CPU#3\n\ > \r89\n\rBrought up 4 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1404974220.670:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 7806.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (7806.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2301 MB/s\n\rraid6: int64x2 2836 MB/s\n\rraid6: int64x4 2700 MB/s\n\r\ > raid6: int64x8 2270 MB/s\n\rraid6: sse2x1 5684 MB/s\n\rraid6: sse2x2 6757\ > \ MB/s\n\rraid6: sse2x4 7797 MB/s\n\rraid6: using algorithm sse2x4 (7797 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1404974248.300:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1404974249.784:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 10 02:37:36 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1140) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:20,978:\ > \ Zone [us-east-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:20,979:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:20,980: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:20,980: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:20,987: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:20,987: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:20,993: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:20,993: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-73-162-236 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975756.214:118): audit_pid=0 old=1556 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", m2.4xlarge: "Xen Minimal OS!\r\n start_info:\ > \ 0x9266000(VA)\r\n nr_pages: 0x1117000\r\n shared_inf: 0x7bc68000(MA)\r\n\ > \ pt_base: 0x9269000(VA)\r\nnr_pt_frames: 0x4d\r\n mfn_list: 0x9ae000(VA)\r\ > \n mod_start: 0x0(VA)\r\n mod_len: 0\r\n flags: 0x0\r\n cmd_line:\ > \ root=/dev/sda1 ro 4\r\n stack: 0x96d840-0x98d840\r\nMM: Init\r\n \ > \ _text: 0x0(VA)\r\n _etext: 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n \ > \ _edata: 0x9fce0(VA)\r\nstack start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\ > \n start_pfn: 92b9\r\n max_pfn: 1117000\r\nMapping memory range 0x9400000\ > \ - 0x1117000000\r\nsetting 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise\ > \ page allocator for 11b6b000(11b6b000)-1117000000(1117000000)\r\nMM: done\r\n\ > Demand map pfns at 1117001000-3117001000.\r\nHeap resides at 3117002000-5117002000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x1117001000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x3117002050, stack: 0x1113690000\r\nThread \"xenstore\": pointer: 0x3117002800,\ > \ stack: 0x11136a0000\r\nxenbus initialised on irq 1 mfn 0x2413977\r\nThread \"\ > shutdown\": pointer: 0x3117002fb0, stack: 0x11136c0000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x3117003760, stack: 0x11136d0000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/346/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/346/2049/feature-barrier.\r\nFailed to read\ > \ /local/domain/0/backend/vbd/346/2049/feature-flush-cache.\r\n31457280 sectors\ > \ of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/346/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/346/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/346/2128/feature-flush-cache.\r\n1761475584\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/346/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/346/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000001117800000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 17675243\n\ > \rKernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table\ > \ entries: 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\ > \rConsole: colour dummy device 80x25\n\rDentry cache hash table entries: 16777216\ > \ (order: 15, 134217728 bytes)\n\rInode-cache hash table entries: 8388608 (order:\ > \ 14, 67108864 bytes)\n\rSoftware IO TLB disabled\n\rMemory: 70206268k/71688192k\ > \ available (2562k kernel code, 1473000k reserved, 1761k data, 196k init)\n\r\ > Calibrating delay using timer specific routine.. 6001.71 BogoMIPS (lpj=12003423)\n\ > \rSecurity Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 3\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=80\n\ > \rmigration_cost=Initializing CPU#2\n\r80\n\rmigration_cost=Initializing CPU#3\n\ > \r80\n\rmigration_cost=Initializing CPU#4\n\r80\n\rmigration_cost=Initializing\ > \ CPU#5\n\r80\n\rmigration_cost=Initializing CPU#6\n\r80\n\rmigration_cost=Initializing\ > \ CPU#7\n\r80\n\rBrought up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\ > \rTCP established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 262144 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1404974236.208:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\rLinux version 2.6.18-371.9.1.el5xen\ > \ (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\rBIOS-provided physical\ > \ RAM map:\n\r Xen: 0000000000000000 - 0000001117800000 (usable)\n\rNo mptable\ > \ found.\n\rBuilt 1 zonelists. Total pages: 17675243\n\rKernel command line:\ > \ ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries: 4096 (order:\ > \ 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole: colour\ > \ dummy device 80x25\n\rDentry cache hash table entries: 16777216 (order: 15,\ > \ 134217728 bytes)\n\rInode-cache hash table entries: 8388608 (order: 14, 67108864\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 70206268k/71688192k available\ > \ (2562k kernel code, 1473000k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6001.71 BogoMIPS (lpj=12003423)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 3\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=80\n\ > \rmigration_cost=Initializing CPU#2\n\r80\n\rmigration_cost=Initializing CPU#3\n\ > \r80\n\rmigration_cost=Initializing CPU#4\n\r80\n\rmigration_cost=Initializing\ > \ CPU#5\n\r80\n\rmigration_cost=Initializing CPU#6\n\r80\n\rmigration_cost=Initializing\ > \ CPU#7\n\r80\n\rBrought up 8 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\ > \rTCP established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 262144 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1404974236.208:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rEvent-channel device installed.\n\rUniform Multi-Platform E-IDE driver\ > \ Revision: 7.00alpha2\n\ride: Assuming 50MHz system bus speed for PIO modes;\ > \ override with idebus=xx\n\ride-floppy driver 0.99.newide\n\rusbcore: registered\ > \ new driver hiddev\n\rusbcore: registered new driver usbhid\n\rdrivers/usb/input/hid-core.c:\ > \ v2.6:USB HID core driver\n\rPNP: No PS/2 controller found. Probing ports directly.\n\ > \ri8042.c: No controller found.\n\rmice: PS/2 mouse device common for all mice\n\ > \rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\rmd: bitmap version 4.39\n\ > \rTCP bic registered\n\rInitializing IPsec netlink socket\n\rNET: Registered protocol\ > \ family 1\n\rNET: Registered protocol family 17\n\rXENBUS: Device with no driver:\ > \ device/vbd/2049\n\rXENBUS: Device with no driver: device/vbd/2128\n\rXENBUS:\ > \ Device with no driver: device/vif/0\n\rXENBUS: Device with no driver: device/console/0\n\ > \rInitalizing network drop monitor service\n\rWrite protecting the kernel read-only\ > \ data: 506k\n\rRed Hat nash version 5.1.19.6 starting\r\nMounting proc filesystem\r\ > \nMounting sysfs filesystem\r\nCreating /dev\r\nCreating initial device nodes\r\ > \nSetting up hotplug.\r\nCreating block device nodes.\r\nLoading xennet.ko module\r\ > \nnetfront: Initialising virtual ethernet driver.\n\rnetfront: device eth0 has\ > \ copying receive path.\n\rLoading xenblk.ko module\r\nRegistering block device\ > \ major 8\n\r sdf: unknown partition table\n\rLoading dm-mod.ko module\r\ndevice-mapper:\ > \ uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised:\ > \ dm-devel@redhat.com\n\rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\ > \nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko\ > \ module\r\nLoading linear.ko module\r\nmd: linear personality registered for\ > \ level -1\n\rLoading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd:\ > \ raid1 personality registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0\ > \ personality registered for level 0\n\rLoading raid10.ko module\r\nmd: raid10\ > \ personality registered for level 10\n\rLoading xor.ko module\r\nraid5: automatically\ > \ using best checksumming function: generic_sse\n\r generic_sse: 7805.000 MB/sec\n\ > \rraid5: using function: generic_sse (7805.000 MB/sec)\n\rLoading raid456.ko module\r\ > \nraid6: int64x1 2318 MB/s\n\rraid6: int64x2 2861 MB/s\n\rraid6: int64x4 \ > \ 2709 MB/s\n\rraid6: int64x8 2277 MB/s\n\rraid6: sse2x1 5683 MB/s\n\rraid6:\ > \ sse2x2 6740 MB/s\n\rraid6: sse2x4 7791 MB/s\n\rraid6: using algorithm\ > \ sse2x4 (7791 MB/s)\n\rmd: raid6 personality registered for level 6\n\rmd: raid5\ > \ personality registered for level 5\n\rmd: raid4 personality registered for level\ > \ 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\ > \nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem\ > \ initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev: cannot get major\ > \ 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko module\r\nLoading\ > \ dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\nLoading dm-message.ko\ > \ module\r\nLoading dm-raid45.ko module\r\ndevice-mapper: dm-raid45: initialized\ > \ v0.2594l\n\rWaiting for driver initialization.\r\nScanning and configuring dmraid\ > \ supported devices\r\nCreating root device.\r\nMounting root filesystem.\r\n\ > kjournald starting. Commit interval 5 seconds\n\rEXT3-fs: mounted filesystem\ > \ with ordered data mode.\n\rSetting up other filesystems.\r\nSetting up new root\ > \ fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching to new root and\ > \ running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\nunmounting old\ > \ /sys\r\ntype=1404 audit(1404974265.758:2): enforcing=1 old_enforcing=0 auid=4294967295\ > \ ses=4294967295\n\rtype=1403 audit(1404974267.998:3): policy loaded auid=4294967295\ > \ ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\tWelcome to Red Hat Enterprise\ > \ Linux Server\r\n\t\tPress 'I' to enter interactive startup.\r\nCannot access\ > \ the Hardware Clock via any known method.\r\nUse the --debug option to see the\ > \ details of our search for an access method.\r\nSetting clock (utc): Thu Jul\ > \ 10 02:37:57 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK ]\r\r\nLoading default\ > \ keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain: [ OK ]\r\ > \r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 1491) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:49,780:\ > \ Zone [us-east-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:49,781:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:49,783: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:49,783: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:49,790: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:49,790: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:49,795: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:49,796: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-143-136-62 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975798.543:118): audit_pid=0 old=1950 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", m2.xlarge: "Xen Minimal OS!\r\n start_info: 0x2bdc000(VA)\r\ > \n nr_pages: 0x445c00\r\n shared_inf: 0x7c88f000(MA)\r\n pt_base: 0x2bdf000(VA)\r\ > \nnr_pt_frames: 0x1b\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: 2bfd\r\n \ > \ max_pfn: 445c00\r\nMapping memory range 0x3000000 - 0x445c00000\r\nsetting\ > \ 0x0-0x9a000 readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for\ > \ 4e24000(4e24000)-445c00000(445c00000)\r\nMM: done\r\nDemand map pfns at 445c01000-2445c01000.\r\ > \nHeap resides at 2445c02000-4445c02000.\r\nInitialising timer interface\r\nInitialising\ > \ console ... done.\r\ngnttab_table mapped at 0x445c01000.\r\nInitialising scheduler\r\ > \nThread \"Idle\": pointer: 0x2445c02050, stack: 0x5500000\r\nThread \"xenstore\"\ > : pointer: 0x2445c02800, stack: 0x5510000\r\nxenbus initialised on irq 1 mfn 0x1743022\r\ > \nThread \"shutdown\": pointer: 0x2445c02fb0, stack: 0x5520000\r\nDummy main:\ > \ start_info=0x98d940\r\nThread \"main\": pointer: 0x2445c03760, stack: 0x5530000\r\ > \n\"main\" \"root=/dev/sda1\" \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n*******************\ > \ BLKFRONT for device/vbd/2049 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/3135/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/3135/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/3135/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\nvbd 2128 is hd1\r\n*******************\ > \ BLKFRONT for device/vbd/2128 **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/3135/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/3135/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/3135/2128/feature-flush-cache.\r\n859761664\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/3135/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/3135/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000000446400000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 4418993\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 4194304 (order:\ > \ 13, 33554432 bytes)\n\rInode-cache hash table entries: 2097152 (order: 12, 16777216\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 17539824k/17928192k available\ > \ (2562k kernel code, 379488k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6005.22 BogoMIPS (lpj=12010442)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 7\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=52\n\ > \rBrought up 2 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1404974217.940:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\ > \rLinux version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT\ > \ 2014\n\rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000000446400000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 4418993\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 2399.998 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 4194304 (order:\ > \ 13, 33554432 bytes)\n\rInode-cache hash table entries: 2097152 (order: 12, 16777216\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 17539824k/17928192k available\ > \ (2562k kernel code, 379488k reserved, 1761k data, 196k init)\n\rCalibrating\ > \ delay using timer specific routine.. 6005.22 BogoMIPS (lpj=12010442)\n\rSecurity\ > \ Framework v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 1\n\rCPU: Processor Core ID: 7\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rInitializing CPU#1\n\rmigration_cost=52\n\ > \rBrought up 2 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\rACPI: Interpreter\ > \ disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\rpnp: PnP ACPI:\ > \ disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore: registered new\ > \ driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System does not support\ > \ PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\rNetLabel:\ > \ domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\rNetLabel:\ > \ unlabeled traffic allowed by default\n\rNET: Registered protocol family 2\n\ > \rIP route cache hash table entries: 524288 (order: 10, 4194304 bytes)\n\rTCP\ > \ established hash table entries: 262144 (order: 10, 4194304 bytes)\n\rTCP bind\ > \ hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables configured\ > \ (established 262144 bind 65536)\n\rTCP reno registered\n\raudit: initializing\ > \ netlink socket (disabled)\n\rtype=2000 audit(1404974217.940:1): initialized\n\ > \rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries: 512 (order 0,\ > \ 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test for crc32c (crc32c-generic)\n\ > \rksign: Installing public key data\n\rLoading keyring\n\r- Added public key 58CD4BE7E88C316\n\ > \r- User ID: Red Hat, Inc. (Kernel Module GPG key)\n\rio scheduler noop registered\n\ > \rio scheduler anticipatory registered\n\rio scheduler deadline registered\n\r\ > io scheduler cfq registered (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version:\ > \ 0.5\n\rrtc: IRQ 8 is not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart\ > \ interface v0.101 (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console\ > \ successfully installed as xvc0\n\rEvent-channel device installed.\n\rUniform\ > \ Multi-Platform E-IDE driver Revision: 7.00alpha2\n\ride: Assuming 50MHz system\ > \ bus speed for PIO modes; override with idebus=xx\n\ride-floppy driver 0.99.newide\n\ > \rusbcore: registered new driver hiddev\n\rusbcore: registered new driver usbhid\n\ > \rdrivers/usb/input/hid-core.c: v2.6:USB HID core driver\n\rPNP: No PS/2 controller\ > \ found. Probing ports directly.\n\ri8042.c: No controller found.\n\rmice: PS/2\ > \ mouse device common for all mice\n\rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\ > \rmd: bitmap version 4.39\n\rTCP bic registered\n\rInitializing IPsec netlink\ > \ socket\n\rNET: Registered protocol family 1\n\rNET: Registered protocol family\ > \ 17\n\rXENBUS: Device with no driver: device/vbd/2049\n\rXENBUS: Device with\ > \ no driver: device/vbd/2128\n\rXENBUS: Device with no driver: device/vif/0\n\r\ > XENBUS: Device with no driver: device/console/0\n\rInitalizing network drop monitor\ > \ service\n\rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash\ > \ version 5.1.19.6 starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\ > \nCreating /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating\ > \ block device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\r sdf: unknown partition\ > \ table\n\rLoading dm-mod.ko module\r\ndevice-mapper: uevent: version 1.0.3\n\r\ > device-mapper: ioctl: 4.11.6-ioctl (2011-02-18) initialised: dm-devel@redhat.com\n\ > \rLoading dm-log.ko module\r\nLoading dm-mirror.ko module\r\nLoading crypto_api.ko\ > \ module\r\nLoading crypto_algapi.ko module\r\nLoading dm-crypt.ko module\r\n\ > Loading linear.ko module\r\nmd: linear personality registered for level -1\n\r\ > Loading dm-snapshot.ko module\r\nLoading raid1.ko module\r\nmd: raid1 personality\ > \ registered for level 1\n\rLoading raid0.ko module\r\nmd: raid0 personality registered\ > \ for level 0\n\rLoading raid10.ko module\r\nmd: raid10 personality registered\ > \ for level 10\n\rLoading xor.ko module\r\nraid5: automatically using best checksumming\ > \ function: generic_sse\n\r generic_sse: 7809.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (7809.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2283 MB/s\n\rraid6: int64x2 2800 MB/s\n\rraid6: int64x4 2640 MB/s\n\r\ > raid6: int64x8 2241 MB/s\n\rraid6: sse2x1 5678 MB/s\n\rraid6: sse2x2 6738\ > \ MB/s\n\rraid6: sse2x4 7762 MB/s\n\rraid6: using algorithm sse2x4 (7762 MB/s)\n\ > \rmd: raid6 personality registered for level 6\n\rmd: raid5 personality registered\ > \ for level 5\n\rmd: raid4 personality registered for level 4\n\rLoading jbd.ko\ > \ module\r\nLoading ext3.ko module\r\nLoading virtio.ko module\r\nLoading virtio_blk.ko\ > \ module\r\nLoading scsi_mod.ko module\r\nSCSI subsystem initialized\n\rLoading\ > \ sd_mod.ko module\r\nregister_blkdev: cannot get major 8 for sd\n\rLoading libata.ko\ > \ module\r\nLoading ata_piix.ko module\r\nLoading dm-mem-cache.ko module\r\nLoading\ > \ dm-region_hash.ko module\r\nLoading dm-message.ko module\r\nLoading dm-raid45.ko\ > \ module\r\ndevice-mapper: dm-raid45: initialized v0.2594l\n\rWaiting for driver\ > \ initialization.\r\nScanning and configuring dmraid supported devices\r\nCreating\ > \ root device.\r\nMounting root filesystem.\r\nkjournald starting. Commit interval\ > \ 5 seconds\n\rEXT3-fs: mounted filesystem with ordered data mode.\n\rSetting\ > \ up other filesystems.\r\nSetting up new root fs\r\nno fstab.sys, mounting internal\ > \ defaults\r\nSwitching to new root and running init.\r\nunmounting old /dev\r\ > \nunmounting old /proc\r\nunmounting old /sys\r\ntype=1404 audit(1404974249.558:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1404974252.770:3):\ > \ policy loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\ > \r\n\t\tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 10 02:37:45 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 972) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:40,574:\ > \ Zone [us-east-1d]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:40,574:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:40,577: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:40,577: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:40,584: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:40,584: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:40,589: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:40,589: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-185-143-210 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975993.927:118): audit_pid=0 old=1358 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r", t1.micro: "Xen Minimal OS!\r\n start_info: 0xae2000(VA)\r\ > \n nr_pages: 0x26700\r\n shared_inf: 0x7e078000(MA)\r\n pt_base: 0xae5000(VA)\r\ > \nnr_pt_frames: 0x9\r\n mfn_list: 0x9ae000(VA)\r\n mod_start: 0x0(VA)\r\n\ > \ mod_len: 0\r\n flags: 0x0\r\n cmd_line: root=/dev/sda1 ro 4\r\n\ > \ stack: 0x96d840-0x98d840\r\nMM: Init\r\n _text: 0x0(VA)\r\n _etext:\ > \ 0x7dc7d(VA)\r\n _erodata: 0x9a000(VA)\r\n _edata: 0x9fce0(VA)\r\nstack\ > \ start: 0x96d840(VA)\r\n _end: 0x9ade40(VA)\r\n start_pfn: af1\r\n \ > \ max_pfn: 26700\r\nMapping memory range 0xc00000 - 0x26700000\r\nsetting 0x0-0x9a000\ > \ readonly\r\nskipped 0x1000\r\nMM: Initialise page allocator for c1f000(c1f000)-26700000(26700000)\r\ > \nMM: done\r\nDemand map pfns at 26701000-2026701000.\r\nHeap resides at 2026702000-4026702000.\r\ > \nInitialising timer interface\r\nInitialising console ... done.\r\ngnttab_table\ > \ mapped at 0x26701000.\r\nInitialising scheduler\r\nThread \"Idle\": pointer:\ > \ 0x2026702050, stack: 0x26660000\r\nThread \"xenstore\": pointer: 0x2026702800,\ > \ stack: 0x26670000\r\nxenbus initialised on irq 1 mfn 0xd5081d\r\nThread \"shutdown\"\ > : pointer: 0x2026702fb0, stack: 0x26680000\r\nDummy main: start_info=0x98d940\r\ > \nThread \"main\": pointer: 0x2026703760, stack: 0x26690000\r\n\"main\" \"root=/dev/sda1\"\ > \ \"ro\" \"4\" \r\nvbd 2049 is hd0\r\n******************* BLKFRONT for device/vbd/2049\ > \ **********\r\n\r\n\r\nbackend at /local/domain/0/backend/vbd/3145/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/3145/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/3145/2049/feature-flush-cache.\r\n31457280\ > \ sectors of 512 bytes\r\n**************************\r\n\e[H\e[J Booting 'Red\ > \ Hat Enterprise Linux Server (2.6.18-371.9.1.el5xen)'\r\r\n\r\r\nroot (hd0)\r\ > \r\n Filesystem type is ext2fs, using whole disk\r\r\nkernel /boot/vmlinuz-2.6.18-371.9.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.9.1.el5xen.img\r\r\n\r\r\ > \n============= Init TPM Front ================\r\nTpmfront:Error Unable to read\ > \ device/vtpm/0/backend-id during tpmfront initialization! error = ENOENT\r\n\ > Tpmfront:Info Shutting down tpmfront\r\nclose blk: backend=/local/domain/0/backend/vbd/3145/2049\ > \ node=device/vbd/2049\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.9.1.el5xen (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\ > \rBIOS-provided physical RAM map:\n\r Xen: 0000000000000000 - 0000000026f00000\ > \ (usable)\n\rNo mptable found.\n\rBuilt 1 zonelists. Total pages: 155531\n\r\ > Kernel command line: ro root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries:\ > \ 4096 (order: 12, 32768 bytes)\n\rXen reported: 1799.999 MHz processor.\n\rConsole:\ > \ colour dummy device 80x25\n\rDentry cache hash table entries: 131072 (order:\ > \ 8, 1048576 bytes)\n\rInode-cache hash table entries: 65536 (order: 7, 524288\ > \ bytes)\n\rSoftware IO TLB disabled\n\rMemory: 602104k/637952k available (2562k\ > \ kernel code, 27484k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4502.45 BogoMIPS (lpj=9004916)\n\rSecurity Framework\ > \ v1.0.0 initialized\n\rSELinux: Initializing.\n\rselinux_register_security:\ > \ Registering secondary module capability\n\rCapability LSM initialized as secondary\n\ > \rMount-cache hash table entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\ > \rCPU: L2 cache: 256K\n\rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID:\ > \ 0\n\rCPU: Processor Core ID: 4\n\r(SMP-)alternatives turned off\n\rBrought up\ > \ 1 CPUs\n\rchecking if image is initramfs... it is\n\rGrant table initialized\n\ > \rNET: Registered protocol family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen\ > \ PCI frontend stub\n\rACPI: Interpreter disabled.\n\rLinux Plug and Play Support\ > \ v0.97 (c) Adam Belay\n\rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon\ > \ driver.\n\rusbcore: registered new driver usbfs\n\rusbcore: registered new driver\ > \ hub\n\rPCI: System does not support PCI\n\rPCI: System does not support PCI\n\ > \rNetLabel: Initializing\n\rNetLabel: domain hash size = 128\n\rNetLabel: protocols\ > \ = UNLABELED CIPSOv4\n\rNetLabel: unlabeled traffic allowed by default\n\rNET:\ > \ Registered protocol family 2\n\rIP route cache hash table entries: 32768 (order:\ > \ 6, 262144 bytes)\n\rTCP established hash table entries: 131072 (order: 9, 2097152\ > \ bytes)\n\rTCP bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP:\ > \ Hash tables configured (established 131072 bind 65536)\n\rTCP reno registered\n\ > \raudit: initializing netlink socket (disabled)\n\rtype=2000 audit(1404974219.113:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rBootdata ok (command line is ro root=LABEL=/)\n\rLinux version 2.6.18-371.9.1.el5xen\ > \ (mockbuild@x86-028.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Tue May 13 06:55:48 EDT 2014\n\rBIOS-provided physical\ > \ RAM map:\n\r Xen: 0000000000000000 - 0000000026f00000 (usable)\n\rNo mptable\ > \ found.\n\rBuilt 1 zonelists. Total pages: 155531\n\rKernel command line: ro\ > \ root=LABEL=/\n\rInitializing CPU#0\n\rPID hash table entries: 4096 (order: 12,\ > \ 32768 bytes)\n\rXen reported: 1799.999 MHz processor.\n\rConsole: colour dummy\ > \ device 80x25\n\rDentry cache hash table entries: 131072 (order: 8, 1048576 bytes)\n\ > \rInode-cache hash table entries: 65536 (order: 7, 524288 bytes)\n\rSoftware IO\ > \ TLB disabled\n\rMemory: 602104k/637952k available (2562k kernel code, 27484k\ > \ reserved, 1761k data, 196k init)\n\rCalibrating delay using timer specific routine..\ > \ 4502.45 BogoMIPS (lpj=9004916)\n\rSecurity Framework v1.0.0 initialized\n\r\ > SELinux: Initializing.\n\rselinux_register_security: Registering secondary module\ > \ capability\n\rCapability LSM initialized as secondary\n\rMount-cache hash table\ > \ entries: 256\n\rCPU: L1 I cache: 32K, L1 D cache: 32K\n\rCPU: L2 cache: 256K\n\ > \rCPU: L3 cache: 20480K\n\rCPU: Physical Processor ID: 0\n\rCPU: Processor Core\ > \ ID: 4\n\r(SMP-)alternatives turned off\n\rBrought up 1 CPUs\n\rchecking if image\ > \ is initramfs... it is\n\rGrant table initialized\n\rNET: Registered protocol\ > \ family 16\n\rBrought up 1 CPUs\n\rPCI: setting up Xen PCI frontend stub\n\r\ > ACPI: Interpreter disabled.\n\rLinux Plug and Play Support v0.97 (c) Adam Belay\n\ > \rpnp: PnP ACPI: disabled\n\rxen_mem: Initialising balloon driver.\n\rusbcore:\ > \ registered new driver usbfs\n\rusbcore: registered new driver hub\n\rPCI: System\ > \ does not support PCI\n\rPCI: System does not support PCI\n\rNetLabel: Initializing\n\ > \rNetLabel: domain hash size = 128\n\rNetLabel: protocols = UNLABELED CIPSOv4\n\ > \rNetLabel: unlabeled traffic allowed by default\n\rNET: Registered protocol\ > \ family 2\n\rIP route cache hash table entries: 32768 (order: 6, 262144 bytes)\n\ > \rTCP established hash table entries: 131072 (order: 9, 2097152 bytes)\n\rTCP\ > \ bind hash table entries: 65536 (order: 8, 1048576 bytes)\n\rTCP: Hash tables\ > \ configured (established 131072 bind 65536)\n\rTCP reno registered\n\raudit:\ > \ initializing netlink socket (disabled)\n\rtype=2000 audit(1404974219.113:1):\ > \ initialized\n\rVFS: Disk quotas dquot_6.5.1\n\rDquot-cache hash table entries:\ > \ 512 (order 0, 4096 bytes)\n\rInitializing Cryptographic API\n\ralg: No test\ > \ for crc32c (crc32c-generic)\n\rksign: Installing public key data\n\rLoading\ > \ keyring\n\r- Added public key 58CD4BE7E88C316\n\r- User ID: Red Hat, Inc. (Kernel\ > \ Module GPG key)\n\rio scheduler noop registered\n\rio scheduler anticipatory\ > \ registered\n\rio scheduler deadline registered\n\rio scheduler cfq registered\ > \ (default)\n\rpci_hotplug: PCI Hot Plug PCI Core version: 0.5\n\rrtc: IRQ 8 is\ > \ not free.\n\rNon-volatile memory driver v1.2\n\rLinux agpgart interface v0.101\ > \ (c) Dave Jones\n\rbrd: module loaded\n\rXen virtual console successfully installed\ > \ as xvc0\n\rEvent-channel device installed.\n\rUniform Multi-Platform E-IDE driver\ > \ Revision: 7.00alpha2\n\ride: Assuming 50MHz system bus speed for PIO modes;\ > \ override with idebus=xx\n\ride-floppy driver 0.99.newide\n\rusbcore: registered\ > \ new driver hiddev\n\rusbcore: registered new driver usbhid\n\rdrivers/usb/input/hid-core.c:\ > \ v2.6:USB HID core driver\n\rPNP: No PS/2 controller found. Probing ports directly.\n\ > \ri8042.c: No controller found.\n\rmice: PS/2 mouse device common for all mice\n\ > \rmd: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27\n\rmd: bitmap version 4.39\n\ > \rTCP bic registered\n\rInitializing IPsec netlink socket\n\rNET: Registered protocol\ > \ family 1\n\rNET: Registered protocol family 17\n\rXENBUS: Device with no driver:\ > \ device/vbd/2049\n\rXENBUS: Device with no driver: device/vif/0\n\rXENBUS: Device\ > \ with no driver: device/console/0\n\rInitalizing network drop monitor service\n\ > \rWrite protecting the kernel read-only data: 506k\n\rRed Hat nash version 5.1.19.6\ > \ starting\r\nMounting proc filesystem\r\nMounting sysfs filesystem\r\nCreating\ > \ /dev\r\nCreating initial device nodes\r\nSetting up hotplug.\r\nCreating block\ > \ device nodes.\r\nLoading xennet.ko module\r\nnetfront: Initialising virtual\ > \ ethernet driver.\n\rnetfront: device eth0 has copying receive path.\n\rLoading\ > \ xenblk.ko module\r\nRegistering block device major 8\n\rLoading dm-mod.ko module\r\ > \ndevice-mapper: uevent: version 1.0.3\n\rdevice-mapper: ioctl: 4.11.6-ioctl (2011-02-18)\ > \ initialised: dm-devel@redhat.com\n\rLoading dm-log.ko module\r\nLoading dm-mirror.ko\ > \ module\r\nLoading crypto_api.ko module\r\nLoading crypto_algapi.ko module\r\n\ > Loading dm-crypt.ko module\r\nLoading linear.ko module\r\nmd: linear personality\ > \ registered for level -1\n\rLoading dm-snapshot.ko module\r\nLoading raid1.ko\ > \ module\r\nmd: raid1 personality registered for level 1\n\rLoading raid0.ko module\r\ > \nmd: raid0 personality registered for level 0\n\rLoading raid10.ko module\r\n\ > md: raid10 personality registered for level 10\n\rLoading xor.ko module\r\nraid5:\ > \ automatically using best checksumming function: generic_sse\n\r generic_sse:\ > \ 14586.000 MB/sec\n\rraid5: using function: generic_sse (14586.000 MB/sec)\n\r\ > Loading raid456.ko module\r\nraid6: int64x1 1897 MB/s\n\rraid6: int64x2 2339\ > \ MB/s\n\rraid6: int64x4 2211 MB/s\n\rraid6: int64x8 1857 MB/s\n\rraid6: sse2x1\ > \ 4657 MB/s\n\rraid6: sse2x2 5341 MB/s\n\rraid6: sse2x4 6374 MB/s\n\r\ > raid6: using algorithm sse2x4 (6374 MB/s)\n\rmd: raid6 personality registered\ > \ for level 6\n\rmd: raid5 personality registered for level 5\n\rmd: raid4 personality\ > \ registered for level 4\n\rLoading jbd.ko module\r\nLoading ext3.ko module\r\n\ > Loading virtio.ko module\r\nLoading virtio_blk.ko module\r\nLoading scsi_mod.ko\ > \ module\r\nSCSI subsystem initialized\n\rLoading sd_mod.ko module\r\nregister_blkdev:\ > \ cannot get major 8 for sd\n\rLoading libata.ko module\r\nLoading ata_piix.ko\ > \ module\r\nLoading dm-mem-cache.ko module\r\nLoading dm-region_hash.ko module\r\ > \nLoading dm-message.ko module\r\nLoading dm-raid45.ko module\r\ndevice-mapper:\ > \ dm-raid45: initialized v0.2594l\n\rWaiting for driver initialization.\r\nScanning\ > \ and configuring dmraid supported devices\r\nCreating root device.\r\nMounting\ > \ root filesystem.\r\nkjournald starting. Commit interval 5 seconds\n\rEXT3-fs:\ > \ mounted filesystem with ordered data mode.\n\rSetting up other filesystems.\r\ > \nSetting up new root fs\r\nno fstab.sys, mounting internal defaults\r\nSwitching\ > \ to new root and running init.\r\nunmounting old /dev\r\nunmounting old /proc\r\ > \nunmounting old /sys\r\ntype=1404 audit(1404974248.039:2): enforcing=1 old_enforcing=0\ > \ auid=4294967295 ses=4294967295\n\rtype=1403 audit(1404974250.201:3): policy\ > \ loaded auid=4294967295 ses=4294967295\n\r\rINIT: version 2.86 booting\r\r\n\t\ > \tWelcome to Red Hat Enterprise Linux Server\r\n\t\tPress 'I' to enter interactive\ > \ startup.\r\nCannot access the Hardware Clock via any known method.\r\nUse the\ > \ --debug option to see the details of our search for an access method.\r\nSetting\ > \ clock (utc): Thu Jul 10 02:37:36 EDT 2014 [ OK ]\r\r\nStarting udev: [ OK\ > \ ]\r\r\nLoading default keymap (us): [ OK ]\r\r\nSetting hostname localhost.localdomain:\ > \ [ OK ]\r\r\nNo devices found\r\nSetting up Logical Volume Management: dev_is_mpath:\ > \ failed to get device for 8:1\r\n No volume groups found\r\n[ OK ]\r\r\nChecking\ > \ filesystems\r\nChecking all file systems.\r\n[/sbin/fsck.ext3 (1) -- /] fsck.ext3\ > \ -a /dev/sda1 \r\n/: clean, 66451/1572864 files, 545122/1572354 blocks\r\n[ \ > \ OK ]\r\r\nRemounting root filesystem in read-write mode: [ OK ]\r\r\nMounting\ > \ local filesystems: [ OK ]\r\r\nEnabling local filesystem quotas: [ OK \ > \ ]\r\r\nEnabling /etc/fstab swaps: [ OK ]\r\n\rINIT: Entering runlevel: 3\r\ > \r\nEntering non-interactive startup\r\nApplying Intel CPU microcode update: FATAL:\ > \ Error inserting microcode (/lib/modules/2.6.18-371.9.1.el5xen/kernel/arch/x86_64/kernel/microcode.ko):\ > \ No such device\r\n/etc/rc3.d/S00microcode_ctl: microcode device /dev/cpu/microcode\ > \ doesn't exist?\r\nStarting background readahead: [ OK ]\r\r\nChecking for\ > \ hardware changes [ OK ]\r\r\nStarting iSCSI daemon: [ OK ]\r[ OK ]\r\r\ > \n[ OK ]\r\r\nApplying ip6tables firewall rules: [ OK ]\r\r\nApplying iptables\ > \ firewall rules: [ OK ]\r\r\nLoading additional iptables modules: ip_conntrack_netbios_ns\ > \ [ OK ]\r\r\nStarting mcstransd: [ OK ]\r\r\nBringing up loopback interface:\ > \ [ OK ]\r\r\nBringing up interface eth0: \r\nDetermining IP information for\ > \ eth0... done.\r\n[ OK ]\r\r\nStarting auditd: [ OK ]\r\r\nStarting restorecond:\ > \ [ OK ]\r\r\nStarting system logger: [ OK ]\r\r\nStarting kernel logger:\ > \ [ OK ]\r\r\nStarting irqbalance: [ OK ]\r\r\niscsid (pid 869) is running...\r\ > \nSetting up iSCSI targets: iscsiadm: No records found\r\n[ OK ]\r\r\nStarting\ > \ portmap: [ OK ]\r\r\nStarting NFS statd: [ OK ]\r\r\nStarting RPC idmapd:\ > \ [ OK ]\r\r\nStarting system message bus: [ OK ]\r\r\nStarting Bluetooth\ > \ services:[ OK ]\r[ OK ]\r\r\nMounting other filesystems: [ OK ]\r\r\n\ > Starting PC/SC smart card daemon (pcscd): [ OK ]\r\r\nStarting HAL daemon: [\ > \ OK ]\r\r\nStarting hidd: [ OK ]\r\r\nStarting autofs: Loading autofs4:\ > \ [ OK ]\r\r\nStarting automount: [ OK ]\r\r\n[ OK ]\r\r\n [ OK ]\r\r\n\ > Starting choose_repo: [INFO:choose_repo] choose_repo:39 2014-07-10 02:38:21,412:\ > \ Zone [us-east-1c]\r\n[INFO:choose_repo] choose_repo:67 2014-07-10 02:38:21,413:\ > \ Enabling binary repos in redhat-rhui.repo\r\n[INFO:choose_repo] choose_repo:86\ > \ 2014-07-10 02:38:21,414: Enabling load balancer plugin\r\n[INFO:choose_repo]\ > \ choose_repo:88 2014-07-10 02:38:21,415: Executing [sed -i 's/enabled=0/enabled=1/'\ > \ /etc/yum/pluginconf.d/rhui-lb.conf]\r\n[INFO:choose_repo] choose_repo:92 2014-07-10\ > \ 02:38:21,423: Setting region in load balancer config\r\n[INFO:choose_repo] choose_repo:94\ > \ 2014-07-10 02:38:21,423: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf]\r\ > \n[INFO:choose_repo] choose_repo:98 2014-07-10 02:38:21,430: Enabling client config\ > \ repo\r\n[INFO:choose_repo] choose_repo:101 2014-07-10 02:38:21,430: Executing\ > \ [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo]\r\ > \n[ OK ]\r\r\nGenerating SSH1 RSA host key: [ OK ]\r\r\nGenerating SSH2 RSA\ > \ host key: [ OK ]\r\r\nGenerating SSH2 DSA host key: [ OK ]\r\r\nStarting\ > \ sshd: [ OK ]\r\r\nStarting xinetd: [ OK ]\r\r\nStarting sendmail: [ OK\ > \ ]\r\r\nStarting sm-client: [ OK ]\r\r\nStarting console mouse services: [\ > \ OK ]\r\r\nStarting crond: [ OK ]\r\r\nStarting xfs: [ OK ]\r\r\nStarting\ > \ anacron: [ OK ]\r\r\nStarting atd: [ OK ]\r[ OK ]\r\r\nStarting rhsmcertd...[\ > \ OK ]\r\r\nStarting yum-updatesd: [ OK ]\r\r\ngrep: /root/.ssh/authorized_keys:\ > \ No such file or directory\r\nSuccessfully retrieved AWS public key from instance\ > \ metadata\r\nStarting smartd: [ OK ]\r\r\n\r\nRed Hat Enterprise Linux Server\ > \ release 5.10 (Tikanga)\r\nKernel 2.6.18-371.9.1.el5xen on an x86_64\r\n\r\n\ > ip-10-236-135-163 login: \rINIT: Switching to runlevel: 6\r\n\rINIT: Sending processes\ > \ the TERM signal\r\r\nShutting down smartd: [ OK ]\r\r\nStopping rhsmcertd...[\ > \ OK ]\r\r\nStopping yum-updatesd: [ OK ]\r\r\nStopping anacron: [ OK ]\r\ > \r\nStopping atd: [ OK ]\r\r\nShutting down xfs: [ OK ]\r\r\nShutting down\ > \ console mouse services: [ OK ]\r\r\nStopping sshd: [ OK ]\r\r\nShutting\ > \ down sm-client: [ OK ]\r\r\nShutting down sendmail: [ OK ]\r\r\nStopping\ > \ xinetd: [ OK ]\r\r\nStopping crond: [ OK ]\r\r\nStopping autofs: Stopping\ > \ automount: [ OK ]\r\r\n[ OK ]\r\r\nStopping HAL daemon: [ OK ]\r\r\nStopping\ > \ system message bus: [ OK ]\r\r\nStopping mcstransd: [ OK ]\r\r\nStopping\ > \ portmap: [ OK ]\r\r\nShutting down restorecond: [ OK ]\r\r\nStopping auditd:\ > \ audit(1404975792.666:116): audit_pid=0 old=1241 by auid=4294967295 subj=system_u:system_r:auditd_t:s0\n\ > \r[ OK ]\r\r\nStopping PC/SC smart card daemon (pcscd): [ OK ]\r\r\nShutting\ > \ down kernel logger: [ OK ]\r\r\nShutting down system logger: [ OK ]\r\r\n\ > Shutting down hidd: [ OK ]\r\r\n[ OK ]\r[ OK ]\rStopping Bluetooth services:[\ > \ OK ]\r[ OK ]\r\r\nShutting down interface eth0: [ OK ]\r\r\nShutting\ > \ down loopback interface: [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\ > \nSetting chains to policy ACCEPT: filter [ OK ]\r\r\nUnloading ip6tables modules:\ > \ [ OK ]\r\r\nFlushing firewall rules: [ OK ]\r\r\nSetting chains to policy\ > \ ACCEPT: filter [ OK ]\r\r\nUnloading iptables modules: Removing netfilter\ > \ NETLINK layer.\n\r[ OK ]\r\r\nStarting killall: [ OK ]\r\r\nSending all\ > \ processes the TERM signal... \r\nSending all processes the KILL signal... \r\ > \nSaving random seed: \r\nTurning off quotas: \r\nUnmounting pipe file systems:\ > \ \r\nPlease stand by while rebooting the system...\r\nmd: stopping all md devices.\n\ > \rRestarting system.\n\r.\n\r"} >product: RHEL >region: us-east-1 >result: > c1.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7340032'']'} > - {command: '[ 7340032 -gt 6997900 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "instanceId" : "i-a6029d8a",\r\n "billingProducts" : [ "bp-63a5400a" > ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" : "x86_64",\r\n "pendingTime" > : "2014-07-10T06:36:25Z",\r\n "instanceType" : "c1.xlarge",\r\n "accountId" > : "567014786890",\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "privateIp" > : "10.158.104.219",\r\n "availabilityZone" : "us-east-1e",\r\n "devpayProductCodes" > : null\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-158-104-219\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-158-104-219 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '8', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7340032'']'} > - {command: '[ 7340032 -gt 6997900 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.large: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7864320'']'} > - {command: '[ 7864320 -gt 7500000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-c8f6a2e3",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:22Z",\r\n "instanceType" > : "m1.large",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1c",\r\n "privateIp" : "10.238.212.179",\r\n "devpayProductCodes" > : null\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-238-212-179\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-238-212-179 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '2', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''7864320'']'} > - {command: '[ 7864320 -gt 7500000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.small: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''1740800'']'} > - {command: '[ 1740800 -gt 1690000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "accountId" : "567014786890",\r\n "instanceId" : "i-82049bae",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:22Z",\r\n "instanceType" > : "m1.small",\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1e",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.29.57.223"\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-29-57-223\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-29-57-223 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '1', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''1740800'']'} > - {command: '[ 1740800 -gt 1690000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m1.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''15728640'']'} > - {command: '[ 15728640 -gt 15000000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-c9f6a2e2",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:23Z",\r\n "instanceType" > : "m1.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1c",\r\n "privateIp" : "10.191.93.248",\r\n "devpayProductCodes" > : null\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-191-93-248\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-191-93-248 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '4', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''15728640'']'} > - {command: '[ 15728640 -gt 15000000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.2xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''35840000'']'} > - {command: '[ 35840000 -gt 34200000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "privateIp" : "10.73.162.236",\r\n "devpayProductCodes" > : null,\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "accountId" > : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" : null,\r\n "availabilityZone" > : "us-east-1c",\r\n "instanceId" : "i-13f3a738",\r\n "billingProducts" : > [ "bp-63a5400a" ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" : > "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:25Z",\r\n "instanceType" > : "m2.2xlarge"\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-73-162-236\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-73-162-236 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '4', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''35840000'']'} > - {command: '[ 35840000 -gt 34200000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.4xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''71680000'']'} > - {command: '[ 71680000 -gt 68400000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-9df5a1b6",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:25Z",\r\n "instanceType" > : "m2.4xlarge",\r\n "accountId" : "567014786890",\r\n "ramdiskId" : null,\r\n "kernelId" > : "aki-919dcaf8",\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1c",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.143.136.62"\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-143-136-62\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-143-136-62 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '8', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''71680000'']'} > - {command: '[ 71680000 -gt 68400000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > m2.xlarge: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''17920000'']'} > - {command: '[ 17920000 -gt 17100000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-befba894",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "version" : "2010-08-31",\r\n "imageId" : "ami-d609f0be",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:25Z",\r\n "instanceType" > : "m2.xlarge",\r\n "accountId" : "567014786890",\r\n "kernelId" : "aki-919dcaf8",\r\n "ramdiskId" > : null,\r\n "region" : "us-east-1",\r\n "availabilityZone" : "us-east-1d",\r\n "privateIp" > : "10.185.143.210",\r\n "devpayProductCodes" : null\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-185-143-210\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: fdisk -l /dev/sdf | grep '^Disk', result: passed} > - {command: grep '/dev/sdf ' /proc/mounts | wc -l, result: passed, value: '0'} > - {actual: '1', command: mkfs.vfat /dev/sdf, result: failed} > - {actual: "echo '###START###'; mkdir -p /tmp/mnt-sdf; echo '###END###'\r\n###START###\r\ > \n###END###\r\n[root@ip-10-185-143-210 ~]# ", command: mkdir -p /tmp/mnt-sdf, > result: failed} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '2', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''17920000'']'} > - {command: '[ 17920000 -gt 17100000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > t1.micro: > stage1:testcase_01_bash_history: > - {command: '[ ! -f ~/.bash_history ] && echo 0 || cat ~/.bash_history | wc -l', > expectation: "\r\n0\r\n", result: passed} > stage1:testcase_02_selinux_context: > - {command: 'restorecon -R -v -n -e /proc -e /sys -e /mnt / | sed -e ''s, context > , ,'' -e ''s,^restorecon reset ,,'' | cat > /tmp/restorecon_output.txt && > echo SUCCESS', expectation: "\r\nSUCCESS\r\n", result: passed} > - {comment: ' > > Fail.New entries detected:[[''/lost+found'', [''file_t'', ''lost_found_t'']], > [''/etc/modprobe.d/anaconda.conf'', [''file_t'', ''etc_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/network-scripts/ifcfg-eth0'', > [''etc_runtime_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', > ''etc_runtime_t'']]] > > Lost entries:[]', result: failed} > stage1:testcase_03_running_services: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: chkconfig --list iptables, expectation: '3:on', result: passed} > - {command: chkconfig --list auditd, expectation: '3:on', result: passed} > - {command: chkconfig --list yum-updatesd, expectation: '3:on', result: passed} > - {command: chkconfig --list crond, expectation: '3:on', result: passed} > stage1:testcase_04_cloud_firstboot: > - {command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', result: passed} > - {command: test -f /etc/sysconfig/rh-cloud-firstboot, result: passed} > - {command: cat /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, > result: passed} > stage1:testcase_05_grub: > - {command: test -h /boot/grub/menu.lst, result: passed} > - {command: readlink -e /boot/grub/menu.lst, expectation: /boot/grub/grub.conf, > result: passed} > - {command: 'grep ''(hd0,0)'' /boot/grub/grub.conf', result: passed} > stage1:testcase_06_inittab: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'grep ''^id:'' /etc/inittab', expectation: 'id:3:initdefault', result: passed} > - {command: 'grep ''^si:'' /etc/inittab', expectation: 'si::sysinit:/etc/rc.d/rc.sysinit', > result: passed} > stage1:testcase_07_libc6_xen_conf: > - {command: test -f /etc/ld.so.conf.d/libc6-xen.conf, result: passed} > stage1:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''629760'']'} > - {command: '[ 629760 -gt 600000 ]', result: passed} > stage1:testcase_09_nameserver: > - {command: dig clock.redhat.com | grep 66.187.233.4, result: passed} > stage1:testcase_10_networking: > - {command: grep "^NETWORKING=yes" /etc/sysconfig/network, result: passed} > - {command: egrep "^DEVICE=(|\")eth0(|\")" /etc/sysconfig/network-scripts/ifcfg-eth0, > result: passed} > stage1:testcase_11_package_set: > - {command: 'rpm -qa --queryformat ''%{NAME},'' && echo', match: ".*\r\n(.*),\r\ > \n.*", result: passed, value: '[''basesystem,termcap,glibc,mktemp,audit-libs,atk,ncurses,gawk,sqlite,libICE,libSM,libpng,ttmkfdir,iproute,libjpeg,iptables,pcsc-lite-libs,libtiff,hmaccalc,m4,procmail,unixODBC-libs,pax,iptables-ipv6,perl-DBI,gpm,gamin,ethtool,dosfstools,libFS,libtool-ltdl,libX11,libXt,libXfixes,libXaw,libXi,redhat-release,anacron,iptstate,attr,ftp,dialog,scl-utils,mcelog,compat-db,rdist,traceroute,hdparm,compat-libstdc++-33,setarch,man-pages-ko,aspell-fr,aspell-ru,man-pages-de,redhat-release-notes,rootfiles,glibc,libsepol,db4,readline,libgcrypt,libxml2,libXext,libXp,compat-db,file,libaio,cyrus-sasl-plain,device-mapper,findutils,openldap,kpartx,apr,man,net-tools,pango,neon,cryptsetup-luks,gd,distcache,ruby,tcsh,device-mapper-event,which,bind-utils,xterm,autofs,nmap,ksh,parted,vim-enhanced,htmlview,GConf2,libnotify,pinfo,Deployment_Guide-ja-JP,Deployment_Guide-ko-KR,Deployment_Guide-zh-CN,logwatch,rpm-python,m2crypto,pygobject2,system-config-securitylevel-tui,util-linux,ppp,mcstrans,libuser,iscsi-initiator-utils,antlr,kbd,samba-common,pycairo,yum-metadata-parser,pygtk2,pyOpenSSL,samba-client,openssh-clients,rp-pppoe,mod_ssl,postgresql,irqbalance,krb5-workstation,pam_pkcs11,libhugetlbfs,device-mapper,openldap,apr-util,redhat-support-lib-python,yum,yum-utils,redhat-support-tool,sos,pam_pkcs11,subversion,cyrus-sasl-gssapi,setools,chkfontpath,module-init-tools,xorg-x11-xfs,pcmciautils,mkbootdisk,fonts-chinese,mkinitrd,NetworkManager-glib,yum-rhn-plugin,hal,NetworkManager-glib,libgcc,filesystem,nash,mailcap,rmt,glibc-common,chkconfig,glib2,popt,libstdc++,cyrus-sasl-lib,db4,libtermcap,info,sed,readline,freetype,tcp_wrappers,nss,bzip2-libs,gdbm,aspell,procps,diffutils,libcap,libacl,cpio,tcl,libgpg-error,keyutils-libs,elfutils-libelf,libidn,pcre,file,libXau,bc,gnutls,bzip2,nss-tools,gzip,ed,time,libfontenc,slang,mailx,zip,hesiod,lm_sensors,virt-what,perl-BSD-Resource,svrcore,cpp,groff,iputils,gmp,ORBit2,sgpio,libevent,libdaemon,pkgconfig,libart_lgpl,wireless-tools,mingetty,xorg-x11-filesystem,libXext,xorg-x11-font-utils,libXmu,libXpm,jpackage-utils,libXcursor,libXres,libXinerama,startup-notification,redhat-logos,bitstream-vera-fonts,libXp,mozldap,sysfsutils,jwhois,rsync,crash,fbset,udftools,talk,mtr,mgetty,nc,cpuspeed,cyrus-sasl-plain,libicu,finger,lslk,pam_smb,unix2dos,ncompress,rsh,vconfig,rdate,libaio,tree,glibc-headers,grub,aspell-pt,aspell-cs,aspell-en,aspell-it,aspell-es,man-pages,man-pages-it,man-pages-fr,man-pages-es,man-pages-cs,man-pages-ja,words,zlib,libstdc++,nspr,expat,glib2,libXau,cyrus-sasl-lib,nss,keyutils-libs,libusb,audit-libs,libX11,libidn,libvolume_id,tcp_wrappers,libcap,lftp,aspell,libicu,compat-libstdc++-33,libtermcap,gpm,pam_smb,pam_passwdqc,gcc,shadow-utils,e2fsprogs-libs,dbus-glib,coreutils,openssl,fontconfig,dbus,tar,postgresql-libs,psmisc,rpm,apr-util,libutempter,rpm-libs,libXft,curl,mysql,net-snmp-libs,nscd,libselinux-utils,gnupg,libsmbclient,wget,fipscheck,ruby-libs,OpenIPMI-libs,audit,mtools,alsa-lib,lvm2,udev,vim-minimal,OpenIPMI,net-snmp,openswan,conman,postgresql-odbc,openldap-clients,tcpdump,stunnel,cyrus-sasl-gssapi,tux,psacct,mlocate,nss_db,dbus-libs,libutempter,hicolor-icon-theme,libgcj,libglade2,notification-daemon,bluez-gnome,sgml-common,psgml,Deployment_Guide-fr-FR,Deployment_Guide-pt-BR,Deployment_Guide-ru-RU,Deployment_Guide-zh-TW,Deployment_Guide-en-US,Deployment_Guide-it-IT,liberation-fonts,kernel-xen-devel,newt,rhpl,libxml2-python,dbus-python,python-simplejson,dmraid,libsemanage,python-lxml,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,passwd,at,dmraid-events,java-1.4.2-gcj-compat,gjdoc,authconfig,ypbind,vixie-cron,gamin-python,python-sqlite,audit-libs-python,python-ethtool,libselinux-python,python-numeric,pygtk2-libglade,python-elementtree,setools,postgresql-python,yp-tools,setuptool,openssh-server,mdadm,mod_authz_ldap,webalizer,mod_perl,acpid,ipsec-tools,vsftpd,smartmontools,quota,prelink,nss_ldap,pam_ccreds,MySQL-python,subversion,libselinux,e2fsprogs-libs,openssl,apr,postgresql-libs,python-dateutil,rhnlib,python-urlgrabber,subscription-manager,yum-updatesd,yum-updateonboot,selinux-policy-targeted,system-config-securitylevel,xinetd,rhel-instnum,pam,pam_ccreds,pam_krb5,sendmail,curl,parted,dmraid,nss_db,redhat-lsb,pcsc-lite,mkinitrd,ifd-egate,nfs-utils-lib,hwdata,kernel-xen,usbutils,irda-utils,fonts-KOI8-R,fonts-japanese,fonts-KOI8-R-100dpi,coolkey,hal,pm-utils,kudzu,rhn-client-tools,rhn-setup,rhn-check,NetworkManager,rh-amazon-rhui-client,gpg-pubkey,setup,cracklib-dicts,tzdata,zlib,nspr,expat,bash,libsepol,libxml2,libusb,perl,binutils,libattr,make,libgcrypt,dmidecode,grep,libsysfs,perl-String-CRC32,less,libgomp,libXfont,libvolume_id,checkpolicy,libxslt,vim-common,desktop-file-utils,libIDL,libXdmcp,libnl,bluez-libs,crontabs,libXrender,libXrandr,perl-URI,libXtst,redhat-menus,kernel-headers,lftp,acl,numactl,nano,telnet,unzip,beecrypt,eject,dos2unix,symlinks,pam_passwdqc,setserial,glibc-devel,aspell-de,aspell-pl,dump,specspo,man-pages-pl,man-pages-ru,libgcc,ncurses,libgpg-error,sqlite,gnutls,libXdmcp,hesiod,libdaemon,svrcore,beecrypt,wireless-tools,numactl,libselinux,dbus-libs,krb5-libs,cairo,fipscheck-lib,logrotate,e2fsprogs,device-mapper-multipath,wpa_supplicant,libgssapi,patch,libpcap,bind-libs,cups-libs,syslinux,MAKEDEV,amtu,mysql-connector-odbc,tmpwatch,cyrus-sasl-md5,pkinit-nss,microcode_ctl,lsof,dbus-glib,gtk2,libwnck,ruby-irb,ruby-rdoc,Deployment_Guide-de-DE,Deployment_Guide-es-ES,man-pages-overrides,python,python-libs,gettext,python-dmidecode,cracklib,initscripts,sendmail,dnsmasq,usermode,python-iniparse,python-rhsm,sysklogd,ntsysv,mx,policycoreutils,PyXML,sudo,postgresql-jdbc,mutt,mod_python,bluez-utils,rng-utils,dhcpv6-client,screen,pam_krb5,readahead,krb5-libs,neon,cracklib,selinux-policy,yum-security,yum-fastestmirror,redhat-lsb,python-setuptools,nss_ldap,cyrus-sasl-md5,cryptsetup-luks,libhugetlbfs,ccid,nfs-utils,pciutils,coolkey,fonts-korean,fonts-KOI8-R-75dpi,NetworkManager,rhnsd,system-config-network-tui,firstboot-tui,gpg-pubkey'']'} > - {comment: 'Newly introduced packages: [''GConf2'', ''NetworkManager'', ''NetworkManager-glib'', > ''ORBit2'', ''OpenIPMI'', ''OpenIPMI-libs'', ''amtu'', ''bluez-gnome'', ''bluez-libs'', > ''bluez-utils'', ''ccid'', ''coolkey'', ''cyrus-sasl'', ''dnsmasq'', ''dump'', > ''eject'', ''ifd-egate'', ''ipsec-tools'', ''irda-utils'', ''libIDL'', ''libXres'', > ''libdaemon'', ''libevent'', ''libgssapi'', ''libnotify'', ''libpcap'', ''libwnck'', > ''libxslt'', ''man-pages-overrides'', ''mcelog'', ''mdadm'', ''microcode_ctl'', > ''mkbootdisk'', ''nfs-utils'', ''nfs-utils-lib'', ''notification-daemon'', > ''numactl'', ''pcmciautils'', ''pcsc-lite'', ''pcsc-lite-libs'', ''portmap'', > ''ppp'', ''procmail'', ''psacct'', ''python-dateutil'', ''python-lxml'', ''rdate'', > ''rdist'', ''redhat-support-lib-python'', ''redhat-support-tool'', ''rmt'', > ''rp-pppoe'', ''rsh'', ''scl-utils'', ''sendmail'', ''smartmontools'', ''specspo'', > ''startup-notification'', ''sysklogd'', ''syslinux'', ''talk'', ''vconfig'', > ''wget'', ''wpa_supplicant'', ''yp-tools'', ''ypbind'']', result: passed} > - {comment: 'some packages are missing: [''exim'', ''rsyslog'', ''w3m'']', result: failed} > stage1:testcase_12_passwd_group: > - {command: 'grep ''^root:x:0:0:root:/root:/bin/bash'' /etc/passwd', result: passed} > - {command: 'grep ''^nobody:x:99:99:Nobody:/:/sbin/nologin'' /etc/passwd', result: passed} > - {command: 'grep ''^sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin'' > /etc/passwd', result: passed} > - {command: 'grep ''^root:x:0:root'' /etc/group', result: passed} > - {command: 'grep ''^daemon:x:2:root,bin,daemon'' /etc/group', result: passed} > - {command: 'grep ''^bin:x:1:root,bin,daemon'' /etc/group', result: passed} > stage1:testcase_13_resize2fs: > - {command: resize2fs -p /dev/sda1 15000M, result: passed} > - {command: df -h | grep 15G, result: passed} > stage1:testcase_14_host_details: > - {command: '[ ! -z ''`curl http://169.254.169.254/latest/dynamic/instance-identity/signature`'' > ]', result: passed} > - {command: 'curl http://169.254.169.254/latest/dynamic/instance-identity/document', > match: '.*({.*}).*', result: passed, value: '[''{\r\n "instanceId" : "i-99f5a1b2",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-d609f0be",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-07-10T06:36:22Z",\r\n "instanceType" > : "t1.micro",\r\n "accountId" : "567014786890",\r\n "ramdiskId" : null,\r\n "kernelId" > : "aki-919dcaf8",\r\n "region" : "us-east-1",\r\n "version" : "2010-08-31",\r\n "availabilityZone" > : "us-east-1c",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.236.135.163"\r\n}'']'} > - {command: '[ ''ami-d609f0be'' = ''ami-d609f0be'' ]', result: passed} > - {command: '[ ''x86_64'' = ''x86_64'' ]', result: passed} > - {command: '[ ''us-east-1'' = ''us-east-1'' ]', result: passed} > - {command: '[ ''bp-63a5400a'' = ''bp-63a5400a'' ]', result: passed} > stage1:testcase_15_rhel_version: > - {command: 'rpm -q --qf ''%{RELEASE} > > '' --whatprovides redhat-release', match: '.*\r\n([0-9]\.[0-9]+\..*)\r\n.*', > result: passed, value: '[''5.10.0.4'']'} > - {command: '[ ''5.10'' = ''5.10'' ]', result: passed} > stage1:testcase_16_selinux: > - {command: getenforce, expectation: "\r\nEnforcing\r\n", result: passed} > - {command: grep '^SELINUX=enforcing' /etc/sysconfig/selinux, result: passed} > - {command: grep '^SELINUXTYPE=targeted' /etc/sysconfig/selinux, result: passed} > - {command: setenforce Permissive && getenforce, expectation: "\r\nPermissive\r\ > \n", result: passed} > - {command: setenforce Enforcing && getenforce, expectation: "\r\nEnforcing\r\n", > result: passed} > stage1:testcase_17_shells: > - {command: grep 'bin/bash$' /etc/shells, result: passed} > - {command: grep 'bin/nologin$' /etc/shells, result: passed} > stage1:testcase_18_sshd: > - {command: rpm -q systemd > /dev/null && echo True || echo False, result: passed, > value: 'False'} > - {command: 'chkconfig --list sshd | grep ''0:off[[:space:]]*1:off[[:space:]]*2:on[[:space:]]*3:on[[:space:]]*4:on[[:space:]]*5:on[[:space:]]*6:off''', > result: passed} > - {command: service sshd status | grep running, result: passed} > - {command: grep 'PasswordAuthentication no' /etc/ssh/sshd_config, result: passed} > stage1:testcase_19_rhn_system_id: > - {command: '[ ! -f /etc/sysconfig/rhn/systemid ]', result: passed} > stage1:testcase_20_auditd: > - {command: md5sum /etc/sysconfig/auditd | cut -f 1 -d ' ', expectation: 123beb3a97a32d96eba4f11509e39da2, > result: passed} > - {command: md5sum /etc/audit/auditd.conf | cut -f 1 -d ' ', expectation: 612ddf28c3916530d47ef56a1b1ed1ed, > result: passed} > - {command: md5sum /etc/audit/audit.rules | cut -f 1 -d ' ', expectation: f9869e1191838c461f5b9051c78a638d, > result: passed} > stage1:testcase_21_disk_size_format: > - {command: 'mount | grep ''^/dev'' | awk ''{print $1}''', result: passed, value: /dev/sda1} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $3}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''/'']'} > - {command: 'echo ''###'' ;mount | grep ''^/dev/sda1'' | awk ''{print $5}''; echo > ''###''', match: ".*\r\n###\r\n(.*)\r\n###\r\n.*", result: passed, value: '[''ext3'']'} > - {command: '[ `df -k /dev/sda1 | awk ''{ print $2 }'' | tail -n 1` -gt 3937219 > ]', result: passed} > - {command: '[ ext3 = ext3 ]', result: passed} > stage1:testcase_22_gpg_keys: > - {command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | > sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: passed} > - {command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: passed} > - {command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: passed} > - {command: rpm -q gpg-pubkey-37017186-45761324, result: passed} > stage1:testcase_23_syslog: > - {command: md5sum /etc/rsyslog.conf | cut -f 1 -d ' ', result: passed, value: 'md5sum: > /etc/rsyslog.conf: No such file or directory'} > - {comment: '/etc/rsyslog.conf md5 differs (md5sum: /etc/rsyslog.conf: No such > file or directory, should be [''bd4e328df4b59d41979ef7202a05e074'', ''15936b6fe4e8fadcea87b54de495f975''])', > result: failed} > stage1:testcase_24_yum_plugin: > - {command: 'grep ''^enabled[[:space:]]*=[[:space:]]*[^0 ]'' /etc/yum/pluginconf.d/rhnplugin.conf', > result: passed} > stage1:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage1:testcase_26_verify_rpms: > - actual modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > expected modified files: {/etc/pam.d/system-auth: true, /etc/sysconfig/iptables-config: true} > result: passed > stage1:testcase_27_yum_repos: > - actual repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > expected repos: {rhel-debuginfo: false, rhui-REGION-client-config-server-5: true, > rhui-REGION-rhel-server: true, rhui-REGION-rhel-server-debug-supplementary: false, > rhui-REGION-rhel-server-source: false, rhui-REGION-rhel-server-source-supplementary: false, > rhui-REGION-rhel-server-supplementary: false} > result: passed > stage1:testcase_28_iptables: > - {command: 'iptables -L -n | grep :22 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: 'iptables -L -n | grep RELATED,ESTABLISHED | grep ACCEPT | wc -l', > expectation: "\r\n1\r\n", result: passed} > - {command: 'iptables -L -n | grep :631 | grep ACCEPT | wc -l', expectation: "\r\n\ > 2\r\n", result: passed} > - {command: 'iptables -L -n | grep :5353 | grep ACCEPT | wc -l', expectation: "\r\n\ > 1\r\n", result: passed} > - {command: iptables -L -n | grep -e esp -e ah | grep ACCEPT | wc -l, expectation: "\r\n\ > 2\r\n", result: passed} > - {command: iptables -L -n | grep REJECT | grep all | grep 0.0.0.0/0 | grep icmp-host-prohibited > | wc -l, expectation: "\r\n1\r\n", result: passed} > stage1:testcase_30_rhn_certificates: > - {command: rpm -ql rh-amazon-rhui-client | egrep '.*\.(pem|crt)', result: passed, > value: "/etc/pki/rhui/ca.crt\r\n/etc/pki/rhui/cdn.redhat.com-chain.crt\r\n/etc/pki/rhui/product/content-rhel5.crt\r\ > \n/etc/pki/rhui/product/rhui-client-config-server-5.crt"} > - {command: openssl x509 -in /etc/pki/rhui/ca.crt -noout -dates | grep notAfter, > result: passed, value: 'notAfter=Nov 30 19:46:02 2017 GMT'} > - {comment: '(/etc/pki/rhui/ca.crt).notAfter=2017-11-30 19:46:02; expecting: 2017-06-12 > 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/cdn.redhat.com-chain.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Mar 13 11:24:54 2030 GMT'} > - {comment: '(/etc/pki/rhui/cdn.redhat.com-chain.crt).notAfter=2030-03-13 11:24:54; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/content-rhel5.crt -noout -dates > | grep notAfter, result: passed, value: 'notAfter=Sep 17 17:57:29 2023 GMT'} > - {comment: '(/etc/pki/rhui/product/content-rhel5.crt).notAfter=2023-09-17 17:57:29; > expecting: 2017-06-12 00:00:00', result: passed} > - {command: openssl x509 -in /etc/pki/rhui/product/rhui-client-config-server-5.crt > -noout -dates | grep notAfter, result: passed, value: 'notAfter=Mar 31 18:41:55 > 2017 GMT'} > - {comment: '(/etc/pki/rhui/product/rhui-client-config-server-5.crt).notAfter=2017-03-31 > 18:41:55; expecting: 2017-06-12 00:00:00', result: failed} > stage1:testcase_31_subscription_management: > - {command: yum --disablerepo='*' -v repolist, expectation: Not loading "subscription-manager" > plugin, result: passed} > - {command: yum --enableplugin=subscription-manager --disablerepo='*' -v repolist, > expectation: Loading "subscription-manager" plugin, result: passed} > - {actual: "subscription-manager list\r\n+-------------------------------------------+\r\ > \n Installed Product Status\r\n+-------------------------------------------+\r\ > \nProduct Name: Red Hat Enterprise Linux Server\r\nProduct ID: 69\r\n\ > Version: 5.10\r\nArch: x86_64\r\nStatus: Unknown\r\ > \nStatus Details: \r\nStarts: \r\nEnds: \r\n\r\n[root@ip-10-236-135-163\ > \ ~]# ", command: subscription-manager list, expectation: No installed products > to list, result: failed} > stage1:testcase_32_ephemeral: > - {comment: no ephemeral devices in block map, result: skip} > stage1:testcase_34_cpu: > - {command: cat /proc/cpuinfo | grep '^processor' | wc -l, expectation: '1', result: passed} > stage1:testcase_360_ebs: > - {command: ls -l /dev/sdk, result: passed} > - {command: ls -la /sbin/mkfs.vfat 2> /dev/null | wc -l, result: passed, value: '1'} > - {command: mkfs.vfat -I /dev/sdk, result: passed} > stage1:testcase_39_root_is_locked: > - {actual: '1', command: 'egrep "^root:(\!\!|\*|x|locked):" /etc/shadow', result: failed} > stage1:testcase_41_rh_amazon_rhui_client: > - {command: rpm -q rh-amazon-rhui-client, result: passed} > stage1:testcase_42_ipv6: > - {actual: '1', command: grep NETWORKING_IPV6=no /etc/sysconfig/network, result: failed} > stage1:testcase_50_yum_package_install: > - {command: yum clean all, result: passed} > - {command: yum repolist, result: passed} > - {command: yum search zsh, result: passed} > - {command: yum -y install zsh, result: passed} > - {command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: passed} > - {command: rpm -e zsh, result: passed} > stage1:testcase_55_yum_group_install: > - {command: yum -y groupinstall 'Development tools', result: passed} > - {command: rpm -q glibc-devel, result: passed} > stage1:testcase_60_yum_update: > - {command: 'rpm -q matahari-net && yum -y remove matahari-net ||:', result: passed} > - {command: yum -y install kernel-xen, result: passed} > - {command: yum -y update, result: passed} > stage1:testcase_61_yum_proxy: > - {comment: No proxy set, result: skip} > stage1:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} > stage1:testcase_99_reboot: > - {command: echo 'doing reboot', result: passed} > - {command: 'sed -i "s,\(default\)=.*$,\1=0," /boot/grub/menu.lst', result: passed} > - {command: nohup sleep 1s && nohup reboot &, result: passed} > stage2:testcase_08_memory: > - {command: 'grep --color=none ''MemTotal:'' /proc/meminfo', match: '.*\r\nMemTotal:\s*([0-9]+) ', > result: passed, value: '[''629760'']'} > - {command: '[ 629760 -gt 600000 ]', result: passed} > stage2:testcase_25_uname: > - {command: 'uname -r | sed ''s,\.el5xen,.el5,''', result: passed, value: 2.6.18-371.9.1.el5} > - {command: 'rpm -q --last kernel-xen | sed -e ''s,^kernel-xen-,,'' -e ''s,[[:space:]].*$,,'' > | head -1', result: passed, value: 2.6.18-371.9.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.9.1.el5 = 2.6.18-371.9.1.el5 ]', result: passed} > - {command: '[ GNU/Linux = ''GNU/Linux'' ]', result: passed} > - {command: grep UPDATEDEFAULT=yes /etc/sysconfig/kernel, result: passed} > - {command: grep DEFAULTKERNEL=kernel /etc/sysconfig/kernel, result: passed} > stage2:testcase_37_sshd_bug923996: > - {command: '[ `grep ^PermitRootLogin /etc/ssh/sshd_config | wc -l` -lt 2 ]', > result: passed} > stage2:testcase_80_no_avc_denials: > - {command: 'echo START; grep ''avc:[[:space:]]*denied'' /var/log/messages /var/log/audit/audit.log > | grep -v userdata; echo END', expectation: "\r\nSTART\r\nEND\r\n", result: passed} >version: '5.10'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1118306
: 917051