Public bug reported:

Reusing a master ssh socket that is created on an overlayfs mount
reports connection refused, while on real filesystems or on tmpfs it
works fine.

Steps to reproduce (/var is ext4, /tmp is tmpfs.):
# mkdir -p /var/overlayfs-socket
# cd /var/overlayfs-socket
# mkdir root rofs /tmp/cow
# mount -t overlayfs -o "upperdir=/tmp/cow,lowerdir=rofs" overlayfs root
# ssh -NMS root/socket alkisg@localhost
alkisg@localhost's password: [****]

And on another tab of the same terminal:
# ssh -S root/socket alkisg@localhost ls
Control socket connect(root/socket): Connection refused
alkisg@localhost's password: 

The problem is in the last line, on real filesystems or on tmpfs it
doesn't ask for a password, it reuses the existing socket.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.12.0-7-generic 3.12.0-7.15
ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
Uname: Linux 3.12.0-7-generic i686
ApportVersion: 2.12.7-0ubuntu2
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  alkisg     3511 F.... pulseaudio
 /dev/snd/controlC0:  alkisg     3511 F.... pulseaudio
CurrentDesktop: GNOME
Date: Wed Dec 18 18:57:18 2013
HibernationDevice: RESUME=UUID=5eff7bf1-95b5-4fc1-9c71-0950810c717e
InstallationDate: Installed on 2013-10-31 (48 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
MachineType: System manufacturer System Product Name
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.12.0-7-generic 
root=UUID=e1f06e01-d2dc-45e5-b446-54e1e4a5dc2c ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.12.0-7-generic N/A
 linux-backports-modules-3.12.0-7-generic  N/A
 linux-firmware                            1.117
RfKill:
 
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/04/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0415
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5KPL-AM EPU
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0415:bd02/04/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5KPL-AMEPU:rvrx.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 trusty

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

Title:
  SSH sockets on overlayfs report connection refused

Status in “linux” package in Ubuntu:
  New

Bug description:
  Reusing a master ssh socket that is created on an overlayfs mount
  reports connection refused, while on real filesystems or on tmpfs it
  works fine.

  Steps to reproduce (/var is ext4, /tmp is tmpfs.):
  # mkdir -p /var/overlayfs-socket
  # cd /var/overlayfs-socket
  # mkdir root rofs /tmp/cow
  # mount -t overlayfs -o "upperdir=/tmp/cow,lowerdir=rofs" overlayfs root
  # ssh -NMS root/socket alkisg@localhost
  alkisg@localhost's password: [****]

  And on another tab of the same terminal:
  # ssh -S root/socket alkisg@localhost ls
  Control socket connect(root/socket): Connection refused
  alkisg@localhost's password: 

  The problem is in the last line, on real filesystems or on tmpfs it
  doesn't ask for a password, it reuses the existing socket.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.12.0-7-generic 3.12.0-7.15
  ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
  Uname: Linux 3.12.0-7-generic i686
  ApportVersion: 2.12.7-0ubuntu2
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  alkisg     3511 F.... pulseaudio
   /dev/snd/controlC0:  alkisg     3511 F.... pulseaudio
  CurrentDesktop: GNOME
  Date: Wed Dec 18 18:57:18 2013
  HibernationDevice: RESUME=UUID=5eff7bf1-95b5-4fc1-9c71-0950810c717e
  InstallationDate: Installed on 2013-10-31 (48 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
  MachineType: System manufacturer System Product Name
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.12.0-7-generic 
root=UUID=e1f06e01-d2dc-45e5-b446-54e1e4a5dc2c ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.12.0-7-generic N/A
   linux-backports-modules-3.12.0-7-generic  N/A
   linux-firmware                            1.117
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/04/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0415
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5KPL-AM EPU
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: x.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0415:bd02/04/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5KPL-AMEPU:rvrx.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to