Re: [EXTERNAL] Re: Copy_up function fail with ubifs on upper layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 10, 2018 at 10:02 PM Guerard, Vincent
<VincentGuerard@xxxxxxxxx> 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

Not sure if it is upstream already.

Thanks,
Amir.



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux