Bug 7700

Summary: 3_a1: a reboot command in rc.local will hang the system
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: bittwister2, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: systemd-193-2.mga3.src.rpm CVE:
Status comment:

Description Bit Twister 2012-10-04 01:35:52 CEST
Description of problem:
I added code to test if proper nic was assigned to eth0 in rc.local
If not reboot.
System starts shutting down, but never completes.

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Add the following to /etc/rc.d/rc.local
  if [ -e /root/reboot.flg ] ; then
    reboot
  fi
2. touch /root/reboot.flg
3. reboot
Bit Twister 2014-01-18 16:41:33 CET

CC: (none) => junknospam

Comment 1 Marja Van Waes 2015-09-28 19:44:14 CEST
(In reply to Bit Twister from comment #0)
> Description of problem:
> I added code to test if proper nic was assigned to eth0 in rc.local
> If not reboot.
> System starts shutting down, but never completes.
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible: Always
> 
> 
> Steps to Reproduce:
> 1. Add the following to /etc/rc.d/rc.local
>   if [ -e /root/reboot.flg ] ; then
>     reboot
>   fi
> 2. touch /root/reboot.flg
> 3. reboot

Sorry that this report was missed, Bit Twister!

I don't have a rc.local file in /etc/rc.d/ in current cauldron, nor in any other directory, and network cards are named differently since some releases.

Closing as old

Feel free to reopen if needed

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => OLD