Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] consolekit: package /var/log/Consolekit
Date: Wed, 30 Nov 2011 11:51:09 -0600	[thread overview]
Message-ID: <4ED66D0D.5000801@windriver.com> (raw)
In-Reply-To: <1322674730.17484.15.camel@ted>

On 11/30/11 11:38 AM, Richard Purdie wrote:
> On Wed, 2011-11-30 at 09:24 +0100, Koen Kooi wrote:
>> This fixes startup issues like this:
>>
>> 2011-11-30T09:02:10+01:00 beaglebone ck-log-system-start[91]: **
>> (process:91): WARNING **: Couldn't create log
>> file /var/log/ConsoleKit/history (No such file or directory)
>>
>> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
>> ---
>>   .../recipes-support/consolekit/consolekit_0.4.5.bb |    4 ++--
>>   1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
>> index 562dfb3..a02203c 100644
>> --- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb
>> +++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
>> @@ -2,7 +2,7 @@ DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login
>>   HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
>>   BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
>>
>> -PR = "r5"
>> +PR = "r6"
>>
>>   LICENSE = "GPLv2+"
>>   LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
>> @@ -23,7 +23,7 @@ EXTRA_OECONF = "--with-systemdsystemunitdir=${base_libdir}/systemd/system/ \
>>                   ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${base_libdir}/security', '--disable-pam-module', d)} \
>>                  "
>>
>> -FILES_${PN} += "${libdir}/ConsoleKit ${base_libdir} ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
>> +FILES_${PN} += "${localstatedir}/log/ConsoleKit ${libdir}/ConsoleKit ${base_libdir} ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
>>   FILES_${PN}-dbg += "${base_libdir}/security/.debug"
>>
>>   PACKAGES =+ "pam-plugin-ck-connector"
>
> Looks like this is breaking builds:
>
> | consolekit                  ##################################################
> | error: unpacking of archive failed on file /var/log: cpio: rename failed - Invalid argument

This is a bit of an obscure error, but what it really means is that something 
created a directory called /var/log, while something else created a symlink 
called /var/log.  The directory owner was installed before the symlink owner.. 
so when the symlink was being installed cpio went "huh?!"  (note: the problem 
could be /var... hard to tell)

This is one of the situations that the system wide directory "fixing" in 
packages.bbclass is support to resolve.

--Mark

> :(
>
> http://autobuilder.pokylinux.org:8010/builders/nightly-x86-64/builds/197/steps/shell_30/logs/stdio
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




      parent reply	other threads:[~2011-11-30 17:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30  8:24 [PATCH] consolekit: package /var/log/Consolekit Koen Kooi
2011-11-30 15:11 ` Richard Purdie
2011-11-30 17:38 ` Richard Purdie
2011-11-30 17:50   ` Koen Kooi
2011-11-30 20:19     ` Richard Purdie
2011-11-30 20:39       ` Koen Kooi
2011-11-30 22:57         ` Richard Purdie
2011-11-30 17:51   ` Mark Hatle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED66D0D.5000801@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox