After uppgrading to net-misc/teamviewer-15.17.6-r1 the TeamViewer daemon refuses to start. /opt/teamviewer15/tv_bin # systemctl start teamviewerd Job for teamviewerd.service failed because the control process exited with error code. See "systemctl status teamviewerd.service" and "journalctl -xe" for details. systemd[21571]: teamviewerd.service: Failed at step EXEC spawning /opt/tv_bin/teamviewerd: No such file or directory Subject: Process /opt/tv_bin/teamviewerd could not be executed Defined-By: systemd Support: https://gentoo.org/support/ The process /opt/tv_bin/teamviewerd could not be executed and failed. The problem is that the files got extracted to the wrong path or the systemd service file is pointing to the wrong location. Depending on how you look at it . Reproducible: Always Steps to Reproduce: 1. Upgrade TeamViwer to net-misc/teamviewer-15.17.6-r1 2. Try starting the TeamViewer daemon (teamviewerd using systemctl start teamviewerd.service 3. Actual Results: The teamviewer deamon does not start Expected Results: A started teamviewer daemon I'm not sure whether this occurs on a OpenRC based installation, but this problem does occur on a systemd installation. I've been able to work aroundit by manually starting the daemon using ./opt/teamviewer15/tv_bin/teamviewerd so for me it's not a critical bug, but I think it's one that should be fixed
systemctl edit teamviewerd.service ### Anything between here and the comment below will become the new contents of the file [Service] ExecStart = ExecStart = /opt/teamviewer15/tv_bin/teamviewerd -d ### Lines below this comment will be discarded
The systemd unit file must be patched: [Unit] Description = TeamViewer remote control daemon After = network.target network-online.target dbus.service Wants = network-online.target Requires = dbus.service [Service] Type = forking PIDFile = /var/run/teamviewerd.pid -ExecStart = /opt//tv_bin/teamviewerd -d +ExecStart = /opt/teamviewer15/tv_bin/teamviewerd -d Restart = on-abort StartLimitInterval = 60 StartLimitBurst = 10 [Install] WantedBy = multi-user.target
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c46d0754582a150d9b7c4a6732c5078f625d0c50 commit c46d0754582a150d9b7c4a6732c5078f625d0c50 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-06-01 08:38:01 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-06-01 08:52:00 +0000 net-misc/teamviewer: bump to v15.18.5 Closes: https://bugs.gentoo.org/786300 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-misc/teamviewer/Manifest | 2 + net-misc/teamviewer/teamviewer-15.18.5.ebuild | 139 ++++++++++++++++++++++++++ 2 files changed, 141 insertions(+)