Bug 12868 - mandriva_everytime has race condition causes it not to execute if file system is not remounted
Summary: mandriva_everytime has race condition causes it not to execute if file system...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 13:42 CET by Joseph Wang
Modified: 2014-04-19 04:51 CEST (History)
0 users

See Also:
Source RPM: initscripts-9.41-21.mga4
CVE:
Status comment:


Attachments

Description Joseph Wang 2014-02-24 13:42:43 CET
Description of problem:

mandriva_everytime.service does not insure that the root disk has not been 
remounted before executing.  This can cause a problem on web appliances and
VirtualBox in which there are no addition filesystems are mounted

The mandriva_everytime.service should have a

After=local-fs.target systemd-remount-fs.service

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


How reproducible:

This doesn't happen in production situations because the remount happens
before mandriva_everytime is executed.

Steps to Reproduce:
1. generate a bitstation.vdi image file from 
https://github.com/joequant/bitquant.git 
oz/mkimg-bitstation.sh

2. qemu-kvm will have the banner in mandriva_everytime
3. running in VirtualBox will miss the mageia welcome banner because of this race condtion


Reproducible: 

Steps to Reproduce:
David Walser 2014-02-24 20:56:49 CET

Assignee: bugsquad => mageia

Comment 1 Joseph Wang 2014-04-19 04:51:37 CEST
The problem was an interaction between the console output and the virtualbox terminal and was fixed by not redirecting the console to /dev/ttyS0 which is the configuration proposed by cloud stack.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


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