|Anonymous | Login | Signup for a new account||2013-05-25 17:12 EDT|
|Main | My View | View Issues | Change Log | Roadmap|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000303||[Nagios Plugins] Other / Unknown||tweak||always||2012-03-19 07:57||2012-09-18 09:12|
|Summary||0000303: improve default APT options for check_apt|
check_apt uses the following default options:
-o 'Debug::NoLocking=true' -s -qq
The former seems fine to me, but think (maybe I'm wrong), the later can be improved:
I've just reported bug 0000302, where I suggest, that IMHO check_apt shouldn't upgrade per default, but JUST check (even not doing an update).
If this was the case, than we could just drop "-s".
A user typically _want_s the upgrade if he says -U or -D,.. or at least a notice if it failed (cause he wasn't root).
Right now, he does not even get that info, right?
b) I'd generally omit -o 'Debug::NoLocking=true'
According to the apt-get manual page, simulation (-s) enables "Debug::NoLocking=true" for non-root users anyway and AS a root user,.. one probably wants the locking.
c) I'm unsure about -qq
The apt-get manual page, specifically warns:
>you should never use -qq without a no-action modifier such as
>-d, --print-uris or -s as APT may decided to do something you
>did not expect.
If (a) above would be accepted, than we'd no longer fulfil this, as "-s" was gone.
What should we do then? Just "-q".
btw: I'd write patches if the ideas themselves were accepted.
|Tags||No tags attached.|
The proposals as described above were partially invalid.
I corrected them and forwarded it to:
Please close the issue here.
|2012-03-19 07:57||calestyo||New Issue|
|2012-07-01 15:45||calestyo||Note Added: 0000500|
|2012-09-18 09:12||ageric||Status||new => closed|
|Mantis 1.1.7[^] Copyright © 2000 - 2008 Mantis Group|