Bug 6255 - systemd failed to start service: "Console System Startup Logging"
Summary: systemd failed to start service: "Console System Startup Logging"
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5.3
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-04-30 11:49 UTC by Stoicescu Cornel
Modified: 2014-07-17 10:40 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2014-04-30 11:49:20 UTC
tested with dora:b626e109e83384558f45dc2e30e7caec677ce1db

Steps to reproduce:
1) Add in local.conf:
MACHINE = "qemux86"

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"

2) build and boot core-image-sato-sdk

3) issue command from image command line: 'systemctl --failed'

Notice failed service:
console-k...tem-start.service loaded failed failed Console System Startup Logging
Comment 1 Saul Wold 2014-05-01 14:42:33 UTC
Is this only in 1.5.2 or does this affect 1.6 and/or Master also?
Comment 2 Stoicescu Cornel 2014-05-05 13:19:00 UTC
Could not reproduce this on master:183dac4036cb73ad6cc620002b0044d3484a398d
Comment 3 Chen Qi 2014-05-14 03:17:34 UTC
Hi Robert,

Please cherry pick the following commit into dora branch to fix this bug.

commit 9c7477ed2c2c6065d0d5dbed048a2738de2871ee
Author: Jonathan Liu <net147@gmail.com>
Date:   Fri Feb 28 11:15:27 2014 +1100

    consolekit: fix console-kit-log-system-start.service startup
    
    console-kit-log-system-start.service fails to to start if the
    /var/log/ConsoleKit directory does not exist. Normally it is created
    automatically but as we mount a tmpfs at /var/log, we need to add
    a tmpfiles.d entry to create it.
    
    (From OE-Core rev: 2a9a14bf400fe0c263c58aa85b02aba7311b1328)
    
    Signed-off-by: Jonathan Liu <net147@gmail.com>
    Signed-off-by: Saul Wold <sgw@linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

//Chen Qi
Comment 4 Chen Qi 2014-05-23 06:35:48 UTC
Hi Robert,

I examined the latest dora branch and the patch is still not in.
The latest commit in dora is 19745990465b37107142c5464008ca9f7959cc0b, right?

Best Regards,
Chen Qi
Comment 5 Chen Qi 2014-07-03 01:49:05 UTC
Module: openembedded-core.git
Branch: dora
Commit: 305da37a4dc0fba2b8f3219cfae47a1d4228f244
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=305da37a4dc0fba2b8f3219cfae47a1d4228f244

Author: Jonathan Liu <net147@gmail.com>
Date:   Mon May 26 22:15:14 2014 -0400

consolekit: fix console-kit-log-system-start.service startup

console-kit-log-system-start.service fails to to start if the
/var/log/ConsoleKit directory does not exist. Normally it is created
automatically but as we mount a tmpfs at /var/log, we need to add
a tmpfiles.d entry to create it.

(From OE-Core master rev: 2a9a14bf400fe0c263c58aa85b02aba7311b1328)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Comment 6 Stoicescu Cornel 2014-07-17 10:40:35 UTC
Verified with 1.5.3 RC1: dc743744d8e3a9caef577aeab6b7f51bc08ded17