OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001832 [freeradius] regular use major always 2006-09-27 12:12 2012-06-19 10:31
Reporter james View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0001832: 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0004001)
james (reporter)
2006-09-27 12:14

Note latest version, from http://www.freeradius.org/, [^] News:
22 August, 2006 Version 1.1.3 has been released.
(0004002)
james (reporter)
2006-09-27 12:32

Also, pkgrm does not remove these files. When they are part of the package the new package nends a preinstall to clean up the previous package\'s remnants.
(0004227)
james (reporter)
2006-12-17 14:29

Still outstanding, hence still excluded from stable.
(0008536)
gadavis (reporter)
2010-12-07 21:06

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.
(0008564)
gadavis (reporter)
2010-12-14 06:03

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

This should be fixed in 2.1.12,REV=2012.05.02 which has been released to unstable/.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker