Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 594646 - app-shells/gentoo-bashcomp does not complete /etc/init.d/* scripts based on /sbin/openrc-run
Summary: app-shells/gentoo-bashcomp does not complete /etc/init.d/* scripts based on /...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-09-21 16:19 UTC by Andrew A. Sabitov
Modified: 2024-06-29 06:25 UTC (History)
4 users (show)

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


Attachments
A patch to add suport for /sbin/openrc-run scripts (gentoo-style-init.patch,707 bytes, patch)
2016-09-21 16:19 UTC, Andrew A. Sabitov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew A. Sabitov 2016-09-21 16:19:21 UTC
Created attachment 447048 [details, diff]
A patch to add suport for /sbin/openrc-run scripts

I found that version 20140911 does not support new /etc/init.d scripts, i.e. php-fpm. 

The reason is in 15th line, that checks runscript magic seq. only, not openrc-run.
Comment 1 Christophe PEREZ 2018-07-06 20:51:08 UTC
Same problem here after gentoo-bashcomp update. No more rc-service completion anymore with openrc.
Comment 2 Pacho Ramos gentoo-dev 2018-11-09 08:34:21 UTC
supposedly bash comp files are now provided by openrc
https://cgit.gentoo.org/proj/gentoo-bashcomp.git/commit/?id=41d0608e51e5fe3b5034de9ae3700c2490380e2e
Comment 3 Jernej Jakob 2022-06-08 10:14:20 UTC
sys-apps/openrc provides its own bash completion scripts. They work if you invoke the service scripts through 'rc-service'. There is no completion if you invoke the service scripts directly as e.g. '/etc/init.d/foo-service'.