[bug-notifications] [freeradius 0001832]: Error in init.d naming
Mantis Bug Tracker
noreply at opencsw.org
Tue Jun 19 10:31:23 CEST 2012
The following issue has been CLOSED
======================================================================
https://www.opencsw.org/mantis/view.php?id=1832
======================================================================
Reported By: james
Assigned To: dam
======================================================================
Project: freeradius
Issue ID: 1832
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2006-09-27 12:12 CEST
Last Modified: 2012-06-19 10:31 CEST
======================================================================
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.
======================================================================
----------------------------------------------------------------------
(0008564) gadavis (developer) - 2010-12-14 06:03
https://www.opencsw.org/mantis/view.php?id=1832#c8564
----------------------------------------------------------------------
Hopefully this bug has been addressed by my build of 2.1.10. I am now using
the CSWclassutils stuff in GAR and is being copied into
/etc/opt/csw/init.d/cswfreeradius per other packages.
----------------------------------------------------------------------
(0009966) dam (administrator) - 2012-06-19 10:31
https://www.opencsw.org/mantis/view.php?id=1832#c9966
----------------------------------------------------------------------
This should be fixed in 2.1.12,REV=2012.05.02 which has been released to
unstable/.
More information about the bug-notifications
mailing list