Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628706 - net-libs/tox wrong syntax in tox-bootstrapd.service
Summary: net-libs/tox wrong syntax in tox-bootstrapd.service
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Zetok
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 11:19 UTC by Radjah
Modified: 2017-10-27 23:03 UTC (History)
2 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 Radjah 2017-08-23 11:19:50 UTC
tox-bootstrapd does not start via systemd unit.

Now:
ExecStart=/usr/bin/tox-bootstrapd /etc/tox-bootstrapd.conf

Correct:
ExecStart=/usr/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf

Reproducible: Always

Steps to Reproduce:
1. sudo systemctl start tox-bootstrapd.service
2. sudo systemctl status tox-bootstrapd.service
Actual Results:  
systemd[1]: Started Tox DHT Bootstrap Daemon.
tox-bootstrapd[20167]: Error: The required --config option wasn't specified
systemd[1]: tox-bootstrapd.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: tox-bootstrapd.service: Unit entered failed state.
systemd[1]: tox-bootstrapd.service: Failed with result 'exit-code'.

Expected Results:  
systemd[1]: Started Tox DHT Bootstrap Daemon.
tox-bootstrapd[20195]: Set MOTD successfully.
tox-bootstrapd[20195]: Keys are managed successfully.
tox-bootstrapd[20195]: Initialized Tox TCP server successfully.
[skipped]
tox-bootstrapd[20195]: List of bootstrap nodes read successfully.
tox-bootstrapd[20195]: Public Key: *************
tox-bootstrapd[20195]: Initialized LAN discovery successfully.
tox-bootstrapd[20195]: Connected to another bootstrap node successfully.

Related bug #622344
Comment 1 Jonas Stein gentoo-dev 2017-08-25 19:53:38 UTC
Thank you for the report. Does the problem exist in all versions?
Comment 2 Radjah 2017-08-26 20:09:41 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for the report. Does the problem exist in all versions?

Yes.

File "net-libs/tox/files/tox-bootstrapd.service" is used in all ebuilds.
Comment 3 Radjah 2017-08-26 20:16:04 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for the report. Does the problem exist in all versions?

Specifying the configuration file with the "--config" option was from earlier versions.
Comment 4 Larry the Git Cow gentoo-dev 2017-10-27 23:03:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a84eca3286f41c523a7aeeeaae35dcf9f40a9ca

commit 0a84eca3286f41c523a7aeeeaae35dcf9f40a9ca
Author:     Pavel Frolov <tigrashik@gmail.com>
AuthorDate: 2017-09-09 17:11:51 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-10-27 23:00:32 +0000

    net-libs/tox: fix init scripts syntax.
    
    Closes: https://bugs.gentoo.org/628706
    Closes: https://bugs.gentoo.org/622344
    Closes: https://github.com/gentoo/gentoo/pull/5674

 net-libs/tox/files/initd                  | 2 +-
 net-libs/tox/files/tox-bootstrapd.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)