NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]


>Number:         46757
>Category:       misc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 30 15:30:00 +0000 2012
>Originator:     Edgar Fuß
>Release:        NetBSD 6.0_BETA2
        Mathematisches Institut der Uni Bonn
System: NetBSD 6.0_BETA2 NetBSD 6.0_BETA2 (MI12serv) #5: 
Mon Jul 30 12:13:14 CEST 2012
Architecture: x86_64
Machine: amd64
        It's somewhat annoying that NetBSD, as shipped by NetBSD, by default,
        sets fetch_pkg_vulnerabilities=NO in /etc/defaults/daily.conf, while, 
by default.
        on a daily basis, lets /etc/daily urge me to change that default.
        Code inspection. Read daily mails.
        See also discussion on tech-userlevel.
        Warn only fetch_pkg_vulnerabilities is unset/empty and make that
        the default in /etc/defaults/daily.conf.
        Perhaps some native speaker should adjust my wording in the 

--- daily.orig  2012-07-30 17:15:38.000000000 +0200
+++ daily       2012-07-30 17:20:27.000000000 +0200
@@ -254,9 +254,10 @@
        if checkyesno fetch_pkg_vulnerabilities; then
                ( umask 022 && pkg_admin ${_compat_K_flag} \
                    fetch-pkg-vulnerabilities -u )
-       else
-               echo "fetch_pkg_vulnerabilities is set to NO in daily.conf(5)."
-               echo "You should set it to YES to enable vulnerability checks."
+       elif [ -z "$fetch_pkg_vulnerabilities" ]; then
+               echo "fetch_pkg_vulnerabilities is not set in daily.conf(5)."
+               echo "You should set it to YES to enable vulnerability checks"
+               echo "or set it to NO to get rid of this warning."
--- daily.conf.orig     2012-07-30 17:15:48.000000000 +0200
+++ daily.conf  2012-07-30 17:17:27.000000000 +0200
@@ -30,6 +30,6 @@
+fetch_pkg_vulnerabilities="" # set to NO to disable and not be warned about


Home | Main Index | Thread Index | Old Index