Bug 5355

Summary: systemd[1]: Failed to mount /run: No such file or directory
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Anatoly Shipitsin <norguhtar>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: High CC: jessica.zhang, meta.mr.watcher, meta.watcher
Version: 1.4.2   
Target Milestone: 1.4.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Build log
none
Second build log none

Description Anatoly Shipitsin 2013-10-16 09:02:07 UTC
Steps to reproduce:
1) Build systemd image.
2) Run image
3) You'll get error message from systemd and you won't be able to login.

My local.conf

BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"

MACHINE ??= "qemux86"

DISTRO ?= "poky"

DISTRO_FEATURES_append = " systemd"

VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"

PACKAGE_CLASSES ?= "package_rpm"

EXTRA_IMAGE_FEATURES = "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"

PATCHRESOLVE = "noop"

BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K" 


CONF_VERSION = "1"

I know about bug 4214 but it still not work correct
Comment 1 Jessica 2013-10-17 14:53:58 UTC
Hi Ross,

Can you try to reproduce this to see whether it's a user error or a real issue? If it's real, then it's a high, otherwise, we can lower the priority

Thanks,
Jessica
Comment 2 Ross Burton 2013-10-17 14:57:07 UTC
Works for me, what image are you building?
Comment 3 Anatoly Shipitsin 2013-10-17 17:31:50 UTC
Created attachment 1567 [details]
Build log
Comment 4 Anatoly Shipitsin 2013-10-17 17:32:36 UTC
I'm build core-image-minimal
Comment 5 Anatoly Shipitsin 2013-10-18 09:55:43 UTC
I try clean all and build again. I'm again got this error
Comment 6 Anatoly Shipitsin 2013-10-18 09:56:35 UTC
Created attachment 1568 [details]
Second build log
Comment 7 Anatoly Shipitsin 2013-10-22 02:32:13 UTC
I'm try build core-image-minimal on new release 1.5 (dora 10.0.0). It's build right and image run without any problem.
Comment 8 Ross Burton 2013-11-05 16:56:33 UTC
Closing.