SSH sockets on overlayfs report connection refused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
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-
# cd /var/overlayfs-
# mkdir root rofs /tmp/cow
# mount -t overlayfs -o "upperdir=
# 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(
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-
ProcVersionSign
Uname: Linux 3.12.0-7-generic i686
ApportVersion: 2.12.7-0ubuntu2
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: GNOME
Date: Wed Dec 18 18:57:18 2013
HibernationDevice: RESUME=
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=
RelatedPackageV
linux-
linux-
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.
dmi.board.name: P5KPL-AM EPU
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
tags: | added: bios-outdated-0501 |
tags: | added: precise raring |
tags: | added: bot-stop-nagging |
This change was made by a bot.