← Back to team overview

kernel-packages team mailing list archive

[Bug 1410480] Re: 3.18 overlayfs: renaming existing file leaves whiteout visible

 

Hi,

this is an Ubuntu-specific bug, the overlayfs v1 compat patch is not
included upstream.

(For completeness, I did boot the 3.19-rc4 mainline kernel and verify
that, per comment 4.)

FWIW, I think (but am not sure how to confirm) that it's falling into
vfs_rename with flags including RENAME_WHITEOUT...

Thanks.

** Tags added: kernel-unable-to-test-upstream

** Summary changed:

- 3.18 overlayfs: renaming existing file leaves whiteout visible
+ overlayfs_v1: renaming existing file uses chardev whiteout (should be symlink)

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

Title:
  overlayfs_v1: renaming existing file uses chardev whiteout (should be
  symlink)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  On a recent vivid livecd, after I rename a file that exists in the
  lower filesystem, the whiteout entry is visible.

  root@ubuntu:~# ls -l /etc/fstab
  -rw-r--r-- 1 root root 63 Jan 13 11:56 /etc/fstab
  root@ubuntu:~# mv /etc/fstab /etc/fstab.renamed
  root@ubuntu:~# ls -l /etc/fstab*
  c--------- 1 root root 0, 0 Jan 13 19:57 /etc/fstab
  -rw-r--r-- 1 root root   63 Jan 13 11:56 /etc/fstab.renamed
  root@ubuntu:~#

  It still happens if I trigger a copy-up first by editing the file.

  Files that exist only in the upper filesystem (created after booting
  the livecd) work properly.

  On utopic, everything works properly. I have not tested a 3.17 kernel.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: linux-image-3.18.0-8-generic 3.18.0-8.9
  ProcVersionSignature: Ubuntu 3.18.0-8.9-generic 3.18.1
  Uname: Linux 3.18.0-8-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/controlC0', '/dev/snd/by-path', '/dev/snd/hwC1D3', '/dev/snd/hwC1D2', '/dev/snd/hwC1D1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D9p', '/dev/snd/pcmC1D8p', '/dev/snd/pcmC1D7p', '/dev/snd/pcmC1D3p', '/dev/snd/controlC1', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CasperVersion: 1.347
  Date: Tue Jan 13 19:42:41 2015
  IwConfig:
   eth0      no wireless extensions.

   lo        no wireless extensions.
  LiveMediaBuild: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150113)
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
   Bus 002 Device 002: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcEnviron:
   TERM=rxvt-unicode-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: initrd=hostname/vivid/desktop/amd64/casper/initrd.lz boot=casper netboot=nfs nfsroot=10.0.2.1:/var/lib/tftpboot/hostname/vivid/desktop/amd64 quiet splash file=/cdrom/preseed/hostname.seed url=http://10.0.2.64/preseed/ubiquity.cfg text BOOT_IMAGE=hostname/vivid/desktop/amd64/casper/vmlinuz.efi
  PulseList:
   Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
   No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.18.0-8-generic N/A
   linux-backports-modules-3.18.0-8-generic  N/A
   linux-firmware                            1.140
  RfKill:

  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/07/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 080015
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: M61PMP/M61PMP-K
  dmi.board.vendor: FOXCONN
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd06/07/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnFOXCONN:rnM61PMP/M61PMP-K:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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


References