Alexandre Aubin
b59ed4120b
Diagnose ssl libs installed from sury ( #1053 )
...
* Small fix / syntax improvement in apt conf regen hook
* Diagnose, report and add a tip if some ssl libs are installed from Sury (shouldnt happen with the new pinning strategy, but some user still encounter issues because of this because of legacy installs)
2020-09-16 16:21:52 +02:00
Alexandre Aubin
d2c0cc9240
Use php7.3 by default in CLI
2020-09-16 16:21:00 +02:00
Alexandre Aubin
bc7344b636
Use proper templating for dnsmasq conf
2020-08-31 16:41:31 +02:00
Alexandre Aubin
a23233ab0f
Add apt regenconf hook to manage sury pinning policy on all
2020-08-28 22:30:20 +02:00
Alexandre Aubin
8454f2ec12
Recursively enforce ownership for rspamd
2020-08-21 20:40:55 +02:00
Josué Tille
f22f64103a
Backup/restore also slapd.ldif
...
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef
slapd.conf is no more used, but ldap.conf need to be saved/restored
2020-07-27 19:26:18 +02:00
Alexandre Aubin
e28c618e67
Those single quotes were probably meant to be double quotes?
2020-07-27 19:26:18 +02:00
Alexandre Aubin
2bbff1d264
Factorize the actual slapd regeneration
2020-07-27 19:26:18 +02:00
Alexandre Aubin
a179e9107a
Misc comment improvements?
2020-07-27 19:26:18 +02:00
Josue-T
c0d3a361e3
Update data/hooks/conf_regen/06-slapd
...
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-07-27 19:26:18 +02:00
Josué Tille
e6a52f09bd
[fix] Clean old files
2020-07-27 19:26:18 +02:00
Josué Tille
9bb8c0437d
Rewrite slapd regen-conf for new config file
2020-07-27 19:26:18 +02:00
Alexandre Aubin
ca20eda9ca
[firewall] Let's not disable nftables that makes the script crash if it's not installed and we don't really need to disable it anyway since it's already configured to conflict
2020-07-27 19:26:18 +02:00
Alexandre Aubin
5914740957
[firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall
2020-07-27 19:26:18 +02:00
Alexandre Aubin
fa59ad35a9
[conf] Automatically disable/stop systemd-resolved that conflicts with dnsmasq on fresh setups ...
2020-07-27 19:23:07 +02:00
Alexandre Aubin
bc19bef59e
Workaround for custom backup/restore hook issue
2020-07-27 19:20:36 +02:00
Alexandre Aubin
6b72fc5fc5
It just make no sense to backup/restore the mysql password...
2020-07-27 19:20:36 +02:00
Alexandre Aubin
d435889776
Make sure to validate/upgrade that we don't have any active weak certificate used by nginx at the beginning of the buster migration, otherwise nginx will later miserably fail to start
2020-06-29 22:04:04 +02:00
Alexandre Aubin
ac9182d69f
Move redirect to /yunohost/admin to a separate nginx conf file to allow customizing it more easily
2020-06-25 21:42:46 +02:00
Alexandre Aubin
8f8be838b6
Enforce permissions on rspamd log directory
2020-06-21 19:57:51 +02:00
Alexandre Aubin
9d0c092481
Disable/skip ntp when inside a container
2020-06-05 02:50:51 +02:00
Alexandre Aubin
2d42480f7e
Make sure to propagate change in slapd systemd conf during initial install
2020-06-04 19:24:50 +02:00
Alexandre Aubin
ca89607d9d
Make sure to stop the old mysql and that mariadb is started
2020-06-03 23:38:59 +02:00
Alexandre Aubin
e24191ce64
Make sure mysql is an alias to mariadb
2020-06-02 17:00:52 +02:00
Alexandre Aubin
852cd14c4b
Force external resolution for reverse DNS dig
2020-06-02 16:48:19 +02:00
Alexandre Aubin
17eec25ed2
Buuuurn glances
2020-05-28 20:48:01 +02:00
Alexandre Aubin
8b169f138c
Detect dyndns-domains managed by yunohost and advice to use yunohost dyndns update --force
2020-05-26 00:32:53 +02:00
Alexandre Aubin
5a3b382fc9
Flag old etckeeper.conf as 'should not exist' in regenconf
2020-05-26 00:11:16 +02:00
Alexandre Aubin
dc2214953d
Bigger time window for auto diagnosis to avoid server overload
2020-05-25 00:22:28 +02:00
Kay0u
b6ced38314
Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into stretch-unstable
2020-05-22 21:05:23 +02:00
Kay0u
85f1802ec9
[fix] empty services.yml file
2020-05-22 21:05:19 +02:00
Alexandre Aubin
1f1b233839
Use a .get() here to avoid crashing if key doesn't exist
2020-05-22 13:28:38 +02:00
Julien Rabier
f0356782d5
fix v6 detection when using wg-quick
...
and probably other weird routing setups
2020-05-21 15:54:14 +00:00
Alexandre Aubin
1cd7ffea66
Report unknown status for services as just a warning
2020-05-16 00:21:01 +02:00
Alexandre Aubin
e140546092
Hmgn need to make sure to write this on a new line
2020-05-14 19:13:08 +02:00
Alexandre Aubin
e67dc79197
Add the damn short hostname to /etc/hosts automagically
2020-05-14 01:47:34 +02:00
Alexandre Aubin
429df8c43f
Ugh smaller treshold because people have exactly 500MB ...
2020-05-11 00:44:37 +02:00
Alexandre Aubin
c346f5f1df
This file sometimes has stupid \x00 inside ~.~
2020-05-09 22:08:49 +02:00
Alexandre Aubin
aecbb14aa4
Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job
2020-05-09 01:46:28 +02:00
Alexandre Aubin
23147161d6
Change warning/errors about swap as info instead ... add a tip about the fact that having swap on SD or SSD is dangerous
2020-05-08 23:56:23 +02:00
Alexandre Aubin
a799740afa
Move meltdown check to base system
2020-05-08 23:47:18 +02:00
Alexandre Aubin
ba709be534
Merge pull request #963 from YunoHost/enforce-permissions-in-etc-yunhost
...
[fix] Enforce permissions for stuff in /etc/yunohost/
2020-05-08 04:15:10 +02:00
Alexandre Aubin
25a1e56921
Misc tweak for disk usage diagnosis, some values were inconsistent / bad UX / ...
2020-05-03 00:17:01 +02:00
ljf
572feafc80
[fix] Remove point in reverse DNS
2020-04-30 20:06:43 +02:00
Alexandre Aubin
86810fb68a
Goddamit Aleks, check your damn code before release yo
2020-04-30 18:03:44 +02:00
Alexandre Aubin
ba27c2ad05
Merge pull request #964 from YunoHost/fix-reversednscheck
...
[fix] Reverse DNS check
2020-04-30 03:13:21 +02:00
ljf
8de8d0ad6f
[fix] Reverse DNS check
2020-04-30 02:44:51 +02:00
Alexandre Aubin
aaccb54775
Hmf, comparison return a warning if swap is exactly 512..
2020-04-30 02:40:22 +02:00
Alexandre Aubin
4f8aa5e338
Propagate route check to ip diagnoser as well :/
2020-04-30 02:38:27 +02:00