All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: Markus Volk <f_l_k@t-online.de>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [oe-core][PATCHv2] glib: update 2.74.6 -> 2.76.0
Date: Wed, 15 Mar 2023 18:46:29 +0100	[thread overview]
Message-ID: <CANNYZj8QzLCeKESZxbHaaGFP0Xhd0oG00hcNz2Vru4S_m09Cng@mail.gmail.com> (raw)
In-Reply-To: <E8OKRR.MV94C2TWISKQ@t-online.de>

I suppose we do want to align this between systemd and initscripts
based images, so if you can work on the needed adjustments, would be
much appreciated. I was hoping setting VOLATILE_TMP_DIR correctly
would be enough.

Alex

On Wed, 15 Mar 2023 at 18:21, Markus Volk <f_l_k@t-online.de> wrote:
>
> That linking is done in initscripts. Removing this line will fix the issue
> https://git.yoctoproject.org/poky/tree/meta/recipes-core/initscripts/initscripts-1.0/volatiles?h=master-next#n32
>
> But that would affect not only ptest images. It would additionally be needed to adjust that recently added commit:
> https://git.yoctoproject.org/poky/commit/meta?h=master-next&id=d5d40479d706cbb382850b9479c5dd9bfb801c99
>
> So this would be quite invasive. Overall the logic here is just the other way around as described in the systemd documentation, where /tmp should be volatile and /var/tmp should be covered by physical memory
>
> Am Mi, 15. Mär 2023 um 16:51:34 +0100 schrieb Alexander Kanavin <alex.kanavin@gmail.com>:
>
> You probably need to find out what links /var/tmp to /tmp in ptest images, and see if it can be reconfigured to do the same thing as the image where the tests passed. Alex On Wed, 15 Mar 2023 at 16:07, Markus Volk <f_l_k@t-online.de> wrote:
>
> Am Mi, 15. Mär 2023 um 08:27:33 +0100 schrieb Alexander Kanavin <alex.kanavin@gmail.com>: Guesswork is a fast track to frustration. True :D But thats what always happens to me if I dont know enough and can't find a way to reproduce. Thanks to your hint on core-image-ptest-glib-2.0 I was able to reproduce the issue. Running the test from /var/volatile/tmp didn't solve the issue. But compared to core-image-ptest-glib-2.0 where /tmp links to /var/tmp the tmpdir is handled by systemd tmp.mount in my image and thus is not a symbolic link. According to systemd ducumentation /var/tmp and /tmp are not the same and are handled differently https://systemd.io/TEMPORARY_DIRECTORIES/ Still I have no idea how this should be fixed or if the failed test could maybe ignored but I was able to pass the tests in core-image-ptest-glib-2.0 by removing the /tmp symlink and adding this line to fstab: tmpfs /tmp tmpfs defaults 0 0 After a reboot the tests completed successful
>
> -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#178581): https://lists.openembedded.org/g/openembedded-core/message/178581 Mute This Topic: https://lists.openembedded.org/mt/97622689/3618223 Group Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [f_l_k@t-online.de] -=-=-=-=-=-=-=-=-=-=-=-


  reply	other threads:[~2023-03-15 17:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  7:09 [oe-core][PATCHv2] glib: update 2.74.6 -> 2.76.0 Markus Volk
2023-03-15  7:27 ` Alexander Kanavin
2023-03-15 15:06   ` Markus Volk
2023-03-15 15:51     ` Alexander Kanavin
2023-03-15 17:21       ` Markus Volk
2023-03-15 17:46         ` Alexander Kanavin [this message]
2023-03-15 18:04           ` Markus Volk
2023-03-16  8:11             ` Alexander Kanavin
2023-03-17  5:58               ` Markus Volk

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=CANNYZj8QzLCeKESZxbHaaGFP0Xhd0oG00hcNz2Vru4S_m09Cng@mail.gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=f_l_k@t-online.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.