Bug 3924 - udevd: failed to execute 'etc/udev/scripts/mount.sh'
Summary: udevd: failed to execute 'etc/udev/scripts/mount.sh'
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M6
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-02-21 19:34 UTC by Darren Hart
Modified: 2013-04-18 08:11 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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