Bug 1249644 - umount network filesystems order slows shutdown procedure
umount network filesystems order slows shutdown procedure
Status: CLOSED EOL
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
22
All Linux
unspecified Severity high
: ---
: ---
Assigned To: systemd-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-03 09:14 EDT by Helio Chissini de Castro
Modified: 2016-07-19 15:16 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-19 15:16:13 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Helio Chissini de Castro 2015-08-03 09:14:40 EDT
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 11:46:05 EDT
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 13:01:33 EDT
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 15:16:13 EDT
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.