Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

rc-update show = Broken runlevel entry:[SOLVED]

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
ajnabi
Apprentice
Apprentice
Posts: 208
Joined: Fri May 21, 2004 1:41 am

rc-update show = Broken runlevel entry:[SOLVED]

  • Quote

Post by ajnabi » Sun Jul 16, 2006 4:18 pm

This all started out with my ipw2200 drivers not working. I reinstalled the drivers and related wifi emerges. Now I am having issues with the ipw2200 that I am seeing others are having on these forums as well as the following problem with rc-update. I have since upgraded my kernel hoping that would solve everything but no deal.

When I run "rc-update show" I get the following:

Code: Select all

# rc-update show
 * Broken runlevel entry: /etc/runlevels/boot/net.lo
 * Broken runlevel entry: /etc/runlevels/boot/urandom
 * Broken runlevel entry: /etc/runlevels/boot/modules
 * Broken runlevel entry: /etc/runlevels/boot/keymaps
 * Broken runlevel entry: /etc/runlevels/boot/hostname
 * Broken runlevel entry: /etc/runlevels/boot/rmnologin
 * Broken runlevel entry: /etc/runlevels/boot/checkfs
 * Broken runlevel entry: /etc/runlevels/boot/clock
 * Broken runlevel entry: /etc/runlevels/boot/checkroot
 * Broken runlevel entry: /etc/runlevels/boot/localmount
 * Broken runlevel entry: /etc/runlevels/boot/consolefont
 * Broken runlevel entry: /etc/runlevels/boot/bootmisc
 * Broken runlevel entry: /etc/runlevels/default/local
 * Broken runlevel entry: /etc/runlevels/default/netmount
 * Broken runlevel entry: /etc/runlevels/nonetwork/local
               acpid |      default
           alsasound | boot
...
             urandom | boot
          vixie-cron |      default
Kernel info:

Code: Select all

# uname -a
Linux f-pad 2.6.16-gentoo-r13 #1 Sun Jul 16 00:34:04 EDT 2006 i686 Intel(R) Pentium(R) M processor 1.50GHz GNU/Linux

Thanks in advance for any insights into what is going on here.

ajnabi
Last edited by ajnabi on Sun Jul 16, 2006 7:06 pm, edited 1 time in total.
Top
Beefrum
Apprentice
Apprentice
User avatar
Posts: 234
Joined: Tue May 23, 2006 2:46 pm
Contact:
Contact Beefrum
Website

  • Quote

Post by Beefrum » Sun Jul 16, 2006 4:51 pm

Happened as well. Was in a baselayout version. Removed by hand and reentered again.
Last edited by Beefrum on Sun Jul 23, 2006 6:26 pm, edited 1 time in total.
:? Give adaptive answers to unknown problems!
Top
ajnabi
Apprentice
Apprentice
Posts: 208
Joined: Fri May 21, 2004 1:41 am

  • Quote

Post by ajnabi » Sun Jul 16, 2006 7:06 pm

Beefrum wrote:Happened as well. Was in a baselayout version. Removed by hand and reentered again.
Thanks Beefrum!

That did it.

For those who might have similar problems and are new to Gentoo. Just run down the list and delete then re-add, to the appropriate runlevel, each broken entry.

Example:

Code: Select all

rc-update del net.lo boot
rc-update add net.lo boot
Top
noOneCares
n00b
n00b
Posts: 9
Joined: Sun May 28, 2006 12:50 pm

  • Quote

Post by noOneCares » Fri Jul 21, 2006 12:53 pm

if anyone else has this problem and doesn't want to do it all by himself, try

Code: Select all

for entry in `rc-update show| grep Broken|sed 's/entry: /\n/g'|grep "/etc" |sed 's/\/etc\/runlevels\///g'`; do runlevel=`echo $entry|sed 's/\//\n/g'|head -n1`; service=`echo $entry|sed 's/\//\n/g'|tail -n1`; echo "rc-update del $service $runlevel"; echo "rc-update add $service $runlevel"; done
the output should be a few rc-update del commands and the fitting rc-update add commands.
Check it! then you can edit the command to

Code: Select all

for entry in `rc-update show| grep Broken|sed 's/entry: /\n/g'|grep "/etc" |sed 's/\/etc\/runlevels\///g'`; do runlevel=`echo $entry|sed 's/\//\n/g'|head -n1`; service=`echo $entry|sed 's/\//\n/g'|tail -n1`; rc-update del $service $runlevel; rc-update add $service $runlevel; done
and it should do, at least it did for me ;)

USE AT YOUR OWN RISK.

greets
Top
C.M
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Fri Mar 14, 2003 8:46 am
Location: Göteborg - Sweden

  • Quote

Post by C.M » Wed Jul 26, 2006 9:46 am

Thanks noOneCares, that worked perfectly. :D
Top
tomasm
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Thu Dec 15, 2005 11:01 pm

  • Quote

Post by tomasm » Sat Aug 12, 2006 2:08 pm

Worked here as well, thanks. (Isn't bash great?)
Top
cdstealer
Guru
Guru
User avatar
Posts: 436
Joined: Sun Oct 30, 2005 4:56 pm
Location: Leeds
Contact:
Contact cdstealer
Website

  • Quote

Post by cdstealer » Sat Aug 19, 2006 6:03 am

Worked for me too... nice one :)
Top
alexb
n00b
n00b
Posts: 1
Joined: Sun Sep 03, 2006 1:53 pm

  • Quote

Post by alexb » Sun Sep 03, 2006 1:56 pm

works great!
Top
hanni_ali
n00b
n00b
Posts: 57
Joined: Thu Jun 16, 2005 6:47 pm
Location: UK, London
Contact:
Contact hanni_ali
Website

  • Quote

Post by hanni_ali » Wed Oct 04, 2006 1:25 pm

problem :?

simple combination for all problems

google,

finds solution in

gentoo forums

implement in bash

done;

:D
Top
trex_dk
n00b
n00b
Posts: 29
Joined: Thu Sep 29, 2005 12:57 pm

  • Quote

Post by trex_dk » Sat Dec 16, 2006 2:33 am

Nice job, works perfectly :)
Thx!
Top
bernd_b
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Tue Nov 25, 2003 9:01 am

  • Quote

Post by bernd_b » Sun Feb 18, 2007 1:16 am

Why not saying it again:

Thanks, it did the job for me too!
Top
zirkelad
n00b
n00b
Posts: 2
Joined: Mon Feb 12, 2007 7:43 pm

Generating Commands

  • Quote

Post by zirkelad » Fri Jul 13, 2007 2:21 pm

If you pipe the Broken Runlevel lines into this awk statment it will generate the necessary delete and add commands.

Code: Select all

awk -F '/' '/$/ {print "rc-update del " $5 " " $4 "\nrc-update add " $5 " " $4}'
Hope someone finds this helpful.
Top
randal1
Apprentice
Apprentice
User avatar
Posts: 225
Joined: Mon Oct 03, 2005 3:07 pm
Location: England

  • Quote

Post by randal1 » Wed Dec 19, 2007 10:05 pm

awesome, thanks! :)
Top
Post Reply

13 posts • Page 1 of 1

Return to “Other Things Gentoo”

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