Jérémy Lecour
b5847c4282
improve README introduction
2019-02-19 10:04:36 +01:00
Benoît S.
9be91392f3
Merge branch 'IS_EVOLIX_USER-do-not-use-getent' of evolix/evocheck into master
2019-02-14 11:19:32 +01:00
Benoît S.
2fe9d4ea0e
Merge branch 'IS_BACKPORTSCONF-really-quiet-grep' of evolix/evocheck into master
2019-02-14 11:19:19 +01:00
Benoît S.
7ccf640e4c
Merge branch 'IS_DUPLICATE_FS_LABEL-exclude-EFI_SYSPART' of evolix/evocheck into master
2019-02-14 11:18:57 +01:00
Benoît S.
b7c3b3fadc
Merge branch 'IS_DUPLICATE_FS_LABEL-add-verbose-mode' of evolix/evocheck into master
2019-02-14 11:18:41 +01:00
Benoît S.
de2a332599
Merge branch '42-IS_NOTUPGRADED-unary-operator-expected' of evolix/evocheck into master
2019-02-14 11:18:15 +01:00
Benoît S.
38c8c75248
IS_EVOLIX_USER: Do not use getent
...
Why? Because of LDAP. It is normal to have an evolix user in LDAP but not in
`/etc/passwd`.
2019-02-12 12:48:28 +01:00
Benoît S.
1aad813663
IS_BACKPORTSCONF: Quiet grep and better readability
...
Added `-s` to grep to not have error messages like:
`grep: /etc/apt/preferences.d/*: No such file or directory`
And don't use `2>/dev/null` as there is `-s` grep option!
Added if condition for better readability of the code.
2019-02-12 12:38:11 +01:00
Benoît S.
77afe63bc5
IS_DUPLICATE_FS_LABEL: Exclude EFI_SYSPART
...
EFI_SYSPART is (and should be) on all disks when using soft raid.
2019-02-12 12:10:42 +01:00
Benoît S.
a099ba5f40
IS_DUPLICATE_FS_LABEL: Add verbose mode
2019-02-12 12:03:59 +01:00
Benoît S.
1a3e1615a8
Fix #42 By using better logic
...
If the system hasn't received any upgrade, check the install date.
2019-02-12 11:48:56 +01:00
Benoît S.
a9d26a49b4
Merge branch 'verbose-islistchangesconf' of evolix/evocheck into master
2019-02-01 14:41:16 +01:00
Jérémy Lecour
f3b5e8f9b7
echo needs to be there only once
2019-01-30 18:06:28 +01:00
Jérémy Lecour
83f4b01789
Add verbose message for IS_LISTCHANGESCONF
2019-01-30 17:49:57 +01:00
Victor Laborie
fd5b9cd86c
Merge branch 'IS_EVOMAINTENANCEUSERS-verbose-mode' of evolix/evocheck into master
2019-01-25 11:32:21 +01:00
Victor Laborie
be5d1978e5
Merge branch 'IS_OLD_HOME_DIR-newversion' of evolix/evocheck into master
2019-01-25 11:28:32 +01:00
Benoît S.
fbce70f906
New version of IS_EVOMAINTENANCEUSERS
...
Verbose mode added
Break added
Better readability
2019-01-25 11:11:16 +01:00
Benoît S.
d1317eb087
This new version exclude .bak and .date directories.
2019-01-25 10:40:51 +01:00
Benoît S.
eeef28176e
Merge branch '17-IS_MYSQLUTILS-with-oracle-MySQL5.7' of evolix/evocheck into master
2019-01-18 15:25:06 +01:00
Benoît S.
5fc78550f3
Better readability and verbose messages
2019-01-18 15:14:40 +01:00
Benoît S.
fd11189400
Merge branch 'master' into 17-IS_MYSQLUTILS-with-oracle-MySQL5.7
2019-01-18 14:50:12 +01:00
Benoît S.
0a3ae1ceca
Merge branch '47-is_notupgraded-var-log-evolinux-00_prepare_system-log-is-deprecated'
2019-01-17 15:30:55 +01:00
Victor Laborie
7bc903a315
Merge branch 'verbose-mode' of evolix/evocheck into master
2019-01-17 14:34:19 +01:00
Victor LABORIE
671bdbd92b
Rewrite IS_OLD_HOME_DIR with find (fix output order in verbose mode)
2019-01-17 11:55:51 +01:00
Victor LABORIE
6bfe6eb9a7
Fix odd return line in verbose mode
2019-01-17 11:02:44 +01:00
Victor LABORIE
3cfa884a6f
Add a verbose function and use it for some checks ( Fix #30 )
2019-01-16 17:10:51 +01:00
Victor Laborie
c15f959c22
Merge branch '25-Detect-old-home-dir' of evolix/evocheck into master
2019-01-16 16:48:23 +01:00
Victor LABORIE
7a36db7eeb
Fix shell error on vagrant provision and rm old config
2019-01-16 16:14:58 +01:00
Benoît S.
d027b521a6
Missing underscore
2019-01-16 15:58:46 +01:00
Benoît S.
a4c3916545
Fix issue #17
...
- `MYSQL_ADMIN` is now a variable because some installation doesn't have `mysqladmin`
user.
- `/usr/bin/mytop` or `/usr/local/bin/mytop` are checked.
2019-01-16 15:20:03 +01:00
Benoît S.
5a6234df17
Merge branch '14-IS_MONGO_BACKUP-add-a-break' of evolix/evocheck into master
2019-01-16 14:26:31 +01:00
Benoît S.
d338fc7e9b
Fix #14 by adding a break
...
We need to break to display only one error message.
2019-01-16 14:24:35 +01:00
Benoît S.
48561592ee
Replace and condition by or condition
...
Check install_date or last_upgrade, because if you never upgraded you will
never match the limit
2019-01-16 14:12:12 +01:00
Benoît S.
288d26366a
Implement #25
...
We loop through directories in /home and see ig the owner has a resolvable ID.
2019-01-16 13:47:49 +01:00
Victor LABORIE
0f95043daf
Add testing and licence documentation to README.md
2019-01-14 18:04:36 +01:00
Victor Laborie
e6e0b8c216
Merge branch 'license-readme-conformity' of evolix/evocheck into master
2018-12-26 15:28:14 +01:00
Patrick Marchand
bf19fc1064
Added a small description to the README.md
2018-12-24 11:30:00 -05:00
Victor LABORIE
96336afca5
Detect comment for IS_BACKPORTSCONF ( Fix #28 )
2018-12-21 15:52:17 +01:00
Victor LABORIE
db1d4e4aae
Add a break to IS_PRIVKEYWOLRDREADABLE ( Fix #19 )
2018-12-21 15:29:20 +01:00
Victor LABORIE
5dfc941172
Add a Vagrantfile for testing
2018-12-21 15:23:17 +01:00
Victor LABORIE
7179cfefc8
Remove "No such file or directory" error on IS_NOTUPGRADED check
2018-12-21 15:22:30 +01:00
Benoît S.
7ea1bc444d
Add LICENSE: GNU GENERAL PUBLIC LICENSE v3
2018-12-20 11:14:34 +01:00
Victor LABORIE
22d835b733
Follow symlink for IS_PRIVKEYWOLRDREADABLE check
2018-12-19 16:18:50 +01:00
Benoît S.
956877442a
WIP: Removes /var/log/evolinux/00_prepare_system.log
...
TODO: Workaround in special case when the server was never installed
TODO: be sure that the final check with and logic is OK.
2018-09-14 15:52:08 +02:00
Jérémy Lecour
ffecb8a7c4
grep regular expressions must be quoted
2018-08-17 15:26:55 +02:00
Jérémy Lecour
87d98dc8d0
Evocheck detects installed packages even if they are "held" by APT.
2018-08-17 14:57:25 +02:00
Gregory Colpart
38beacc87b
Improve IS_EVOMAINTENANCE_FW : lower rules number to 2
...
Closes #42
2018-07-27 01:53:27 +02:00
Benoît S.
cd38bbaab4
IS_EVOACME_LIVELINKS: Add a condition when there is no certificates
2018-07-05 10:19:43 +02:00
Benoît S.
08b5ae0819
Fix: IS_APACHE_CONFENABLED only when apache2.conf exists.
2018-07-02 15:41:15 +02:00
Benoît S.
7ddb75fb5b
Fix: IS_APACHE_CONFENABLED is only for Jessie or Stretch
2018-06-29 14:17:05 +02:00