Re: [systemd-devel] systemd mount point disappearing on underlying device loss?
03.04.2017 10:52, Michal Sekletar пишет: > On Sat, Apr 1, 2017 at 6:46 AM, Andrei Borzenkovwrote: >> As far as I can tell, current systemd should behave as you want since >> commit 9d06297. If you want this commit to be backported, you need to >> contact your distribution. > > 9d06297 changed behavior only for mount units created from > /proc/mountinfo notifications. For normal mount units there is still > BindsTo dependency to respective device unit. > Thanks, missed that. Then, it does not appear any way to bypass it. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] systemd mount point disappearing on underlying device loss?
On Sat, Apr 1, 2017 at 6:46 AM, Andrei Borzenkovwrote: > As far as I can tell, current systemd should behave as you want since > commit 9d06297. If you want this commit to be backported, you need to > contact your distribution. 9d06297 changed behavior only for mount units created from /proc/mountinfo notifications. For normal mount units there is still BindsTo dependency to respective device unit. Also commit 9d06297 was backported to CentOS 7.2. Michal ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] systemd mount point disappearing on underlying device loss?
01.04.2017 00:05, Suresh Rajagopalan пишет: > In Centos7/systemd, a mount point goes away automatically if the underlying > device is gone. > > In Centos6/Rhel6 (ie before systemd) and before, losing a underlying device > would yield Input/Output error on accessing the mount point, and the mount > point still remains in the system. > > Is there any way to reinstating the old behavior in Centos7/systemd? > As far as I can tell, current systemd should behave as you want since commit 9d06297. If you want this commit to be backported, you need to contact your distribution. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] systemd mount point disappearing on underlying device loss?
In Centos7/systemd, a mount point goes away automatically if the underlying device is gone. In Centos6/Rhel6 (ie before systemd) and before, losing a underlying device would yield Input/Output error on accessing the mount point, and the mount point still remains in the system. Is there any way to reinstating the old behavior in Centos7/systemd? Thanks -Suresh ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel