Bug 3924

Summary: udevd: failed to execute 'etc/udev/scripts/mount.sh'
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Darren Hart <dvhart>
Component: deploymentAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, corneliux.stoicescu, liezhi.yang, sgw
Version: 1.4   
Target Milestone: 1.4 M6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Darren Hart 2013-02-21 19:34:16 UTC
During live install, the following is displayed many times to the console:

udevd: failed to execute 'etc/udev/scripts/mount.sh': No such file or directory

Tested with atom-pc BSP from master on a Toshiba NB-305.

Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-11.10"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "atom-pc"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130221"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta-yocto        
meta-yocto-bsp    
meta              = "master:802921ceda32388c6ba287d676eeadb24e4fd41c"
Comment 1 Chen Qi 2013-03-25 09:33:04 UTC
/etc/udev/scripts/mount.sh is executed by udev.
But it's deleted in init-install.sh.
#
# The udev automounter can cause pain here, kill it
#
rm -f /etc/udev/scripts/mount*

Thus the error message.

Roughly two solutions:
1. create a wrapper script for mount.sh which checks the existence
2. rm -f /etc/udev/rules.d/automount.rules
   As we're deleting /etc/udev/scripts/mount.sh, it's obviously safe to delete this file as well.
Comment 2 Chen Qi 2013-04-01 02:20:21 UTC
merged into poky/maser: e0da5099738807ab7779838d73103106aa101620
http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6b6db7b4fb7aa17b8e29076decc830149b9d35bc