[Bug 1902891] Re: "Too many levels of symbolic links” error when using systemd to mount sshfs
Dan Streetman
1902891 at bugs.launchpad.net
Tue May 25 18:47:40 UTC 2021
marking this as wontfix for bionic, as the fix doesn't actually make
anything work, it only prevents the confusing error and fails the mount
instead. Without someone specifically asking for this to be fixed in
bionic the chance of regression definitely outweighs the benefit.
I'll queue this up for focal (and groovy), but it would also be good to
have upstream changed to somehow notify the end user (system admin) of
what the actual problem was.
** Description changed:
+ [impact]
+
+ sshfs mount configured in fstab fails with 'too many levels of symbolic
+ links'
+
+ [test case]
+
+ configure a sshfs mount in fstab using a remote system where the local
+ user performing the mount (usually, root) does not have the remote host
+ ssh key in its known hosts db
+
+ then attempt to access any files under the mount, and check the journal
+
+ see original description for more detail
+
+ [regression potential]
+
+ any regression would likely cause systemd-mounted filesystem(s) to fail
+ to be correctly mounted
+
+ [scope]
+
+ this is needed for g and earlier
+
+ this is fixed upstream with commit
+ 2fa0bd7d57863dffda89190a70a83c51bd7d114a which is included in v247, so
+ this is fixed in h and later
+
+ [original description]
+
I have asked question at askubuntu about "Too many levels of symbolic
links” error when trying to use systemd to mount sshfs
(https://askubuntu.com/questions/1286375/too-many-levels-of-symbolic-
links-error-when-using-systemd)
I have not got any responses, so I am submitting a bug report. If this
is not a bug, please advice how to mount sshfs share with systemd.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: systemd 245.4-4ubuntu3.2
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
Uname: Linux 5.4.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 4 16:17:04 2020
InstallationDate: Installed on 2019-11-03 (367 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 81H1
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-52-generic root=UUID=7f92666a-65f8-485e-b998-046c2c596aa5 ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: Upgraded to focal on 2020-03-28 (220 days ago)
dmi.bios.date: 08/17/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: 8PCN45WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40700 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 530S-14ARR
dmi.modalias: dmi:bvnLENOVO:bvr8PCN45WW:bd08/17/2018:svnLENOVO:pn81H1:pvrLenovoideapad530S-14ARR:rvnLENOVO:rnLNVNB161216:rvrSDK0J40700WIN:cvnLENOVO:ct10:cvrLenovoideapad530S-14ARR:
dmi.product.family: ideapad 530S-14ARR
dmi.product.name: 81H1
dmi.product.sku: LENOVO_MT_81H1_BU_idea_FM_ideapad 530S-14ARR
dmi.product.version: Lenovo ideapad 530S-14ARR
dmi.sys.vendor: LENOVO
** Also affects: systemd (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu Groovy)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Focal)
Assignee: (unassigned) => Dan Streetman (ddstreet)
** Changed in: systemd (Ubuntu Groovy)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Focal)
Importance: Undecided => Low
** Changed in: systemd (Ubuntu Groovy)
Status: New => In Progress
** Changed in: systemd (Ubuntu Focal)
Status: New => In Progress
** Changed in: systemd (Ubuntu Bionic)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1902891
Title:
"Too many levels of symbolic links” error when using systemd to mount
sshfs
Status in systemd:
Fix Released
Status in systemd package in Ubuntu:
Confirmed
Status in systemd source package in Bionic:
Won't Fix
Status in systemd source package in Focal:
In Progress
Status in systemd source package in Groovy:
In Progress
Bug description:
[impact]
sshfs mount configured in fstab fails with 'too many levels of
symbolic links'
[test case]
configure a sshfs mount in fstab using a remote system where the local
user performing the mount (usually, root) does not have the remote
host ssh key in its known hosts db
then attempt to access any files under the mount, and check the
journal
see original description for more detail
[regression potential]
any regression would likely cause systemd-mounted filesystem(s) to
fail to be correctly mounted
[scope]
this is needed for g and earlier
this is fixed upstream with commit
2fa0bd7d57863dffda89190a70a83c51bd7d114a which is included in v247, so
this is fixed in h and later
[original description]
I have asked question at askubuntu about "Too many levels of symbolic
links” error when trying to use systemd to mount sshfs
(https://askubuntu.com/questions/1286375/too-many-levels-of-symbolic-
links-error-when-using-systemd)
I have not got any responses, so I am submitting a bug report. If this
is not a bug, please advice how to mount sshfs share with systemd.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: systemd 245.4-4ubuntu3.2
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
Uname: Linux 5.4.0-52-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.10
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 4 16:17:04 2020
InstallationDate: Installed on 2019-11-03 (367 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 81H1
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-52-generic root=UUID=7f92666a-65f8-485e-b998-046c2c596aa5 ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: systemd
UpgradeStatus: Upgraded to focal on 2020-03-28 (220 days ago)
dmi.bios.date: 08/17/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: 8PCN45WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40700 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 530S-14ARR
dmi.modalias: dmi:bvnLENOVO:bvr8PCN45WW:bd08/17/2018:svnLENOVO:pn81H1:pvrLenovoideapad530S-14ARR:rvnLENOVO:rnLNVNB161216:rvrSDK0J40700WIN:cvnLENOVO:ct10:cvrLenovoideapad530S-14ARR:
dmi.product.family: ideapad 530S-14ARR
dmi.product.name: 81H1
dmi.product.sku: LENOVO_MT_81H1_BU_idea_FM_ideapad 530S-14ARR
dmi.product.version: Lenovo ideapad 530S-14ARR
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1902891/+subscriptions
More information about the foundations-bugs
mailing list