Re: Failure to execute file on overlayfs during switch_root/chroot

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

 



On Thu, Mar 14, 2019 at 09:38:05PM +0200, Amir Goldstein wrote:
> OTOH, ovl_path_open() from ovl_copy_up_data() does open lower
> file with O_NOATIME, so I am a bit surprised you did not see the
> same issue there.

Good point actually, I did forget about that. The reason we did not run into
this issue is because Nix store paths are *never* changed (only new ones are
added) and the store is mounted read-only (new paths are crated using a mount
namespace where the store path is writable).

So yes, actually the O_NOATIME should also be removed from ovl_copy_up_data().

a!
-- 
aszlig
Universal dilettante

Attachment: signature.asc
Description: PGP signature


[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