linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Amir Goldstein <amir73il@gmail.com>
Cc: VincentGuerard@eaton.com, Miklos Szeredi <miklos@szeredi.hu>,
	overlayfs <linux-unionfs@vger.kernel.org>
Subject: Re: [EXTERNAL] Re: Copy_up function fail with ubifs on upper layer
Date: Tue, 11 Dec 2018 10:54:21 +0100	[thread overview]
Message-ID: <18631278.YDA9SCgu4D@blindfold> (raw)
In-Reply-To: <CAOQ4uxip5zOUWwg4j3kWuQMPe83F=bwrtHQK0BfmQE=AGm8=5w@mail.gmail.com>

Am Montag, 10. Dezember 2018, 21:37:46 CET schrieb Amir Goldstein:
> On Mon, Dec 10, 2018 at 10:02 PM Guerard, Vincent
> <VincentGuerard@eaton.com> wrote:
> >
> > Here's the output when overlayfs try to do a copy up with the original function calls order and with debug enabled:
> >
> > root@io2200:/etc# mv machine-id machine-id1
> > mv: cannot move 'machine-id' to 'machine-id1': No such file or directory
> > root@io2200:/etc# dmesg
> > [ 2999.275275] tmpfile(upper.work/work, 0100644) = 0
> > [ 2999.278789] setxattr(work/#232, "trusted.overlay.origin", "(null)", 0x0) = -2
> >
> > And here's with inverted function calls:
> > root@io2200:/etc# mv securetty securetty1
> > root@io2200:/etc# dmesg
> > [  659.515200] tmpfile(upper.work/work, 0100400) = 0
> > [  659.515422] link(work/#164, etc/securetty) = 0
> > [  659.518577] setxattr(work/#164, "trusted.overlay.origin", "(null)", 0x0) = 0
> > [  659.522153] rename(etc/securetty, etc/securetty1, 0x4)
> >
> 
> Maybe this is the patch you need:
> https://marc.info/?l=linux-unionfs&m=154070087430992&w=2

Hmm, this fixes something different.
Vincent, do you trigger this every time or just once?
Is a power-cut involved?

Long story short, I need more info.

Thanks,
//richard

  reply	other threads:[~2018-12-11  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D10F1B1F86300941BC976D07C04B3AA0016E4CC7@LOUTCSMB11.napa.ad.etn.com>
     [not found] ` <CAJfpegsAxBZ0wHLMs-oBMqf8oAFaZr5f96jgYjb1TOQ_V5fcpw@mail.gmail.com>
2018-12-10 18:54   ` [EXTERNAL] Re: Copy_up function fail with ubifs on upper layer Guerard, Vincent
2018-12-10 20:37     ` Amir Goldstein
2018-12-11  9:54       ` Richard Weinberger [this message]
2018-12-11 15:32         ` Guerard, Vincent
2018-12-13 21:25           ` Richard Weinberger

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=18631278.YDA9SCgu4D@blindfold \
    --to=richard@nod.at \
    --cc=VincentGuerard@eaton.com \
    --cc=amir73il@gmail.com \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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;
as well as URLs for NNTP newsgroup(s).