OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003957 [pkg_get] packaging minor have not tried 2009-10-11 12:11 2009-10-12 20:39
Reporter dam View Status public  
Assigned To phil
Priority normal Resolution open  
Status feedback  
Summary 0003957: pkg-get installs directories also in CSWcommon with wrong group
Description pkg-get installs the directories also in CSWcommon with another group causing warning an installation (root:other vs. root:bin)

Processing package instance <CSWcommon> from </var/pkg-get/downloads/common-1.4.7,REV=2009.09.20-SunOS5.8-i386-CSW.pkg>

common - common files and dirs for CSW packages(i386) 1.4.7,REV=2009.09.20
http://www.opencsw.org/ [^] packaged for CSW by Philip Brown
## Executing checkinstall script.
## Processing package information.
## Processing system information.
   1 package pathname is already properly installed.
## 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:
  /opt/csw/bin <attribute change only>
  /opt/csw/etc <attribute change only>
  /opt/csw/share <attribute change only>
  /opt/csw/share/man <attribute change only>

* - conflict with a file which does not belong to any package.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006846)
philadmin (viewer)
2009-10-12 17:55

Err... I just did a test install.

mkdir /tmp/test
pkgadd -d pkg_get-4.3,REV=2009.10.04-SunOS5.8-all-CSW.pkg -R /tmp/test


ls -ld /tmp/test/opt/csw/bin
drwxr-xr-x 2 root bin 181 Oct 12 08:52 /tmp/test/opt/csw/bin


seems to work ok. this is on sol10.
is it more broken on sol8 or something?

otherwise... please note that if the directories exist, and have DIFFERENT ownership... the ownership will stay whatever you had it before.

That's not technically a bug in pkg-get, that's a PEBKAC bug :-}
(0006847)
dam (administrator)
2009-10-12 20:39

The problem is that CSWcommon is not installed and the directories also not in pkg-get resulting in directory not belonging to a package and group differing to CSWcommon. This issues unnecessary warning messages during install of CSWcommon. The directories should be in pkg-get for clean bootstrapping.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker