LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2006, 07:35 AM   #1
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Rep: Reputation: 30
runit problems


Hi,

I'm running Debian Sid on my laptop and in an attempt to cut down my 2min30 boot time i tried installing runit. As mentioned in this tread:
http://www.linuxquestions.org/questi...ighlight=runit

anyway. Me being me, i rebooted without paying much attention to the installation notes:
http://smarden.org/runit/replaceinit.html

now when I boot I get to runit stage 2 and this system hangs.
luckily I worked out how to login with the old init
Code:
Grub> kernel /boot/vmlinu.. init=/sbin/init.sysv
Grub> boot
....i didn't pay enough attention to this:

Quote:
Step 3: The getties
At least one getty must run in stage 2 so that you are able to login.
Choose a free tty, say tty5, where sysvinit is not running any getty
(edit /etc/inittab and kill -HUP 1 if needed),
and tell runsvdir about the getty-5 service:

# mkdir -p /var/service
# ln -s /etc/runit/getty-5 /var/service/

Start runit's stage 2 for testing:

# /etc/runit/2 &

And check that the getty is running.
Will the above be enough? or do i need to write a whole lot of scripts to help migrate services??

I feel lucky to have escaped so far with my newbie knowledge
 
Old 01-17-2006, 08:20 AM   #2
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
Hi, I'm using runit too in debian testing. I don't have your problem, but that's maybe because I did exactly what the documents said.

I do get a kernel panic when shutting down the computer. I should probably configure it and edit the old init scripts. But I don't really care to do it. I believe it's quite a mess to try changing init systems from the default of the distro you are using.

Maybe it's better for you to just stick with the default sysvinit.
 
Old 01-17-2006, 08:29 AM   #3
deroB
Member
 
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gunnix
Hi, I'm using runit too in debian testing. I don't have your problem, but that's maybe because I did exactly what the documents said.

I do get a kernel panic when shutting down the computer. I should probably configure it and edit the old init scripts. But I don't really care to do it. I believe it's quite a mess to try changing init systems from the default of the distro you are using.

Maybe it's better for you to just stick with the default sysvinit.
cheers

I think i'll stick with the old init...I much prefer apt-get upgrade to reinstalling

Did you get much of difference in boot times?
 
Old 01-17-2006, 02:40 PM   #4
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
No, actually it didn't. But I liked the fgetty that came with it... I was thinking of switching back to sysvinit though. Because I don't want to really learn runit, and at least I know how sysvinit works. And runit is giving me some shutdown problems lately.

I'm sure it only gives me problems because I didn't configure it right, I had probably had to edit all init scripts etc. But that's a bit over my head. I certainly don't like to get a non bootable system because of it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
xdm with runit? behmjose Linux From Scratch 0 05-22-2004 03:19 PM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration