You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* improved testing template in HACKING.md
* improved testing template layout in HACKING.md
Adjusted the guideline before the template
Corrected some grammar errors
* Added instructions to downgrade package in .deb based distros
* Added a check for man auter.conf
* minor fixes as per @LukeHandle
auter --status # prints "auter is currently enabled and not running"
10
10
auter --help # shows help message
11
11
auter --version # prints "auter VERSIONNUMBER"
12
-
man auter # check the contents of the man page
12
+
man auter # check the contents of the man page reflect the relevant changes
13
+
man auter.conf # if relevant, check the contents of the man page reflect the changes
13
14
```
14
15
15
-
If you don't have any updates available do this:
16
+
If you don't have any updates available, try downgrade a package. Normally openssl has multiple versions available. If multiple packages are not available in the base repo try enable one of the archive/vault repos:
16
17
18
+
For RPM based distros try:
17
19
```sh
18
-
yum install zsh
19
-
yum downgrade zsh
20
+
yum --showduplicates list curl
21
+
yum downgrade curl libcurl
22
+
```
23
+
For deb based distros try (Note: You may need to also downgrade dependencies):
24
+
```
25
+
# This will give you a list of packages that have multiple versions available in the repos:
- __[ pass/fail ]__ post-reboot scripts ran successfully
292
+
- __[ pass/fail ]__ output from auter also mailed to the root user on CentOS, output logged to syslog on Fedora
293
+
Output from logs:
294
+
```
295
+
296
+
```
297
+
#### new functionality testing
298
+
### Config settings
299
+
1) `egrep -v "^$|^#" /etc/auter/auter.conf`
300
+
```
47
301
48
-
AUTOREBOOT="no"
49
-
ONLYINSTALLFROMPREP="yes"
50
-
PREDOWNLOADUPDATES=yes
51
-
52
-
### <OS test version>
53
-
54
-
#### auter status
55
-
56
-
[ pass/fail ] auter --status
57
-
- Check: /var/lib/auter/enabled exists
58
-
59
-
[ pass/fail ] auter --disable
60
-
- Check: /var/lib/auter/enabled does not exist
61
-
62
-
[ pass/fail ] auter --enable
63
-
- Check: /var/lib/auter/enabled exists
64
-
65
-
[ pass/fail ] auter --help
66
-
- Check: same output when running 'auter' without arguments
67
-
68
-
[ pass/fail ] auter --version
69
-
- Check: prints 'auter VERSION'
70
-
71
-
#### update manually
72
-
73
-
[ pass/fail ] auter --prep
74
-
- Check: prints "INFO: Running with: ./auter --prep Updates downloaded" to stdout
75
-
- Check: /var/lib/auter/last-prep-default contains update info
76
-
- Check: updates downloaded to /var/cache/auter/default
77
-
- Check: pre/post prep scripts ran successfully with messages logged to syslog
78
-
79
-
[ pass/fail ] auter --apply
80
-
- Check: prints "INFO: Running with: /usr/bin/auter --apply; Applying updates; Updates complete, you may need to reboot for some updates to take effect" to stdout
81
-
- Check: expected updates were applied using 'yum history info' or 'dnf history info'
82
-
- Check: /var/lib/auter/last-update-default contains update info
83
-
- Check: no upates available after running
84
-
- Check: pre/post apply scripts ran successfully, messages logged to syslog
85
-
- Check: no mail is sent to the root user with the stdout from auter
86
-
87
-
[ pass/fail ] auter --reboot
88
-
- Check: reboot scheduled in 2 minutes time
89
-
- Check: prints "INFO: Running with: ./auter --reboot; Rebooting server" followed by shutdown message to stdout
90
-
- Check: 5 minutes after reboot is complete pre/post reboot scripts ran successfully with messages logged to syslog
91
-
92
-
#### updates via cron
93
-
94
-
[ pass/fail ] auter --prep --stdout
95
-
- Check: updates downloaded to /var/cache/auter/default
96
-
- Check: pre/post prep scripts ran successfully, messages logged to syslog
97
-
- Check: output from auter also mailed to root user on CentOS boxes, output logged to syslog on Fedora systems
98
-
99
-
[ pass/fail ] auter --apply --stdout
100
-
- Check: no updates available after running
101
-
- Check: pre/post scripts ran successfully with messages logged to syslog
102
-
- Check: output from auter also mailed to root user on CentOS boxes, output logged to syslog on Fedora systems
103
-
104
-
[ pass/fail ] auter --reboot --stdout
105
-
- Check: server rebooted after 2 minutes
106
-
- Check: pre/post scripts ran successfully
107
-
- Check: output from auter also mailed to the root user on CentOS, output logged to syslog on Fedora
0 commit comments