Steve,
So for that to happen a default install user would need to be determined
and the only one that comes to mind is user root. This is because we
would need something to cover 100% percent of the installs and since not
all installs are interactive we would need a default user. I'm not sure
that "./torque.setup root" should be the default, what are peoples
thoughts about that?
You can quite easily edit the torque.spec file yourself and add this
functionality to torque.spec. You'll need to test this but if you edit
the section of the file under "%files server" and add
%{torquehomedir}/torque.setup then under "%post server" add
%{torquehomedir}/torque.setup <USERNAME>. The last line may fail if the
user doesn't already exist on the system.
If that doesn't work I'd check this guide http://www.rpm.org/max-rpm/ to
see were I went wrong. It shouldn't take you too long, worst case
scenario you learn more about rpm's.
Regards,
Steven DuChene wrote:
I was working with the folks at CRI to get a demo system for SC07 up
and running and during that
exercise we discovered somethings in my torque install were not
completely setup. I informed them
that rather than installing via the usual configure / make / make
install routine, I had built rpms for
the torque bits from the spec file packaged with the distribution so I
could more easily propogate
the correct files across a cluster. When informed of that, Dave
Jackson suggested I make the torque
developers aware of this and see if there wasn't some way to get the
torque.setup script to run on
the headnode as part of the rpm installation process.
I am bringing that up here as I do not know where if any there is any
sort of bug reporting system
or enhancement request system in place for torque.
--
Steven DuChene
Solutions Architect
SGI Professional Services
_______________________________________________
torqueusers mailing list
torqueusers@xxxxxxxxxxxxxxxx
http://www.supercluster.org/mailman/listinfo/torqueusers
--
Chris Vaughan
EMEA Systems Engineer
Cluster Resources, Ltd.
Direct - UK Office: +44 (0)1223 437 132
Mobile - +44 (0)7800 973 062
US Headquarters: +1 801 717 3700
Skype: supercomputer1
www.clusterresources.co.uk
|