[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
The following reply was made to PR misc/46757; it has been noted by GNATS.
From: Julian Djamil Fagir <gnrp%komkon2.de@localhost>
Subject: Re: misc/46757:
Date: Tue, 31 Jul 2012 00:11:10 +0200
Content-Type: text/plain; charset=US-ASCII
> 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=
> 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
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 =
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
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 =
checkyesno to something else than true/false.
But in any case, it would make rc more flexible (as in this case).
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
Main Index |
Thread Index |