Jiri Slaby changed bug 1167079
What Removed Added
Assignee systemd-maintainers@suse.de werner@suse.com

Comment # 18 on bug 1167079 from
(In reply to Franck Bui from comment #17)
> Can you try to dump the processes list right before/after suspending ?
> 
> To do that you can put an executable script in /usr/lib/systemd/system-sleep
> that will be called by systemd, see man systemd-sleep.

Nothing useful, so I dumped processes from all parents of the current process
in autofs_kill_sb and look:
[  176.729788] autofs4:pid:7690:autofs_catatonic_mode: entering catatonic mode
[  176.729789] autofs4:pid:7690:autofs_kill_sb: shutting down
[  176.729790] autofs4:pid:7690:autofs_kill_sb: comm=umount
[  176.729791] autofs4:pid:7690:autofs_kill_sb: comm=nfs
[  176.729792] autofs4:pid:7690:autofs_kill_sb: comm=nfs
[  176.729793] autofs4:pid:7690:autofs_kill_sb: comm=nm-dispatcher
[  176.729794] autofs4:pid:7690:autofs_kill_sb: comm=systemd

That would be /etc/NetworkManager/dispatcher.d/nfs script from
NetworkManager-1.22.10-2.1.x86_64, I suppose.

And I updated NM from 1.22.8-1.1 to 1.22.10-1.1 on 17th of Mar (and reported
this on 19th):
> 2020-02-11 07:36:11|install|NetworkManager|1.22.6-1.2|x86_64||repo-oss|a05d44ae56a7d238d116c7ec7f3df9effc1c068ea73af9aa4e04c0178e7660e1|
> 2020-03-02 07:01:24|install|NetworkManager|1.22.8-1.1|x86_64||repo-oss|1e3014b7156879be49b1fecc733fbd2d4efa7df99ac1deb655c59ccbcf5d859f|
> 2020-03-17 11:30:04|install|NetworkManager|1.22.10-1.1|x86_64||repo-oss|67ce82236bcffc7d1ae4cd7d5a2cb7d62e7911f76bdabf4d01a80a52989ebc49|
> 2020-05-12 07:42:06|install|NetworkManager|1.22.10-2.1|x86_64||repo-oss|06dcdee32b57f7801a84a672e23d33e5f062b8e344175b3765feadf960d85b20|

That would be SR#784407. And it says:
>- Modify nfs script (boo#1164642)
>  * Also mount nfs4 shares
>  * Ignore nfs or nfs4 shares in case if the noauto option is set

And it does:
> -                # Only unmount it when the type is nfs
> -                if [ "$FS_TYPE" == "nfs" ]; then
> +                # Only unmount it when the type is nfs or nfs4
> +                if [ "$FS_TYPE" == "nfs" -o "$FS_TYPE" == "nfs4" ]; then

Oh man!


You are receiving this mail because: