[bug-notifications] [pkgutil 0004395]: RFE: Warn on invalid options in config file

Mantis Bug Tracker noreply at opencsw.org
Wed Jun 9 18:40:00 CEST 2010


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=4395 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   4395
Category:                   regular use
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-12 12:33 CEST
Last Modified:              2010-06-09 18:40 CEST
====================================================================== 
Summary:                    RFE: Warn on invalid options in config file
Description: 
I just encountered a typo in one of our pkgutil.conf configuration files.
pkgaddopts was spelled wrongly and thus not used. However, as pkgutil
didn't warn me about the typo I only noticed this halfway through the
installation process. This time it wasn't serious, just a missing -S, but
could have been different if I would have relied on -G for instance.

# grep ^p /etc/opt/csw/pkgutil.conf
pkgliststyle=1
pgkgaddopts=-S

# pkgutil -V | grep pkgaddopts
pkgaddopts              not set (default: none)

What would you think about emitting warning/error messages when there are
unknown (i.e. possibly mis-spelled) options in the configuration file?
====================================================================== 

---------------------------------------------------------------------- 
 (0007999) bonivart (manager) - 2010-06-09 18:40
 http://www.opencsw.org/mantis/view.php?id=4395#c7999 
---------------------------------------------------------------------- 
Released to current (pkgutil 2.0).



More information about the bug-notifications mailing list