Bug 734810 - RHEL5.6 i386 ami does not have swap partition entries in fstab
Summary: RHEL5.6 i386 ami does not have swap partition entries in fstab
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: releng
Version: 5.6
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tomas Kopecek
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-31 14:24 UTC by Kedar Bidarkar
Modified: 2011-10-11 21:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-11 21:15:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kedar Bidarkar 2011-08-31 14:24:23 UTC
Description of problem:

[root@ip-10-203-50-29 ~]# cat /etc/fstab
LABEL=/    /         ext3    defaults        1 1
none       /proc     proc    defaults        0 0
none       /sys      sysfs   defaults        0 0
none       /dev/pts  devpts  gid=5,mode=620  0 0
none       /dev/shm  tmpfs   defaults        0 0
[root@ip-10-203-50-29 ~]# parted -l | grep swap 
 1      0.00kB  940MB  940MB  linux-swap        
[root@ip-10-203-50-29 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)


Version-Release number of selected component (if applicable):
rhel5.6
ami-780efd11
337935342288/RHEL-5.6-Starter-EBS-i386-7-Access

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
No swap partition entry in /etc/fstab

Expected results:
Swap partition entry in /etc/fstab required.

Additional info:

Comment 1 wes hayutin 2011-08-31 15:59:15 UTC
Disk /dev/sda3: 940MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start   End    Size   File system  Flags
 1      0.00kB  940MB  940MB  linux-swap        



Model: Unknown (unknown)
Disk /dev/sda1: 6442MB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start   End     Size    File system  Flags
 1      0.00kB  6442MB  6442MB  ext3             

 


[root@domU-12-31-39-0F-CE-37 dev]# free
             total       used       free     shared    buffers     cached
Mem:       1740984     462852    1278132          0         52     371468
-/+ buffers/cache:      91332    1649652
Swap:            0          0          0


[root@domU-12-31-39-0F-CE-37 dev]# swapon -a
[root@domU-12-31-39-0F-CE-37 dev]# free
             total       used       free     shared    buffers     cached
Mem:       1740984     462852    1278132          0        136     371436
-/+ buffers/cache:      91280    1649704
Swap:            0          0          0

Comment 2 Jay Greguske 2011-08-31 16:04:23 UTC
kickstart added the swap entry in fstab if $(uname -m) == i386. In RHEL 5 it's i686; I've corrected this.

Comment 3 Tomas Kopecek 2011-09-06 08:45:08 UTC
There will be no more AMIs for RHEL 5.6. This problem should be fixed in 5.7 images as Jay fixed it before 5.7 release. Is it right Jay? If yes, we probably can close it as WONTFIX.

Comment 5 Jay Greguske 2011-10-11 21:15:31 UTC
Fixed in the catalog rebuild in October.


Note You need to log in before you can comment on or make changes to this bug.