On Saturday 11 September 2004 13:59, Daniel Rubin wrote: > OK, I find the link below helpful for explaining the alternatives > mechanism, but I don't know how to configure alternatives to recognize the > sun java rpm that I installed that put the binary in /usr/java/j2sdk... I > think I'm suppoed to use the /usr/sbin/alternatives command rather than > manually changing symlinks in /etc/alternatives. Any help would be > appreciated. Thanks, > Daniel Daniel, please don't top-post to this list. Having to jump to the bottom to find out which link you are referring to is awkward, and when posts get longer really interrupts the flow of the 'conversation' this is what sendmail does on install: 1) set up the master links name with a priority - (highest is preferred) - so you would do this for java, instead of mta 2) set up the slave links as well, so any other apps that come with a particular java version have the correct links pointing to them when the master link is altered - man pages and the like. 3) say which inititalisation script controls the service (ie what should it start / stop once the links have been changed.) output of rpm -q --scripts sendmail (edited for line breaks/relevance): /usr/sbin/alternatives \ --install /usr/sbin/sendmail \ mta /usr/sbin/sendmail.sendmail 90 \ --slave /usr/bin/mailq mta-mailq /usr/bin/mailq.sendmail \ --slave /usr/bin/newaliases mta-newaliases \ /usr/bin/newaliases.sendmail \ --slave /usr/bin/rmail mta-rmail \ /usr/bin/rmail.sendmail \ --slave /usr/lib/sendmail mta-sendmail \ /usr/lib/sendmail.sendmail \ --slave /etc/pam.d/smtp mta-pam \ /etc/pam.d/smtp.sendmail \ --slave /usr/share/man/man8/sendmail.8.gz mta-sendmailman \ /usr/share/man/man8/sendmail.sendmail.8.gz \ --slave /usr/share/man/man1/mailq.1.gz mta-mailqman \ /usr/share/man/man1/mailq.sendmail.1.gz \ --slave /usr/share/man/man1/newaliases.1.gz mta-newaliasesman \ /usr/share/man/man1/newaliases.sendmail.1.gz \ --slave /usr/share/man/man5/aliases.5.gz mta-aliasesman \ /usr/share/man/man5/aliases.sendmail.5.gz \ --initscript sendmail any help? -- Stuart Sears RHCE, RHCX -- What good is it if you talk in flowers, and they think in pastry? -- Ashleigh Brilliant -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list