Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747802 - app-laptop/tuxedo-control-center-bin : Missing openrc init-file
Summary: app-laptop/tuxedo-control-center-bin : Missing openrc init-file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-11 12:08 UTC by J. Roeleveld
Modified: 2021-11-28 01:20 UTC (History)
4 users (show)

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


Attachments
tccd-init file which works on my laptop (tccd,369 bytes, text/plain)
2020-10-11 12:09 UTC, J. Roeleveld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J. Roeleveld 2020-10-11 12:08:56 UTC
app-laptop/tuxedo-control-center-bin only has a systemd unit-file.
It is missing an init-file for OpenRC, please provide one with the ebuild.

The attached file works on my laptop.

Reproducible: Always

Steps to Reproduce:
1. emerge app-laptop/tuxedo-control-center-bin
2. /etc/init.d/tccd start

Actual Results:  
bash: /etc/init.d/tccd: No such file or directory

Expected Results:  
"tccd" running.

The provided unit-file can easily be converted to an openrc init-file using http://openrc.run
(the https-version is something else)
Comment 1 J. Roeleveld 2020-10-11 12:09:33 UTC
Created attachment 664597 [details]
tccd-init file which works on my laptop
Comment 2 Alexander Weber 2020-11-11 07:53:41 UTC
Tested your init file. The /etc/init.d/tccd restart does not work.

My script proposal is:

#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	need localmount
}

start(){
	start-stop-daemon -b --start /opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/service/tccd -- --start
}

stop(){
	/opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/service/tccd --stop
}
Comment 3 Larry the Git Cow gentoo-dev 2021-11-27 21:23:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=703ca218b4f1e0b9e22bf12c4cd8f41fab60508c

commit 703ca218b4f1e0b9e22bf12c4cd8f41fab60508c
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2021-11-27 21:21:38 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2021-11-27 21:23:05 +0000

    app-laptop/tuxedo-control-center-bin: added openrc script
    
    Closes: https://bugs.gentoo.org/747802
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 .../tuxedo-control-center-bin/files/tccd.initd     | 25 ++++++++++++++++++++++
 ...d => tuxedo-control-center-bin-1.1.0-r1.ebuild} |  2 ++
 2 files changed, 27 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-11-28 01:20:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334e359af34fb31503a6392f9757b2ce1542c909

commit 334e359af34fb31503a6392f9757b2ce1542c909
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-28 01:20:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-28 01:20:44 +0000

    app-laptop/tuxedo-control-center-bin: [QA] fix installation of init script
    
    Bug: https://bugs.gentoo.org/747802
    Fixes: 703ca218b4f1e0b9e22bf12c4cd8f41fab60508c
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)