← Back to team overview

kernel-packages team mailing list archive

[Bug 1523000] Re: writing files larger than 2GB to overlayfs fails

 

Test  procedure:

In 3.16.0-57-generic:
$ sudo dd if=/dev/zero of=/lower/f1 bs=4096 count=550000
550000+0 records in
550000+0 records out
2252800000 bytes (2.3 GB) copied, 4.00938 s, 562 MB/s
$ sudo mount -t overlayfs overlayfs -olowerdir=/lower,upperdir=/upper /mnt/overlayfs
$ sudo chmod 666 /mnt/overlayfs/f1
chmod: changing permissions of ‘f1’: Value too large for defined data type

Rebooted into 3.16.0-58-generic:
$ sudo mount -t overlayfs overlayfs -olowerdir=/lower,upperdir=/upper /mnt/overlayfs
$ sudo chmod 666 /mnt/overlayfs/f1
$ echo $?
0

** Tags removed: verification-needed-utopic
** Tags added: verification-done-utopic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1523000

Title:
  writing files larger than 2GB to overlayfs fails

Status in linux-lts-utopic package in Ubuntu:
  Invalid
Status in linux-lts-vivid package in Ubuntu:
  Invalid
Status in linux-lts-utopic source package in Trusty:
  Fix Committed
Status in linux-lts-vivid source package in Trusty:
  Fix Released

Bug description:
  There's simply a missing flag, which was fixed here:
  https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=0480334

  The patch claims it requires kernel 3.18+, but the overlayfs code in
  ubuntu's 3.16 kernel is already backported from later kernel revs.

  break-fix: - 0480334fa60488d12ae101a02d7d9e1a3d03d7dd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-utopic/+bug/1523000/+subscriptions


References