Bug 7700 - 3_a1: a reboot command in rc.local will hang the system
Summary: 3_a1: a reboot command in rc.local will hang the system
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-04 01:35 CEST by Bit Twister
Modified: 2015-09-28 19:44 CEST (History)
2 users (show)

See Also:
Source RPM: systemd-193-2.mga3.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.