Bug 1249644 - umount network filesystems order slows shutdown procedure
Summary: umount network filesystems order slows shutdown procedure
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 22
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-03 13:14 UTC by Helio Chissini de Castro
Modified: 2016-07-19 19:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 19:16:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Helio Chissini de Castro 2015-08-03 13:14:40 UTC
Network filesystems are schedule to bee unmounted after the network is shut down.

NetworkManager is already down and system keep trying to unmount nfs and samba shared for around 120 seconds per share.

Network filesystems should be unmounted before networkmanager.

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-08-03 15:46:05 UTC
They should already be ordered so: network mount units are ordered after network.target, and NetworkManager.service is ordered before network.target. Shutdown is performed in reverse, so network mounts are stopped first, then network.target, then NetworkManager.service.

Can you show the output of 'systemctl show -p Before,After,Wants xxx' for xxx being your network mounts (e.g. some-path.mount) and NetworkManager.service?

Comment 2 Helio Chissini de Castro 2015-08-03 17:01:33 UTC
Here we go, system is a fedora 22 x86_64

[root@tiefighter ~]# systemctl show -p Before,After,Wants NetworkManager.service
Wants=network.target system.slice
Before=NetworkManager-wait-online.service network.target multi-user.target shutdown.target network.service
After=systemd-journald.socket system.slice basic.target netcf-transaction.service firewalld.service

[root@tiefighter ~]# systemctl show -p Before,After,Wants /media/multimedia
Wants=network-online.target system.slice
Before=umount.target remote-fs.target
After=systemd-journald.socket system.slice network.target remote-fs-pre.target -.mount network-online.target

Comment 3 Fedora End Of Life 2016-07-19 19:16:13 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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