Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

rc-update & bashcomp

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
pablo_supertux
Advocate
Advocate
User avatar
Posts: 2974
Joined: Sun Jan 25, 2004 1:58 pm
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

rc-update & bashcomp

  • Quote

Post by pablo_supertux » Sun Jul 08, 2018 7:18 pm

It's been a while since the last time I had to use rc-update and today I was surprised that the bash completion on update-rc did not work.

I came across this post https://forums.gentoo.org/viewtopic-t-1 ... ed9af063e2 where you can see that there are these files in the gentoo-bashcomp package:

Code: Select all

/usr/share/bash-completion/completions/rc
/usr/share/bash-completion/completions/rc-service
/usr/share/bash-completion/completions/rc-status
/usr/share/bash-completion/completions/rc-update 
If I execute equery f gentoo-bashcomp, I cannot see them in the list. After a couple of google searches with similar keywords, I found this commit: https://gitweb.gentoo.org/proj/gentoo-b ... &context=9
Remove OpenRC completions since they are provided upstream
A equery files app-shells/bash-completion nor equery files sys-apps/openrc doesn't show me any of these files, so which package is "upstream"?

So where are these bash compile files?
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Jul 08, 2018 7:31 pm

In next version of openrc (>=0.35.5) the files are included

Code: Select all

$ ls /var/tmp/portage/sys-apps/openrc-0.35.5/work/openrc-0.35.5/bash-completion/
Makefile  openrc  openrc-service-script  rc-service  rc-status  rc-update
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
pablo_supertux
Advocate
Advocate
User avatar
Posts: 2974
Joined: Sun Jan 25, 2004 1:58 pm
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

  • Quote

Post by pablo_supertux » Sun Jul 08, 2018 7:57 pm

@fedeliallalinea thanks for the info
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Sun Jul 08, 2018 9:09 pm

Or just pull them out of the 2014 tar file and put them in the completions directory, until they get their act together. ;)


Edit to add: Although truth to tell, I don't think I ever used bash completions for any rc* related stuff.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
pablo_supertux
Advocate
Advocate
User avatar
Posts: 2974
Joined: Sun Jan 25, 2004 1:58 pm
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

  • Quote

Post by pablo_supertux » Mon Jul 09, 2018 12:10 am

Anon-E-moose wrote:Or just pull them out of the 2014 tar file and put them in the completions directory, until they get their act together. ;)
I did something like that. I've went to the parent commit, download the repo as tar.gz and extracted the files from there.
Anon-E-moose wrote: Edit to add: Although truth to tell, I don't think I ever used bash completions for any rc* related stuff.
really? At least with my configuration, portage does not put services directly in the default runlevel, I always have to execute rc-update myself.
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic