Bug 16369 - systemd imposes mount constraints that mount itself does not
Summary: systemd imposes mount constraints that mount itself does not
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 17:49 CEST by Frank Griffin
Modified: 2019-02-19 22:44 CET (History)
0 users

See Also:
Source RPM: systemd
CVE:
Status comment:


Attachments

Description Frank Griffin 2015-07-13 17:49:05 CEST
Please refer to bug#14444 for the background here.

Trying to mount to a mount point which is a symlink gives (in journalctl):

Jul 13 10:21:55 ftglap systemd[1]: home-ftg-.thunderbird.mount: Mount on symlink
/home/ftg/.thunderbird not allowed.
Jul 13 10:21:55 ftglap systemd[1]: home-ftg-.thunderbird.mount: Failed to run 'm
ount' task: Too many levels of symbolic links
Jul 13 10:21:55 ftglap systemd[1]: Failed to mount /home/ftg/.thunderbird.
Jul 13 10:21:55 ftglap systemd[1]: Dependency failed for Remote File Systems.
Jul 13 10:21:55 ftglap systemd[1]: remote-fs.target: Job remote-fs.target/start
failed with result 'dependency'.
Jul 13 10:21:55 ftglap systemd[1]: home-ftg-.thunderbird.mount: Unit entered fai
led state.

However, as seen in bug#14444, a follow-up "mount -t nfs -a" successfully mounts on the symlink without complaint.

Here, /home/ftg/.thunderbird is a symlink to /data/ftg/.thunderbird.  If I change the mount point to /data/ftg/.thunderbird, I get:

Jul 13 11:25:51 ftglap systemd[1]: data-ftg-.thunderbird.mount: Directory /data/ftg/.thunderbird to mount over is not empty, mounting anyway.

This is an improvement, as systemd used to refuse to do the mount here as well.

Why is systemd complaining about stuff that mount handles without complaint ?

Reproducible: 

Steps to Reproduce:
Comment 1 Frank Griffin 2015-07-13 17:50:51 CEST
Ah, sorry, the bug reference above should have been bug#16368, not bug#14444.
David Walser 2015-07-30 17:25:05 CEST

Assignee: bugsquad => mageia

Comment 2 Frank Griffin 2019-02-19 22:43:37 CET
Closing as OLD.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Frank Griffin 2019-02-19 22:44:25 CET
Correcting to OLD.

Resolution: FIXED => OLD


Note You need to log in before you can comment on or make changes to this bug.