All issues moved to NagiosEnterprises Github
|Anonymous | Login | Signup for a new account||2018-03-20 13:17 EDT|
|Main | My View | View Issues | Change Log | Roadmap|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0000302||[Nagios Plugins] Other / Unknown||minor||have not tried||2012-03-19 07:45||2012-09-18 09:12|
|Summary||0000302: check_apt doesn't/shouldn't upgrade per default|
a) check_apt already doesn't upgrade per default:
The check_apt script's help says:
[Default] Perform an upgrade. If an optional OPTS argument is provided,
apt-get will be run with these command line options instead of the
default (-o 'Debug::NoLocking=true' -s -qq).
Note that you may be required to have root privileges if you do not use
the default options.
One should perhaps add a note, the (as far as I understood) this won't do anything (per default), even as root (!!!), given that the "-s" (simulate) option is set.
b) IMHO, the default should be to just check (i.e. the --no-upgrade option to check_apt).
Most people run check_apt as non-root anyway,.. and even if run as root, then (as noted above in (b)) nothing happens right now anyway.
|Tags||No tags attached.|
I would write the patches, if the ideas themselves are accepted.
This issue is loosely related to what I proposed just now in bug 0000303.
Regarding the (per default) simulated upgrade,... is there any advantage with doing this? I mean instead of just checking?
The issue as described above was actually invalid.
I corrected it and forwarded it to:
Please close the issue here.
|2012-03-19 07:45||calestyo||New Issue|
|2012-03-19 07:59||calestyo||Note Added: 0000385|
|2012-07-01 15:28||calestyo||Note Added: 0000499|
|2012-09-18 09:12||ageric||Status||new => closed|
|Mantis 1.1.7[^] Copyright © 2000 - 2008 Mantis Group|