Frank Paulick wrote:
Hi,

even if everyone seems to be ignoring my mails regarding solaris support, there seems to be a problem at least with the following package:

RHATrhnc-5.1.0-3.pkg

There is a Problem with the supplied file /etc/init.d/rhnsd
Since the Path of the configuration file is incorrect this file is never used.

Original file:

PREFIX=/opt/redhat/rhn/solaris
RHNSD_PID=$PREFIX/var/run/rhnsd.pid

# Sanity checks.
[ -x $PREFIX/usr/sbin/rhnsd ] || exit 0
[ -f $PREFIX/etc/sysconfig/rhn/systemid ] || exit 0

# read configuration settings (interval) for rhnsd, if present.
if [ -f $PREFIX//opt/redhat/rhn/solaris/etc/sysconfig/rhn/rhnsd ]; then <- Problem !!!!
  . $PREFIX/etc/sysconfig/rhn/rhnsd
fi


Hi Frank,
Could you open a Spacewalk bug for this?

I guess no one has used this within Solaris before, I was not aware - anyway :)

Thanks,
Cliff




Working file:

PREFIX=/opt/redhat/rhn/solaris
RHNSD_PID=$PREFIX/var/run/rhnsd.pid

# Sanity checks.
[ -x $PREFIX/usr/sbin/rhnsd ] || exit 0
[ -f $PREFIX/etc/sysconfig/rhn/systemid ] || exit 0

# read configuration settings (interval) for rhnsd, if present.
if [ -f $PREFIX/etc/sysconfig/rhn/rhnsd ]; then
  . $PREFIX/etc/sysconfig/rhn/rhnsd
fi

This happend on a Solaris 10 Sparc system.
--

Mit freundlichen Grüßen - Kind regards

Frank Paulick

-------------------------------------------------------------------
matrix technology AG
Consultant
Dipl.-Inf. (FH) Frank Paulick
Nymphenburger Str. 1, D-80335 München
Tel:  +49 - (0)89 - 589395-0
Fax: +49 - (0)89 - 589395-11
Web:    www.matrix.ag <http://www.matrix.ag/>
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Vorstände: Franz Kessel und Martin Orlik
Aufsichtsratsvorsitzender: Jürgen Kretschmer
Amtsgericht München: HRB 133085

-------------------------------------------------------------------

*E-Mail Disclaimer*

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie
bitte, dass jede Form der Kenntnisnahme, Veröffentlichung,
Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail
unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem
Absender der E-Mail in Verbindung zu setzen.

The information contained in this email is intended solely
for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any form
of disclosure, reproduction, distribution or any action taken
or refrained from in reliance on it, is prohibited and may be
unlawful. Please notify the sender immediately.

------------------------------------------------------------------------

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list


--
Clifford Perry
Team Lead, Satellite Engineering
Red Hat, Inc. http://www.redhat.com/
+1 919 754 4403
RHCA / RHCE# 805007680128201

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to