← Back to team overview

kernel-packages team mailing list archive

[Bug 1347746] ProcEnviron.txt

 

apport information

** Attachment added: "ProcEnviron.txt"
   https://bugs.launchpad.net/bugs/1347746/+attachment/4161139/+files/ProcEnviron.txt

-- 
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/1347746

Title:
  Overlayfs breaks /proc/self/exe link

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Overlayfs breaks /proc/self/exe link when mounted not to VFS root.
  This issue, for example, breaks clang which uses /proc/self/exe to recursively exec self.

  Test case:
  $ mkdir /tmp/bug/ && cd /tmp/bug
  $ mkdir lower upper mount
  $ cp `which readlink` upper
  $ sudo mount -t overlayfs -o lowerdir=lower,upperdir=upper none mount
  $ ./upper/readlink /proc/self/exe
  /tmp/bug/upper/readlink
  $ ./mount/readlink /proc/self/exe
  /readlink

  At the same time aufs don't break /proc/self/exe:
  $ sudo umount mount/
  $ sudo mount -t aufs -o noxino,br=upper:lower none mount/
  $ ./mount/readlink /proc/self/exe
  /tmp/bug/mount/readlink
  --- 
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  alex3d     2397 F.... pulseaudio
   /dev/snd/controlC0:  alex3d     2397 F.... pulseaudio
  CRDA:
   country RU:
   	(2402 - 2482 @ 40), (N/A, 20)
   	(5735 - 5835 @ 20), (N/A, 30)
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2014-02-10 (162 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140208)
  MachineType: ASUSTeK COMPUTER INC. N550JV
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-30-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ quiet splash acpi_osi= vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-30-generic N/A
   linux-backports-modules-3.13.0-30-generic  N/A
   linux-firmware                             1.127.4
  StagingDrivers: rts5139
  Tags:  trusty staging
  Uname: Linux 3.13.0-30-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip libvirtd lpadmin plugdev sambashare sudo wireshark
  _MarkForUpload: True
  dmi.bios.date: 09/17/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: N550JV.207
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: N550JV
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN550JV.207:bd09/17/2013:svnASUSTeKCOMPUTERINC.:pnN550JV:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN550JV:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.name: N550JV
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

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


References