Re: [sisuite-users] Imaging issues with RH ES 4

2007-02-20 Thread David . Livingstone
Andrea,

Find below the autoinstallscript.conf.

What appears to have happended is that /selinux was imaged and then 
propagated to the
new machine. By removing  /selinux files, creating  /.autorelabel and 
rebooting /selinux was
properly mounted and 'fixfiles relabel' was run. 

As you can see below /selinux(selinuxfs) is not shown. The mount command 
RHEL4 does
not show  selinux however /proc/mounts does. rc.sysinit determines if 
selinuxfs is mounted
as : selinuxfs=`awk '/ selinuxfs / { print $2 }' /proc/mounts` .  I 
checked si_prepareclient and
mount is used and not /proc/mounts. What is the best solution ?


- mount returns :
[EMAIL PROTECTED] etc]# which mount
/bin/mount
[EMAIL PROTECTED] etc]# /bin/mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[EMAIL PROTECTED] etc]# 

- cat /proc/mounts returns :
[EMAIL PROTECTED] etc]# cat /proc/mounts
rootfs / rootfs rw 0 0
/proc /proc proc rw,nodiratime 0 0
none /dev tmpfs rw 0 0
/dev/root / ext3 rw 0 0
none /dev tmpfs rw 0 0
none /selinux selinuxfs rw 0 0
/proc /proc proc rw,nodiratime 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
/sys /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
/dev/cciss/c0d0p1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0






































David K Livingstone
CN Signals and Communications
10229 127 Avenue floor 2
Edmonton, AB, T5E 0B9
Ph  : 780 472-3959 Fax : 780 472-3050
Email: [EMAIL PROTECTED] 



Andrea Righi <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
2007/02/19 14:48
Please respond to
[EMAIL PROTECTED]; Please respond to
sisuite-users@lists.sourceforge.net


To
sisuite-users@lists.sourceforge.net
cc

Subject
Re: [sisuite-users] Imaging issues with RH ES 4






[EMAIL PROTECTED] wrote:
>
> Using UYOK and 3.7.6  I successfully imaged and loaded  a RHES 4
> machine(DL380G4) without any major
> issues. I did however run into pronlems when subsequently attemping to
> install an rpm(see below for
> error). I tracked the error to a getxattr call for security.selinux.
> Disabling selinux avoids the problem
> but doesn't correct it. I'm now guessing but does the fact that I imaged
> and loaded the system
> from a systemimager server running on  RHES 3 without user_xattr on the
> filesystem have
> something to do with it ? Anyone else run into this ? Can I "fix" my
> imaged system somehow ?

Are your filesystems mounted with user_xattr (or xattr) after the
imaging? what's the output of a simple "mount"? could you post also your
autoinstallscript.conf?

Regards,
-Andrea

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] IA64 woes - 3.6.3 seems to work- 3.7.6 does not: DETAIL of what happens

2007-02-20 Thread Brodie, Kent
Most of the errors I had were regarding things about modules not found,
because it was assuming something like /lib/[system kernel version
here]/modules even though that's not where the modules were...



-
Kent C. Brodie - [EMAIL PROTECTED]
Department of Physiology
Medical College of Wisconsin
(414) 456-8590
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrea
Righi
Sent: Monday, February 19, 2007 4:55 PM
To: sisuite-users@lists.sourceforge.net
Subject: Re: [sisuite-users] IA64 woes - 3.6.3 seems to work- 3.7.6 does
not: DETAIL of what happens

Brodie, Kent wrote:
> Hi folks.   Well, I managed to get 3.6.3 working.   3.7.6 does not.

> Hopefully the information I give here in this (lengthly-sorry) post
will
> help the developers figure out what's going on. Hardware = HP
> rx2600 Integrity (IA64).   OS= RedHat AS 4.

many thanks to post these informations!!! unfortunately at the moment
we've not a ia64 to test systemimgaer with this architecture.. and as
you can see the ia64 package is not distributed in recent releases...
anyway it would be interesting to investigate about UYOK problems...
could you post some details or error messages about the problems you
found?

