[bug-notifications] [smartmontools 0001811]: install of CSWsmartmontools modifies /etc/rc3.d

Mantis Bug Tracker noreply at opencsw.org
Tue Mar 24 13:01:51 CET 2009

The following issue has been CLOSED 
Reported By:                dclarke
Assigned To:                ihsan
Project:                    smartmontools
Issue ID:                   1811
Category:                   packaging
Reproducibility:            always
Severity:                   tweak
Priority:                   high
Status:                     closed
Resolution:                 open
Fixed in Version:           
Date Submitted:             2006-09-20 12:07 CEST
Last Modified:              2009-03-24 13:01 CET
Summary:                    install of CSWsmartmontools modifies /etc/rc3.d
Let\'s look at the two directories affected first :

# ls -lad /etc/rc3.d /opt/csw/share/man/man1m
drwxrwxr-x   2 root     sys          512 Sep 20 01:29 /etc/rc3.d
drwxr-xr-x   2 root     other        512 Sep 20 12:00

Now let\'s install the package :

# pkgadd -d ./smartmontools-5.36,REV\\=2006.09.11-SunOS5.8-sparc-CSW.pkg

Processing package instance <CSWsmartmontools> from

smartmontools - S.M.A.R.T. utility toolset
(sparc) 5.36,REV=2006.09.11
                    GNU GENERAL PUBLIC LICENSE
                       Version 2, June 1991

.  bypass the license verbage
This General Public License does not permit incorporating your program
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with
library.  If this is what you want to do, use the GNU Library General
Public License instead of this License.
## Processing package information.
## Processing system information.
   10 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
  /etc/rc3.d <attribute change only>
  /opt/csw/share/man/man1m <attribute change only>

Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.

Installing smartmontools - S.M.A.R.T. utility toolset as

## Installing part 1 of 1.
/etc/rc0.d/K05smartd <symbolic link>
/etc/rc1.d/K05smartd <symbolic link>
/etc/rc2.d/K05smartd <symbolic link>
/etc/rc3.d/S95smartd <symbolic link>
/etc/rcS.d/K05smartd <symbolic link>
[ verifying class <none> ]

Installation of <CSWsmartmontools> was successful.

Now we go look at those two directories : 

# ls -lad /etc/rc3.d /opt/csw/share/man/man1m
drwxr-xr-x   2 root     sys          512 Sep 20 12:02 /etc/rc3.d
drwxr-xr-x   2 root     bin          512 Sep 20 12:02

While the change to /opt/csw/share/man/man1m is minor the modification of
/etc/rc3.d seems to be wrong.

Dennis Clarke
Wed Sep 20 12:07:41 EDT 2006

 (0003922) ihsan (manager) - 2006-09-20 13:24
Oups, I\'m going to fix that. 

 (0005719) ihsan (manager) - 2009-03-24 13:00
a fixed version is already in the repository 

Issue History 
Date Modified    Username       Field                    Change               
2009-03-24 13:00 ihsan          Note Added: 0005719                          
2009-03-24 13:00 ihsan          Status                   assigned => resolved
2009-03-24 13:00 ihsan          Description Updated                          
2009-03-24 13:01 ihsan          Status                   resolved => closed  

More information about the bug-notifications mailing list