[systemd-devel] [PATCH] mount: fix network umounts
Harald Hoyer
harald at redhat.com
Tue Mar 12 10:31:09 PDT 2013
Am 08.03.2013 19:18, schrieb harald at redhat.com:
> From: Harald Hoyer <harald at redhat.com>
>
> Now works as expected for me.
>
> $ mount 192.168.2.2:/Public /mnt/test
> $ systemctl status mnt-test.mount
> mnt-test.mount - /mnt/test
> Loaded: loaded (/proc/self/mountinfo)
> Active: active (mounted) since Fr 2013-03-08 16:24:38 CET; 11s ago
> Where: /mnt/test
> What: 192.168.2.2:/Public
>
> Mär 08 16:24:38 lenovo systemd[1]: mnt-test.mount changed dead -> mounted
>
> $ systemctl stop remote-fs-pre.target
>
> $ systemctl status mnt-test.mount
> mnt-test.mount - /mnt/test
> Loaded: loaded (/proc/self/mountinfo)
> Active: inactive (dead) since Fr 2013-03-08 16:24:57 CET; 1s ago
> Where: /mnt/test
> Process: 4968 ExecUnmount=/bin/umount /mnt/test (code=exited, status=0/SUCCESS)
>
> Mär 08 16:24:57 lenovo systemdd[1]: Installed new job mnt-test.mount/stop as 744
> Mär 08 16:24:57 lenovo systemd[1]: Unmounting /mnt/test...
> Mär 08 16:24:57 lenovo systemd[1]: About to execute /bin/umount /mnt/test
> Mär 08 16:24:57 lenovo systemd[1]: Forked /bin/umount as 4968
> Mär 08 16:24:57 lenovo systemd[1]: mnt-test.mount changed mounted -> unmounting
> Mär 08 16:24:57 lenovo systemd[1]: Child 4968 belongs to mnt-test.mount
> Mär 08 16:24:57 lenovo systemd[1]: mnt-test.mount mount process exited, code=exited status=0
> Mär 08 16:24:57 lenovo systemd[1]: mnt-test.mount changed unmounting -> dead
> Mär 08 16:24:57 lenovo systemd[1]: Job mnt-test.mount/stop finished, result=done
> Mär 08 16:24:57 lenovo systemd[1]: Unmounted /mnt/test.
> ---
> src/core/mount.c | 10 +++++++---
> src/fstab-generator/fstab-generator.c | 6 ++++++
> 2 files changed, 13 insertions(+), 3 deletions(-)
>
Problems fixed with
4d4fe926cb2ad1e624ddaea26f143fa93d867296
and
6bde0b3220e95a08cefb70846f73b2cf24b7734a
More information about the systemd-devel
mailing list