Thanks,
-Andrea


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Booting From Local Hard drive

2007-02-20 Thread Andrea Righi
hiba salma wrote:
> By " it hangs" i mean the client hangs there n do nothing
> 
> i dun press ESC, the client automatically tries to boot from its local
> drive.cuz of the setting that i changed in the systemimager.conf fille.
> i think the kernel doesn' t get loaded.
> 
> but as u say if there is some problem with the client bootloader,the
> Client gets the bootloader images(Grub) from the network to boot from
> its hard drive.
> 
> if that is the case then where could be the problem??

If grub doesn't appear when you boot from local disk, surely there was a
problem in the boot loader installation... which version of
systemconfigurator are you using in your image? and which version of grub?

Regards,
-Andrea

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] building debian packages

2007-02-20 Thread Bas van der Vlies
jef e wrote:
> Bas van der Vlies wrote:
> 
>> I do not apply the patches. As i can tell they are old patches for other 
>> systemimager releases ;-)
>>
>> Regards
>>
> 
> ah - ok then :-)   I took them out, but still run across this, still
> using the SVN version of the control file..
> 
> 
> Use of uninitialized value in string eq at
> /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 655.
> dpkg-gencontrol -psystemimager-boot-i386-standard
> -ldebian/changelog -isp
> -Tdebian/systemimager-boot-i386-standard.substvars
> -Pdebian/systemimager-boot-i386-standard
> dpkg-gencontrol: error: package systemimager-boot-i386-standard not in
> control info
> dh_gencontrol: command returned error code 65280
> make: *** [binary-arch] Error 1
> 
> 
> Do you have an entry that I can borrow for my control file? :)
> 
> jef
> 
Jef,

  Read the debian/rules file the control file is generated, eg:
debian/rules control

Makes the control file.

Regards

-- 

*  *
*  Bas van der Vlies e-mail: [EMAIL PROTECTED]  *
*  SARA - Academic Computing Servicesphone:  +31 20 592 8012   *
*  Kruislaan 415 fax:+31 20 6683167*
*  1098 SJ Amsterdam   *
*  *


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] building debian packages

2007-02-20 Thread jef e
Bas van der Vlies wrote:

> I do not apply the patches. As i can tell they are old patches for other 
> systemimager releases ;-)
> 
> Regards
> 

ah - ok then :-)   I took them out, but still run across this, still
using the SVN version of the control file..


Use of uninitialized value in string eq at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 655.
dpkg-gencontrol -psystemimager-boot-i386-standard
-ldebian/changelog -isp
-Tdebian/systemimager-boot-i386-standard.substvars
-Pdebian/systemimager-boot-i386-standard
dpkg-gencontrol: error: package systemimager-boot-i386-standard not in
control info
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1


Do you have an entry that I can borrow for my control file? :)

jef


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Post Install Host/Mail Names

2007-02-20 Thread Kenneth Jacker
  ar> You can use all the variables used in the imaging process
  ar> sourcing the /tmp/post-install/variables.txt file, for example
  ar> on top of your script you can add the line:

  ar> . /tmp/post-install/variables.txt

I'll certainly "source" *that* file!

  ar> Here is the list of the variables saved in variables.txt:
  ar>
  ar> echo "HOSTNAME=$HOSTNAME"   >> /tmp/variables.txt || 
shellout
  ar>   ... ... ...

I believe $HOSTNAME is what I need in order to change each client's host name.

  ar> For some post-install script examples you can look here:

  ar> 
http://svn.systemimager.org/listing.php?repname=systemimager&path=%2Ftrunk%2Fdoc%2Fexamples%2Fpost-install%2F&rev=0&sc=0

Useful link ... I looked around and got some more ideas.


I'll try and remember to email my "post-install script" to the
'sisuite' mailing list ... once it works!

Thanks for your help,

  -Kenneth

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] building debian packages

