I went to the http://www.nsa.gov/selinux/ website to find out. It seems to be enhanced security for linux. I don't know anything about it or what to fix.
I don't know what breaks when you clone a server using si_getimage, but it prevent users from logging into system that have it turned on and have been cloned.
You may want to at least post something somewhere for people to know that it is not supported in systemimager at this time.
Also, note that FC5 has it turned on by default. I had to use the GUI tool to turn it off at "First Boot Time", the system then told me that for these changes to take affect that the system needed to reboot (Sounds like something you need to do in a Windows system not linux). However, when I turned it off and then rebooted, I was able to create a golden-client that would allowed me to log in.
I will have these servers in house until 8/28, so if you need me to try something, it will have to be before date.
Thanks,
-John.
"Bernard Li" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 08/20/2006 04:43 PM |
|
Hi John:
I'm forwarding the thread back to sisuite-devel mailing-list so that when Andrea comes back he can take a look at the issue (please keep the thread there when responding).
Regarding SELinux, I'm not sure what our stance is on it - do you have a good handle regarding how we can fix the issue?
Cheers,
Bernard
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sun 20/08/2006 13:41
To: Bernard Li
Subject: Re: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4 RH FC5
Success!!!! 3.7.4
I just created a good golden-client and created a clone.
I did so without LVM, just plain / ,/boot, /swap
However, we still have the two oustanding bugs:
1) Not being able to log in if SELINUX=enforce.
2) Not being able to use LVM with FC-5
If you need help debugging, let me know.
Thanks for you help,
-John.
"Bernard Li" <[EMAIL PROTECTED]>
"Bernard Li" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
08/20/2006 02:01 PM
To
<sisuite-devel@lists.sourceforge.net>
cc
Subject
Re: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4 RH FC5
Swap is defined in the autoinstallscript.conf, but I guess the autoinstallscript wasn't properly generated.
I'm not too familiar with the LVM code, so perhaps Andrea can help you with this.
I suppose not using LVM is not an option...?
Cheers,
Bernard
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Sun 20/08/2006 11:00
To: Bernard Li
Subject: RE: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4 RH FC5
Attached find the file:
/var/lib/systemimager/images/IBMx336-FC5-lvm-image/etc/systemimager/autoinstallscript.conf
<!--
autoinstallscript.conf
vi:set filetype=xml:
This file contains partition information about the disks on your golden
client. It is stored here in a generic format that is used by your
SystemImager server to create an autoinstall script for cloning this
system.
You can change the information in this file to affect how your target
machines are installed. See "man autoinstallscript.conf" for details.
-->
<config>
<disk dev="/dev/sda" label_type="msdos" unit_of_measurement="MB">
<!--
This disk's output was brought to you by the partition tool "sfdisk",
and by the numbers 4 and 5 and the letter Q.
-->
<part num="1" size="101" p_type="primary" p_name="-" flags="boot"
/>
<part num="2" size="*" p_type="primary" p_name="-" flags="lvm"
lvm_group="VolGroup00" />
</disk>
<lvm version="2">
<lvm_group name="VolGroup00" max_log_vols="0" max_phys_vols="0"
phys_extent_size="32768K">
<lv name="LogVol00" size="75956224K" />
<lv name="LogVol01" size="2031616K" />
</lvm_group>
</lvm>
<fsinfo line="10" real_dev="/dev/VolGroup00/LogVol00" mp="/" fs="ext3"
options="defaults" dump="1" pass="1" />
<fsinfo line="20" real_dev="/dev/sda1" mount_dev="LABEL=/boot"
mp="/boot" fs="ext3" options="defaults" dump="1" pass="2" />
<fsinfo line="30" real_dev="devpts" mp="/dev/pts" fs="devpts"
options="gid=5,mode=620" dump="0" pass="0" />
<fsinfo line="40" real_dev="tmpfs" mp="/dev/shm" fs="tmpfs"
options="defaults" dump="0" pass="0" />
<fsinfo line="50" real_dev="proc" mp="/proc" fs="proc"
options="defaults" dump="0" pass="0" />
<fsinfo line="60" real_dev="sysfs" mp="/sys" fs="sysfs"
options="defaults" dump="0" pass="0" />
<fsinfo line="70" real_dev="/dev/VolGroup00/LogVol01" mp="swap"
fs="swap" options="defaults" dump="0" pass="0" format="no" />
<boel devstyle="static"/>
</config>
"Bernard Li"
<[EMAIL PROTECTED]>
To
08/20/2006 01:42 <[EMAIL PROTECTED]>
PM cc
Subject
RE: [Sisuite-devel] Missing Swap
using 3.7.3 and 3.7.4 RH FC5
Can you post your client image's /etc/systemimager/autoinstallscript.conf -
the image is stored in /var/lib/systemimager/images so the file I'm
referring to should be in your image server's:
/var/lib/systemimager/images/<image_name>/etc/systemimager/autoinstallscript.conf
Cheers,
Bernard
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of
[EMAIL PROTECTED]
Sent: Sun 20/08/2006 10:16
To: sisuite-devel@lists.sourceforge.net
Subject: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4 RH FC5
I see the following Warnings when I execute si_prepareclient:
Welcome to the SystemImager si_prepareclient command. This command may
modify
Welcome to the SystemImager si_prepareclient command. This command may
modify
*********************************** WARNING
***********************************
Signaling xinetd to restart...
Using "sfdisk" to gather information about disk:
/dev/sda
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 76323/64/32).
For this listing I'll assume that geometry.
WARNING: Couldn't find module "af_packet", assuming it's built into the
kernel.
Also, in the /var/lib/systemimager/scripts directory the image master file
does not contain anything to recreate the swap area see below:
### BEGIN swap and filesystem creation commands ###
logmsg "mke2fs -j /dev/VolGroup00/LogVol00 || shellout"
mke2fs -j /dev/VolGroup00/LogVol00 || shellout
logmsg "mkdir -p /a/ || shellout"
mkdir -p /a/ || shellout
logmsg "mount /dev/VolGroup00/LogVol00 /a/ -t ext3 -o defaults || shellout"
mount /dev/VolGroup00/LogVol00 /a/ -t ext3 -o defaults || shellout
logmsg "mke2fs -j ${DISK0}1 || shellout"
mke2fs -j ${DISK0}1 || shellout
logmsg "tune2fs -L /boot ${DISK0}1"
tune2fs -L /boot ${DISK0}1
logmsg "mkdir -p /a/boot || shellout"
mkdir -p /a/boot || shellout
logmsg "mount ${DISK0}1 /a/boot -t ext3 -o defaults || shellout"
mount ${DISK0}1 /a/boot -t ext3 -o defaults || shellout
### END swap and filesystem creation commands ###
Any ideas?
Thanks,
-John.
(See attached file: graycol.gif)(See attached file: pic62724.gif)(See attached file: ecblank.gif)-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel
(See attached file: pic57563.gif)(See attached file: graycol.gif)(See attached file: ecblank.gif)-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel
pic57563.gif
Description: GIF image
graycol.gif
Description: GIF image
ecblank.gif
Description: GIF image
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel