Wind River Support Network

HomeDefectsLIN8-7842
Fixed

LIN8-7842 : parted races with systemd-udevd

Created: Sep 25, 2017    Updated: Dec 3, 2018
Resolved Date: Oct 12, 2017
Found In Version: 8.0.0.20
Fix Version: 8.0.0.22
Severity: Severe
Applicable for: Wind River Linux 8
Component/s: Toolchain

Description

parted -s /dev/sda mklabel MSDOS 
parted -s /dev/sda mkpart primary ext3 0 1000 
ls -l /dev/sda* 
# See both /dev/sda and /dev/sda1 
parted -s /dev/sda set 1 raid on 
ls -l /dev/sda* 
# See only /dev/sda 
parted -s /dev/sda mkpart primary ext3 1000 2000 
ls -l /dev/sda* 
# See only /dev/sda and /dev/sda2 
# Repeat from start, and keep seeing same 


If I stop entirely system-udevd, 

systemctl stop systemd-udevd 
systemctl stop systemd-udevd-control.socket 
systemctl stop systemd-udevd-kernel.socket 

The system behave fine.


A patch at 
http://git.savannah.gnu.org/cgit/parted.git/commit/?id=44d5ae0115c4ecfe3158748309e9912c5aede92d and wants to be included in a RCPL. 

Steps to Reproduce

( was reproducible inside Virtual Box ) 
parted -s /dev/sda mklabel MSDOS 
parted -s /dev/sda mkpart primary ext3 0 1000 
ls -l /dev/sda* 
# See both /dev/sda and /dev/sda1 
parted -s /dev/sda set 1 raid on 
ls -l /dev/sda* 
# See only /dev/sda 
parted -s /dev/sda mkpart primary ext3 1000 2000 
ls -l /dev/sda* 
# See only /dev/sda and /dev/sda2 
# Repeat from start, and keep seeing same 


If I stop entirely system-udevd, 

systemctl stop systemd-udevd 
systemctl stop systemd-udevd-control.socket 
systemctl stop systemd-udevd-kernel.socket 

The system behave fine.

Other Downloads


Live chat
Online