2007-02-20 Thread Bas van der Vlies
Jef Elliott wrote:
> Bas van der Vlies wrote:
>> I have build the deb packages and install them successfully on 
>> sarge/etch systems. I am now testing.
>>
>> I can put the debs on our ftp-server if somebody wants them.
> 
> I might be interested, but first, I'd like to know how you did it ;-)
> 
> I saw your note about the conflicts in the control file, but I'm running
> across patch errors when I tried to use the SVN files as you suggested.
> 
> It basically attempts to run a patch:
> --- ctcs-1.3.0pre4.orig/run 2001-11-06 15:40:40.0 -0600
> +++ ctcs-1.3.0pre4/run  2002-09-22 15:23:36.0 -0500
> 
> But then sits and waits for input telling it which file to patch. Thing
> is, I have no idea :-)
> 
> Any thoughts or tips?
> 
> jef
> 

I do not apply the patches. As i can tell they are old patches for other 
systemimager releases ;-)

Regards

-- 

*  *
*  Bas van der Vlies e-mail: [EMAIL PROTECTED]  *
*  SARA - Academic Computing Servicesphone:  +31 20 592 8012   *
*  Kruislaan 415 fax:+31 20 6683167*
*  1098 SJ Amsterdam   *
*  *


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] building debian packages

2007-02-20 Thread Bas van der Vlies
The debian packages are available at:
  ftp://ftp.sara.nl/pub/outgoing/systemimager

I have only tested the release with rsync and i could reinstall a node. 
In the systemimager-server package are also the monitord and the 
bittorent init.d scripts. They belong in a separate package but for the 
moment it is oke. The main goal for us is to test the bittorent setup

Regards

-- 

*  *
*  Bas van der Vlies e-mail: [EMAIL PROTECTED]  *
*  SARA - Academic Computing Servicesphone:  +31 20 592 8012   *
*  Kruislaan 415 fax:+31 20 6683167*
*  1098 SJ Amsterdam   *
*  *


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] building debian packages

2007-02-20 Thread Bas van der Vlies
Andrea Righi wrote:
> Bas van der Vlies wrote:
>> I have build the deb packages and install them successfully on 
>> sarge/etch systems. I am now testing.
>>
>> I can put the debs on our ftp-server if somebody wants them.
>>
>> Regards
>>
>>
> 
> Great! ...but which version?
> 

I am just testing our setup. I now have a working set of 
kernel/initrd.img and boel_binaries.tar.gz from you rpm archive (3.8.0). 
The rest is still 3.7.6. I will do some more tests.

Regards


-- 

*  *
*  Bas van der Vlies e-mail: [EMAIL PROTECTED]  *
*  SARA - Academic Computing Servicesphone:  +31 20 592 8012   *
*  Kruislaan 415 fax:+31 20 6683167*
*  1098 SJ Amsterdam   *
*  *


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users


Re: [sisuite-users] Old DHCP question

2007-02-20 Thread Bas van der Vlies
Andrea Righi wrote:
> Bas van der Vlies wrote:
>> In the past i have ask for a new dhcp option, see:
>> http://sourceforge.net/tracker/index.php?func=detail&aid=476681&group_id=259&atid=350259
>>
>> It about setting the host installation script via een dhcp option. Is 
>> this option still open for inclusion in systemimager release?
>>
>> If not no problem i will make my  own boot image with this option ;-)
>>
>>
>> Regards
> 
> I think you can use the installation parameter SCRIPTNAME to force the
> use or a single script name for a group of hosts (if I've understood
> well your problem):
> 
> http://wiki.systemimager.org/index.php/Installation_Parameters#SCRIPTNAME.3Dscript
> 
> Simply define it in etc/systemimager/pxelinux.cfg/syslinux.cfg and
> re-run si_mkclientnetboot...

Andrea,

  Thanks for the hint and it is exactly what i needed.  we use still a 
old systemimager setup with our own tweaks.  I will rewrite our 
pxeconfig tool to use scriptname variable and get rid of our DHCP setting.

Thanks



-- 

*  *
*  Bas van der Vlies e-mail: [EMAIL PROTECTED]  *
*  SARA - Academic Computing Servicesphone:  +31 20 592 8012   *
*  Kruislaan 415 fax:+31 20 6683167*
*  1098 SJ Amsterdam   *
*  *


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users