[bug-notifications] [freeradius 0001832]: Error in init.d naming
Mantis Bug Tracker
noreply at opencsw.org
Tue Dec 7 21:06:17 CET 2010
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=1832
======================================================================
Reported By: james
Assigned To: gadavis
======================================================================
Project: freeradius
Issue ID: 1832
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2006-09-27 12:12 CEST
Last Modified: 2010-12-07 21:06 CET
======================================================================
Summary: Error in init.d naming
Description:
The postinstall does the following:
#pre Solaris 10. We install the init file.
cp /opt/csw/sbin/rc.radiusd /etc/init.d
rm /etc/rc0.d/K11cswfreeradius
rm /etc/rc1.d/K11cswfreeradius
rm /etc/rc2.d/K11cswfreeradius
rm /etc/rcS.d/K11cswfreeradius
rm /etc/rc3.d/S51cswfreeradius
ln -s /etc/init.d/radiusd /etc/rc0.d/K11cswfreeradius
ln -s /etc/init.d/radiusd /etc/rc1.d/K11cswfreeradius
ln -s /etc/init.d/radiusd /etc/rc2.d/K11cswfreeradius
ln -s /etc/init.d/radiusd /etc/rcS.d/K11cswfreeradius
ln -s /etc/init.d/radiusd /etc/rc3.d/S51cswfreeradius
The file in init.d should have prefix \"csw\".
But it fails because the copied file does not have the name being linked,
(radiusd vs rc.radiusd).
Suggest a rewrite anyway there are neater ways to do this, see some
examples in other packages that use classes to install the appropriate init
system based on OS rev.
======================================================================
----------------------------------------------------------------------
(0008536) gadavis (developer) - 2010-12-07 21:06
https://www.opencsw.org/mantis/view.php?id=1832#c8536
----------------------------------------------------------------------
I'm in the process of modernizing this package, which should take care of
the poorly named init scripts. It will use the cswinitsmf class.
More information about the bug-notifications
mailing list