Will openrc support RC_DOWN_INTERFACE again? Thanks. Reproducible: Always
I've added a patch to OpenRC git repo that allows ifdown_eth0=NO to stop the interface from being downed. sysvinit will need a patch to stop doing this by default OR make it toggleable somehow. Looking at the BSD's, their halt procedures don't actually touch the interface and as the init scripts do, it's probably safe just to remove the -i option.
Looks like this is long term bug, but I need to be able to reboot my guest vserver today. What would be a quick fix for it?.. Currently, it fails with the follow message: bash# reboot WARNING: could not determine runlevel - doing soft reboot (it's better to use shutdown instead of reboot from the command line) Broadcast message from root (pts/2) (Sat Jun 21 08:56:07 2008): The system is going down for reboot NOW! shutdown: /dev/initctl: No such file or directory init: /dev/initctl: No such file or directory
I don't see what that has todo with this bug. Also, you should not use reboot directly - instead use shutdown shutdown -r now Is what you want.
(In reply to comment #3) > shutdown -r now > Is what you want. No, still doesn't work. I filed a separate bug #231362 report Thank you.
(In reply to comment #1) > I've added a patch to OpenRC git repo that allows ifdown_eth0=NO to stop the > interface from being downed. > > sysvinit will need a patch to stop doing this by default OR make it toggleable > somehow. Looking at the BSD's, their halt procedures don't actually touch the > interface and as the init scripts do, it's probably safe just to remove the -i > option. > Will this feature be included in the next openrc release?
It's already in OpenRC-0.2.5, which is in portage
(In reply to comment #6) > It's already in OpenRC-0.2.5, which is in portage > so if I put ifdown_eth0=NO in /etc/rc.conf it will work?
From OpenRC's perspective, yes. sysvinit may down the interface though - that may still need a patch.
So this bug will stay open until sysvinit is patched? Thanks for the reply.
(In reply to comment #6) > It's already in OpenRC-0.2.5, which is in portage > Oh. I didn't notice it had moved to /etc/conf.d/net. Thanks.
Fixed in 0.3.0.
(In reply to comment #11) > Fixed in 0.3.0. > Just upgraded to 0.3.0 but it didn't update /etc/rc.conf. Is it still called rc_down_interface? Also why wasn't it added when I upgraded?
(In reply to comment #12) > (In reply to comment #11) > > Fixed in 0.3.0. > > > > Just upgraded to 0.3.0 but it didn't update /etc/rc.conf. Is it still called > rc_down_interface? Also why wasn't it added when I upgraded? > Rather it did update the file but it did not add the rc_down_interface variable.
(In reply to comment #13) > (In reply to comment #12) > > (In reply to comment #11) > > > Fixed in 0.3.0. > > > > > > > Just upgraded to 0.3.0 but it didn't update /etc/rc.conf. Is it still called > > rc_down_interface? Also why wasn't it added when I upgraded? > > > > Rather it did update the file but it did not add the rc_down_interface > variable. > Sorry, wasn't paying a attention. Why isn't ifdown_eth0=NO added as an option to /etc/rc.conf?
(In reply to comment #14) > (In reply to comment #13) > > (In reply to comment #12) > > > (In reply to comment #11) > > > > Fixed in 0.3.0. > > > > > > > > > > Just upgraded to 0.3.0 but it didn't update /etc/rc.conf. Is it still called > > > rc_down_interface? Also why wasn't it added when I upgraded? > > > > > > > Rather it did update the file but it did not add the rc_down_interface > > variable. > > > > Sorry, wasn't paying a attention. Why isn't ifdown_eth0=NO added as an option > to /etc/rc.conf? > NM, sorry for the useless posts since this was moved to /etc/conf.d/net.