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 909988 Details for
Bug 1110770
ami-7eb04e16 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-7eb04e16.yaml
ami-7eb04e16.yaml (text/yaml), 338.86 KB, created by
mkovacik
on 2014-06-18 12:13:09 UTC
(
hide
)
Description:
ami-7eb04e16.yaml
Filename:
MIME Type:
Creator:
mkovacik
Created:
2014-06-18 12:13:09 UTC
Size:
338.86 KB
patch
obsolete
>ami: ami-7eb04e16 >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 0x220858\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/382/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/382/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/382/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/382/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/382/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/382/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/382/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/382/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 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: 7182584k/7348224k available (2562k\ > \ kernel code, 156724k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4501.76 BogoMIPS (lpj=9003525)\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: 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=111\n\ > \rmigration_cost=Initializing CPU#2\n\r111\n\rmigration_cost=Initializing CPU#3\n\ > \r111\n\rmigration_cost=Initializing CPU#4\n\r111\n\rInitializing CPU#5\n\rmigration_cost=111\n\ > \rInitializing CPU#6\n\rmigration_cost=111\n\rInitializing CPU#7\n\rmigration_cost=111\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(1403085089.160: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 AEEEE5C2FD43490C\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.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 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: 7182584k/7348224k available (2562k\ > \ kernel code, 156724k reserved, 1761k data, 196k init)\n\rCalibrating delay using\ > \ timer specific routine.. 4501.76 BogoMIPS (lpj=9003525)\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: 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=111\n\ > \rmigration_cost=Initializing CPU#2\n\r111\n\rmigration_cost=Initializing CPU#3\n\ > \r111\n\rmigration_cost=Initializing CPU#4\n\r111\n\rInitializing CPU#5\n\rmigration_cost=111\n\ > \rInitializing CPU#6\n\rmigration_cost=111\n\rInitializing CPU#7\n\rmigration_cost=111\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(1403085089.160: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 AEEEE5C2FD43490C\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: 5855.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (5855.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 1741 MB/s\n\rraid6: int64x2 2143 MB/s\n\rraid6: int64x4 2035 MB/s\n\r\ > raid6: int64x8 1709 MB/s\n\rraid6: sse2x1 4272 MB/s\n\rraid6: sse2x2 5062\ > \ MB/s\n\rraid6: sse2x4 5848 MB/s\n\rraid6: using algorithm sse2x4 (5848 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(1403085117.033:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085119.105: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): Wed Jun 18 05:52:08 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, 66409/1572864 files, 545062/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.8.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 1495) 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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-181-2-8 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403086998.108:116):\ > \ audit_pid=0 old=1953 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: 0xbdeee000(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 0x8013ed\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/1161/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/1161/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1161/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/1161/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/1161/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1161/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/1161/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/1161/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 2000.070 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.. 5004.98 BogoMIPS (lpj=10009974)\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: 8\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=5\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(1403085085.685: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 AEEEE5C2FD43490C\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.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 2000.070 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.. 5004.98 BogoMIPS (lpj=10009974)\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: 8\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=5\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(1403085085.685: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 AEEEE5C2FD43490C\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: 5681.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (5681.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2015 MB/s\n\rraid6: int64x2 2250 MB/s\n\rraid6: int64x4 1875 MB/s\n\r\ > raid6: int64x8 1764 MB/s\n\rraid6: sse2x1 4382 MB/s\n\rraid6: sse2x2 5027\ > \ MB/s\n\rraid6: sse2x4 5645 MB/s\n\rraid6: using algorithm sse2x4 (5645 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(1403085115.458:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085117.583: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): Wed Jun 18 05:52:08 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, 66409/1572864 files, 545062/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.8.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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-190-213-142 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403086999.455:112):\ > \ audit_pid=0 old=1356 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: 0x7cc99000(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 0x6986fe\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/1727/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1727/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/1727/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/1727/2051\r\ > \nFailed to read /local/domain/0/backend/vbd/1727/2051/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1727/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/1727/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/1727/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1727/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/1727/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/1727/2051\ > \ node=device/vbd/2051\r\nclose blk: backend=/local/domain/0/backend/vbd/1727/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 1800.000 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.. 4502.55 BogoMIPS (lpj=9005107)\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\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(1403085089.213: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 AEEEE5C2FD43490C\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.8.1.el5xen\ > \ (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 1800.000 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..\ > \ 4502.55 BogoMIPS (lpj=9005107)\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: 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\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(1403085089.213: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 AEEEE5C2FD43490C\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: 14498.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (14498.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 761 MB/s\n\rraid6: int64x2 1267 MB/s\n\rraid6: int64x4 1170 MB/s\n\r\ > raid6: int64x8 981 MB/s\n\rraid6: sse2x1 2468 MB/s\n\rraid6: sse2x2 3461\ > \ MB/s\n\rraid6: sse2x4 4009 MB/s\n\rraid6: using algorithm sse2x4 (4009 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(1403085117.426:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085119.583: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): Wed Jun 18 05:52:08 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,\ > \ 66409/1572864 files, 545062/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.8.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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-230-160-91 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403087028.855:208):\ > \ 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: 0x7e3b7000(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 0x104ba4d\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/1186/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/1186/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1186/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/1186/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/1186/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1186/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/1186/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/1186/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 1799.999 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.. 4502.07 BogoMIPS (lpj=9004156)\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: 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=77\n\ > \rmigration_cost=Initializing CPU#2\n\r77\n\rInitializing CPU#3\n\rmigration_cost=77\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(1403085088.031: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 AEEEE5C2FD43490C\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.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 1799.999 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.. 4502.07 BogoMIPS (lpj=9004156)\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: 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=77\n\ > \rmigration_cost=Initializing CPU#2\n\r77\n\rInitializing CPU#3\n\rmigration_cost=77\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(1403085088.031: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 AEEEE5C2FD43490C\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: 5849.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (5849.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 1741 MB/s\n\rraid6: int64x2 2151 MB/s\n\rraid6: int64x4 2034 MB/s\n\r\ > raid6: int64x8 1708 MB/s\n\rraid6: sse2x1 4274 MB/s\n\rraid6: sse2x2 5079\ > \ MB/s\n\rraid6: sse2x4 5854 MB/s\n\rraid6: using algorithm sse2x4 (5854 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(1403085117.357:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085119.939: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): Wed Jun 18 05:52:11 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, 66409/1572864 files, 545062/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.8.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 1148) 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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-238-161-185 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403087011.321:112):\ > \ 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.2xlarge: "Xen Minimal OS!\r\n start_info:\ > \ 0x4e0a000(VA)\r\n nr_pages: 0x88b800\r\n shared_inf: 0x7f4a0000(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 0x2411dd0\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/146/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/146/2049/feature-barrier.\r\nFailed to read\ > \ /local/domain/0/backend/vbd/146/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/146/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/146/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/146/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/146/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/146/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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.. 6003.36 BogoMIPS (lpj=12006734)\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: 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=93\n\ > \rmigration_cost=Initializing CPU#2\n\r93\n\rmigration_cost=Initializing CPU#3\n\ > \r93\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(1403085096.328: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 AEEEE5C2FD43490C\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.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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.. 6003.36 BogoMIPS (lpj=12006734)\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: 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=93\n\ > \rmigration_cost=Initializing CPU#2\n\r93\n\rmigration_cost=Initializing CPU#3\n\ > \r93\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(1403085096.328: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 AEEEE5C2FD43490C\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\ > \ 2314 MB/s\n\rraid6: int64x2 2860 MB/s\n\rraid6: int64x4 2700 MB/s\n\r\ > raid6: int64x8 2274 MB/s\n\rraid6: sse2x1 5666 MB/s\n\rraid6: sse2x2 6700\ > \ MB/s\n\rraid6: sse2x4 7480 MB/s\n\rraid6: using algorithm sse2x4 (7480 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(1403085124.374:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085126.110: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): Wed Jun 18 05:52:14 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, 66409/1572864 files, 545062/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.8.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 1149) 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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-69-17-104 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403086991.428:112):\ > \ audit_pid=0 old=1558 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: 0x7b8bc000(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 0x2413a4b\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/87/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/87/2049/feature-barrier.\r\nFailed to read\ > \ /local/domain/0/backend/vbd/87/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/87/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/87/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/87/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/87/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/87/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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.63 BogoMIPS (lpj=12003277)\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=88\n\ > \rmigration_cost=Initializing CPU#2\n\r88\n\rmigration_cost=Initializing CPU#3\n\ > \r88\n\rmigration_cost=Initializing CPU#4\n\r88\n\rmigration_cost=Initializing\ > \ CPU#5\n\r88\n\rmigration_cost=Initializing CPU#6\n\r88\n\rInitializing CPU#7\n\ > \rmigration_cost=88\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: 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(1403085110.673: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 AEEEE5C2FD43490C\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.8.1.el5xen\ > \ (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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.63 BogoMIPS (lpj=12003277)\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=88\n\ > \rmigration_cost=Initializing CPU#2\n\r88\n\rmigration_cost=Initializing CPU#3\n\ > \r88\n\rmigration_cost=Initializing CPU#4\n\r88\n\rmigration_cost=Initializing\ > \ CPU#5\n\r88\n\rmigration_cost=Initializing CPU#6\n\r88\n\rInitializing CPU#7\n\ > \rmigration_cost=88\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: 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(1403085110.673: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 AEEEE5C2FD43490C\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 2323 MB/s\n\rraid6: int64x2 2872 MB/s\n\rraid6: int64x4 \ > \ 2714 MB/s\n\rraid6: int64x8 2280 MB/s\n\rraid6: sse2x1 5697 MB/s\n\rraid6:\ > \ sse2x2 6768 MB/s\n\rraid6: sse2x4 7805 MB/s\n\rraid6: using algorithm\ > \ sse2x4 (7805 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(1403085138.855:2): enforcing=1 old_enforcing=0 auid=4294967295\ > \ ses=4294967295\n\rtype=1403 audit(1403085140.579: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): Wed Jun\ > \ 18 05:52:29 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, 66409/1572864 files, 545062/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.8.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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-6-39-19 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403086989.185:112):\ > \ 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: 0xbf6ea000(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 0x5e1232\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/1540/2049\r\ > \nFailed to read /local/domain/0/backend/vbd/1540/2049/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1540/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/1540/2128\r\ > \nFailed to read /local/domain/0/backend/vbd/1540/2128/feature-barrier.\r\nFailed\ > \ to read /local/domain/0/backend/vbd/1540/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/1540/2049\ > \ node=device/vbd/2049\r\nclose blk: backend=/local/domain/0/backend/vbd/1540/2128\ > \ node=device/vbd/2128\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 2666.760 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.. 6669.15 BogoMIPS (lpj=13338318)\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: 8192K\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=5\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(1403085087.823: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 AEEEE5C2FD43490C\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.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com)\ > \ (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 2666.760 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.. 6669.15 BogoMIPS (lpj=13338318)\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: 8192K\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=5\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(1403085087.823: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 AEEEE5C2FD43490C\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: 7497.000 MB/sec\n\rraid5: using function:\ > \ generic_sse (7497.000 MB/sec)\n\rLoading raid456.ko module\r\nraid6: int64x1\ > \ 2707 MB/s\n\rraid6: int64x2 3056 MB/s\n\rraid6: int64x4 2493 MB/s\n\r\ > raid6: int64x8 2353 MB/s\n\rraid6: sse2x1 5833 MB/s\n\rraid6: sse2x2 6701\ > \ MB/s\n\rraid6: sse2x4 7653 MB/s\n\rraid6: using algorithm sse2x4 (7653 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(1403085115.713:2):\ > \ enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085118.109: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): Wed Jun 18 05:52:06 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, 66409/1572864 files, 545062/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.8.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 973) 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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-30-145-226 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403086967.219:112):\ > \ 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: 0x7de11000(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 0x9a5448\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/5493/2049\r\nFailed\ > \ to read /local/domain/0/backend/vbd/5493/2049/feature-barrier.\r\nFailed to\ > \ read /local/domain/0/backend/vbd/5493/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.8.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.8.1.el5xen\ > \ ro root=LABEL=/\r\r\ninitrd /boot/initrd-2.6.18-371.8.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/5493/2049\ > \ node=device/vbd/2049\r\nBootdata ok (command line is ro root=LABEL=/)\n\rLinux\ > \ version 2.6.18-371.8.1.el5xen (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc\ > \ version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 1795.672 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.. 4491.63 BogoMIPS (lpj=8983262)\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: 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\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(1403085095.510: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 AEEEE5C2FD43490C\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.8.1.el5xen\ > \ (mockbuild@x86-026.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red\ > \ Hat 4.1.2-54)) #1 SMP Fri Mar 28 05:57:38 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: 1795.672 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..\ > \ 4491.63 BogoMIPS (lpj=8983262)\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: 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\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(1403085095.510: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 AEEEE5C2FD43490C\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:\ > \ 14567.000 MB/sec\n\rraid5: using function: generic_sse (14567.000 MB/sec)\n\r\ > Loading raid456.ko module\r\nraid6: int64x1 1892 MB/s\n\rraid6: int64x2 2335\ > \ MB/s\n\rraid6: int64x4 2214 MB/s\n\rraid6: int64x8 1862 MB/s\n\rraid6: sse2x1\ > \ 4629 MB/s\n\rraid6: sse2x2 5533 MB/s\n\rraid6: sse2x4 6378 MB/s\n\r\ > raid6: using algorithm sse2x4 (6378 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(1403085124.612:2): enforcing=1 old_enforcing=0\ > \ auid=4294967295 ses=4294967295\n\rtype=1403 audit(1403085127.408: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): Wed Jun 18 05:52:18 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, 66409/1572864 files, 545062/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.8.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 868) 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\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\n\ > Successfully 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\n\ > Kernel 2.6.18-371.8.1.el5xen on an x86_64\r\n\r\nip-10-71-136-181 login: \rINIT:\ > \ Switching to runlevel: 6\r\n\rINIT: Sending processes the TERM signal\r\r\n\ > Shutting 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(1403087047.154:110):\ > \ audit_pid=0 old=1242 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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-181-2-8\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-181-2-8 ~]# ", command: cat /etc/sysconfig/rh-cloud-firstboot, > expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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-99fc54cb",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-7eb04e16",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\r\n "instanceType" > : "c1.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 "devpayProductCodes" > : null,\r\n "privateIp" : "10.181.2.8",\r\n "availabilityZone" : "us-east-1e"\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-181-2-8 ~]# ", command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo > | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-181-2-8 ~]# ", command: rpm > -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-181-2-8\ > \ ~]# ", 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-181-2-8 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-190-213-142\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-190-213-142 ~]# ", command: cat > /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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 "version" : "2010-08-31",\r\n "imageId" > : "ami-7eb04e16",\r\n "architecture" : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\r\n "instanceType" > : "m1.large",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.190.213.142",\r\n "region" > : "us-east-1",\r\n "accountId" : "567014786890",\r\n "instanceId" : "i-518f5c7a",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "availabilityZone" : "us-east-1c",\r\n "kernelId" > : "aki-919dcaf8",\r\n "ramdiskId" : null\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-190-213-142 ~]# ", command: grep '^gpgcheck=' > /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n\ > 1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-190-213-142 ~]# ", > command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-190-213-142\ > \ ~]# ", 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-190-213-142 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-230-160-91\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-230-160-91 ~]# ", command: cat > /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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 "version" : "2010-08-31",\r\n "imageId" > : "ami-7eb04e16",\r\n "architecture" : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\r\n "instanceType" > : "m1.small",\r\n "devpayProductCodes" : null,\r\n "privateIp" : "10.230.160.91",\r\n "region" > : "us-east-1",\r\n "accountId" : "567014786890",\r\n "instanceId" : "i-538f5c78",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "availabilityZone" : "us-east-1c",\r\n "kernelId" > : "aki-919dcaf8",\r\n "ramdiskId" : null\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-230-160-91 ~]# ", command: grep '^gpgcheck=' > /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n\ > 1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-230-160-91 ~]# ", > command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-230-160-91\ > \ ~]# ", 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-230-160-91 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-238-161-185\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-238-161-185 ~]# ", command: cat > /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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-428e5d69",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-7eb04e16",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\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 "devpayProductCodes" > : null,\r\n "privateIp" : "10.238.161.185",\r\n "availabilityZone" : "us-east-1c"\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-238-161-185 ~]# ", command: grep '^gpgcheck=' > /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n\ > 1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-238-161-185 ~]# ", > command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-161-185\ > \ ~]# ", 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-161-185 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-69-17-104\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-69-17-104 ~]# ", command: cat /etc/sysconfig/rh-cloud-firstboot, > expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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-418e5d6a",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-7eb04e16",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\r\n "instanceType" > : "m2.2xlarge",\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 "devpayProductCodes" > : null,\r\n "privateIp" : "10.69.17.104",\r\n "availabilityZone" : "us-east-1c"\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-69-17-104 ~]# ", command: grep '^gpgcheck=' > /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n\ > 1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-69-17-104 ~]# ", command: rpm > -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-69-17-104\ > \ ~]# ", 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-69-17-104 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-6-39-19\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-6-39-19 ~]# ", command: cat /etc/sysconfig/rh-cloud-firstboot, > expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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-39885b12",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-7eb04e16",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\r\n "instanceType" > : "m2.4xlarge",\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 "devpayProductCodes" : null,\r\n "privateIp" : "10.6.39.19"\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-6-39-19 ~]# ", command: grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo > | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-6-39-19 ~]# ", command: rpm > -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-6-39-19\ > \ ~]# ", 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-6-39-19 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-30-145-226\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-30-145-226 ~]# ", command: cat > /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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-1afe5648",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-7eb04e16",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\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 "version" : "2010-08-31",\r\n "devpayProductCodes" > : null,\r\n "privateIp" : "10.30.145.226",\r\n "availabilityZone" : "us-east-1e"\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-30-145-226 ~]# ", command: grep '^gpgcheck=' > /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n\ > 1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-30-145-226 ~]# ", > command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-30-145-226\ > \ ~]# ", 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-30-145-226 ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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:[[''/etc/modprobe.d/anaconda.conf'', [''file_t'', > ''etc_t'']], [''/lost+found'', [''file_t'', ''lost_found_t'']], [''/etc/sysconfig/mkinitrd/multipath'', > [''file_t'', ''etc_t'']], [''/etc/sysconfig/firstboot'', [''etc_t'', ''etc_runtime_t'']], > [''/etc/sysconfig/network-scripts/ifcfg-eth0'', [''etc_runtime_t'', ''etc_t'']]] > > Lost entries:[[''/etc/sysconfig/rh-cloud-firstboot'', [''etc_runtime_t'', > ''etc_t'']], [''/etc/yum.repos.d/.*'', [''etc_runtime_t'', ''etc_t'']], [''/etc/yum/pluginconf.d/rhui-lb.conf'', > [''etc_runtime_t'', ''etc_t'']]]', 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: > - {actual: "chkconfig --list rh-cloud-firstboot\r\nerror reading information on\ > \ service rh-cloud-firstboot: No such file or directory\r\n[root@ip-10-71-136-181\ > \ ~]# ", command: chkconfig --list rh-cloud-firstboot, expectation: '3:off', > result: failed} > - {actual: '1', command: test -f /etc/sysconfig/rh-cloud-firstboot, result: failed} > - {actual: "cat /etc/sysconfig/rh-cloud-firstboot\r\ncat: /etc/sysconfig/rh-cloud-firstboot:\ > \ No such file or directory\r\n[root@ip-10-71-136-181 ~]# ", command: cat > /etc/sysconfig/rh-cloud-firstboot, expectation: RUN_FIRSTBOOT=NO, result: failed} > 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,dmraid,python-lxml,util-linux,ppp,mcstrans,at,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,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,pygobject2,python-dmidecode,system-config-securitylevel-tui,python-simplejson,pam,SysVinit,httpd,cyrus-sasl,portmap,openssh,dhclient,libuser,usermode,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,NetworkManager-glib,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,libsemanage,cracklib,initscripts,sendmail,dnsmasq,passwd,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'']'} > - {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'', ''gpg-pubkey'', ''rh-amazon-rhui-client'', > ''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-3a885b11",\r\n "billingProducts" > : [ "bp-63a5400a" ],\r\n "imageId" : "ami-7eb04e16",\r\n "architecture" > : "x86_64",\r\n "pendingTime" : "2014-06-18T09:51:04Z",\r\n "instanceType" > : "t1.micro",\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 "devpayProductCodes" : null,\r\n "privateIp" : "10.71.136.181"\r\n}'']'} > - {command: '[ ''ami-7eb04e16'' = ''ami-7eb04e16'' ]', 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: > - {actual: "grep '^gpgcheck=' /etc/yum.repos.d/redhat-*.repo | cut -d\\= -f2 |\ > \ sort -uf | tr -d ' '\r\ngrep: /etc/yum.repos.d/redhat-*.repo: No such file\ > \ or directory\r\n[root@ip-10-71-136-181 ~]# ", command: grep '^gpgcheck=' > /etc/yum.repos.d/redhat-*.repo | cut -d\= -f2 | sort -uf | tr -d ' ', expectation: "\r\n\ > 1\r\n", result: failed} > - {actual: "rpm -qa gpg-pubkey* | wc -l\r\n0\r\n[root@ip-10-71-136-181 ~]# ", > command: rpm -qa gpg-pubkey* | wc -l, expectation: "\r\n2\r\n", result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-2fa658e0-45700c69, result: failed} > - {actual: '1', command: rpm -q gpg-pubkey-37017186-45761324, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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} > 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: failed > 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: Failure > 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-71-136-181\ > \ ~]# ", 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: > - {actual: '1', command: rpm -q rh-amazon-rhui-client, result: failed} > 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} > - {actual: '1', command: 'rpm -q --queryformat ''%{NAME}'' zsh', result: failed} > - {actual: '1', command: rpm -e zsh, result: failed} > 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.8.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.8.1.el5} > - {command: uname -o, result: passed, value: GNU/Linux} > - {command: '[ 2.6.18-371.8.1.el5 = 2.6.18-371.8.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 1110770
: 909988 |
915927