nixpkgs/nixos/modules/services/monitoring
github-actions[bot] e882bcae43
[Backport release-21.05] teamviewer: fix #96633, #44307 and #97148 + 15.15.5 -> 15.18.5 -> 15.22.3 (#141439)
* teamviewer: fix issue #96633

Fix teamviewer's breakage post 15.5.3 -> 15.15.5.

Teamviewer client was no longer able to connect to its backing
server as it now uses dbus to do so. Following changes were
required:

 -  add missing dbus and polkit service/policy files to package.
 -  add missing dbus lib to `LD_LIBRARY_PATH`.

Changes to the nixos module as a separate changeset.

(cherry picked from commit 506966d15658d8a411f364f47bbc0f3f9366dba3)

* nixos/teamviewer: fix issue #96633

Add teamviewer package as a dbus package now that the
client / server communication depends on dbus.

(cherry picked from commit 200e959995fa8088b5722bc8255109c03f2a4f78)

* nixos/teamviewer: fix issue #44307

Move to a forefront launch of the daemon. Doing so allowed us
to move the service from forking to simple to avoid the
missing pid  error log.

Also:

 -  Make the dbus dependency explicit.

(cherry picked from commit 953bbc0d7373102cf89625dc3bb7ab8e91134069)

* teamviewer: 15.15.5 -> 15.18.5

Upgrading to the last version still using qt5.14. Later version
will be using qt5.15 which is not in 21.05 stable branch.

This fixes us the crash observed in 15.15.5 when stopping
the service.

(cherry picked from commit db889eb9137a859eedfc5b402de84271c0659662)

* teamviewer: refactor executable wrapping

This centralizes `PATH` and `LD_LIBRARY_PATH`, avoid multiple
layers of wrappers.

Refactor as suggested by @Artturin in PR provided patch:
<https://github.com/NixOS/nixpkgs/pull/140076#issuecomment-934770391>.

(cherry picked from commit c55bc5bfd3377d54f5b6153d09c033cceadfcc05)

* teamviewer: fix 97148 (busybox installed issue)

Simply add `coreutils` as a runtime dependency which will
prevent teamviewer from using incomplete busybox implementation
of expected gnu binaries.

As suggested by @Artturin in PR comment:
<https://github.com/NixOS/nixpkgs/pull/140076#issuecomment-934770391>.

(cherry picked from commit 4fb188e1d190f2e08053dba3e2e95fff1e29183a)

* teamviewer: 15.18.5 -> 15.22.3

Required move from libsForQt514 -> libsForQt515.

Note that this changset won't be backportable to 21.05.

(cherry picked from commit 975ab7f3a02ac0232afe7920a8f7d78fc22d5ccb)

Co-authored-by: Raymond Gauthier <jraygauthier@gmail.com>
2021-10-13 05:17:24 +03:00
..
dd-agent nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
prometheus nixos/mail-exporter: add note about rspamd marking probe mails as spam 2021-06-04 14:14:35 +00:00
alerta.nix alerta: move to all-packages.nix and use buildPythonApplication 2021-02-28 12:25:52 +01:00
apcupsd.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
arbtt.nix nixos/xsession: use graphical systemd user target 2017-05-29 15:05:28 +02:00
bosun.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
cadvisor.nix nixos/modules: remove trailing whitespace 2020-08-07 14:45:39 +01:00
collectd.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
das_watchdog.nix das_watchdog: fix service type 2017-03-09 16:14:17 +01:00
datadog-agent.nix iproute: deprecate alias 2021-04-04 01:43:46 +02:00
do-agent.nix nixos/do-agent: use .service from upstream 2020-07-23 19:30:01 +08:00
fusion-inventory.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
grafana-image-renderer.nix nixos/grafana-image-renderer: typo fix 2021-01-18 18:44:58 +01:00
grafana-reporter.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
grafana.nix grafana: add google oauth2 config 2021-04-13 12:33:04 +00:00
graphite.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
hdaps.nix nixos/hdaps: automatically enable the hdapsd kernel module (#56309) 2019-03-08 09:50:02 +02:00
heapster.nix nixos/heapster: fix username 2020-02-10 17:55:46 +01:00
incron.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
kapacitor.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
loki.nix nixos/loki: mergeable configuration 2020-11-10 10:49:25 +01:00
longview.nix longview service: don't write passwords to nix store 2017-03-26 23:06:42 +01:00
mackerel-agent.nix nixos/mackerel-agent: init 2020-11-07 13:37:33 +09:00
monit.nix nixos/monit: add ryantm as maintainer 2020-09-18 22:09:22 -07:00
munin.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
nagios.nix nixos/nagios: use the correct option to restart on config change 2021-04-24 17:12:51 +02:00
netdata.nix nixos/netdata: change wrappers permissions 2021-05-10 10:35:51 +03:00
riemann-dash.nix nixos/riemann-dash: replace deprecated usage of PermissionsStartOnly 2019-05-25 13:48:41 -04:00
riemann-tools.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
riemann.nix nixos/riemann: refactor config 2018-09-07 09:46:46 +01:00
scollector.nix iproute: deprecate alias 2021-04-04 01:43:46 +02:00
smartd.nix utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
statsd.nix nixos/statsd: fix username 2020-02-10 17:56:35 +01:00
sysstat.nix nixos/sysstat: provide a type for each module option 2019-12-30 17:10:53 +01:00
teamviewer.nix [Backport release-21.05] teamviewer: fix #96633, #44307 and #97148 + 15.15.5 -> 15.18.5 -> 15.22.3 (#141439) 2021-10-13 05:17:24 +03:00
telegraf.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
thanos.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
tuptime.nix nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
unifi-poller.nix nixos/unifi-poller: init unifi-poller service 2020-09-06 17:47:52 +02:00
ups.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
uptime.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
vnstat.nix nixos/vnstat: homedir -> statedir 2021-04-24 00:31:58 +02:00
zabbix-agent.nix zabbixAgent: add bash to $PATH 2021-07-01 03:11:24 +00:00
zabbix-proxy.nix nixos/zabbix: use proper character set and collation for mysql database 2020-08-18 10:30:27 -04:00
zabbix-server.nix nixos/zabbix: use proper character set and collation for mysql database 2020-08-18 10:30:27 -04:00