Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786300 - net-misc/teamviewer-15.17.6-r1: daemon refuses to start on systemd
Summary: net-misc/teamviewer-15.17.6-r1: daemon refuses to start on systemd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-28 07:16 UTC by nvaert1986
Modified: 2021-06-01 08:52 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nvaert1986 2021-04-28 07:16:54 UTC
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
Comment 1 Loty Gero 2021-05-07 10:11:31 UTC
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
Comment 2 Anton Gubarkov 2021-05-26 13:46:35 UTC
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
Comment 3 Larry the Git Cow gentoo-dev 2021-06-01 08:52:06 UTC
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(+)