NetBSD-Bugs archive

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

Re: misc/46757:



The following reply was made to PR misc/46757; it has been noted by GNATS.

From: Julian Djamil Fagir <gnrp%komkon2.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/46757:
Date: Tue, 31 Jul 2012 00:11:10 +0200

 --Sig_/rpDXbkkX0wuLJZx.0PmW41a
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Hi,
 
 >      It's somewhat annoying that NetBSD, as shipped by NetBSD, by
 > default, sets fetch_pkg_vulnerabilities=3DNO in /etc/defaults/daily.conf,
 > while, by default. on a daily basis, lets /etc/daily urge me to change th=
 at
 > default.
 > >How-To-Repeat:
 >      Code inspection. Read daily mails.
 >      See also discussion on tech-userlevel.
 > >Fix:
 >      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
 > echo/comment.
 though I was the one proposing this way, it doesn't work.=20
 You'll get a warning about $fetch_pkg_vulnerabilities not being set, which =
 in
 turn annoys even more - people are not getting recommendations what to do,
 but actual warnings.
 
 I don't see this problem can be solved with the way checkyesno currently
 works.
 I would prefer another way of checkyesno anyway: It will return 1 and 0 as
 before for NO/YES/* (and print a warning for the latter one), but for unset
 variables, it returns a 2.
 Grepping through src/etc shows no script that would break from this
 behaviour, and I assume there's no script which evaluates the return value =
 of
 checkyesno to something else than true/false.
 But in any case, it would make rc more flexible (as in this case).
 
 
 Regards, Julian
 
 --Sig_/rpDXbkkX0wuLJZx.0PmW41a
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
 iEYEARECAAYFAlAXBn4ACgkQc7h7cu1Hpp6mtACeP5q2mRCw426A6rvfTlwPb7JR
 OqIAnj9Wuk0zJ5hmwjvlaQaUIECFZnza
 =URFT
 -----END PGP SIGNATURE-----
 
 --Sig_/rpDXbkkX0wuLJZx.0PmW41a--
 


Home | Main Index | Thread Index | Old Index