[Bug 1006815] New: [Build 20161024] yast2 nfs-client does not mount added export
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815 Bug ID: 1006815 Summary: [Build 20161024] yast2 nfs-client does not mount added export Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: jpupava@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 699166 --> http://bugzilla.suse.com/attachment.cgi?id=699166&action=edit y2logs ### observed nfs client does not mount added export, nfs client configuration is ok and the export is added in fstab, nfs client service is running but export is not mounted https://openqa.opensuse.org/tests/289982#step/yast2_nfs_client/14 ### workaround mount -a does mount nfs export ### expected added export should be also mounted linux-2cg7:~ # systemctl status nfs-client.target ● nfs-client.target - NFS client services Loaded: loaded (/usr/lib/systemd/system/nfs-client.target; disabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/nfs-client.target.d └─nfs.conf Active: active since Tue 2016-10-25 09:36:52 EDT; 36s ago Oct 25 09:36:52 linux-2cg7 systemd[1]: Reached target NFS client services. linux-2cg7:~ # linux-2cg7:~ # systemctl show nfs.service --property=Id --property=MainPID --property=Description --property=LoadState --property=ActiveState --property=SubState --property=UnitFileState --property=FragmentPath MainPID=0 Id=nfs.service Description=Alias for NFS client LoadState=loaded ActiveState=active SubState=exited FragmentPath=/usr/lib/systemd/system/nfs.service UnitFileState=enabled linux-2cg7:~ # mount|grep nfs sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) nfsd on /proc/fs/nfsd type nfsd (rw,relatime) linux-2cg7:~ # linux-2cg7:~ # grep nfs /etc/fstab localhost:/tmp/nfs/server /tmp/nfs/client nfs defaults 0 0 linux-2cg7:~ # linux-2cg7:~ # mount -a linux-2cg7:~ # mount|grep nfs sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) nfsd on /proc/fs/nfsd type nfsd (rw,relatime) localhost:/tmp/nfs/server on /tmp/nfs/client type nfs4 (rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp6,port=0,timeo=600,retrans=2,sec=sys,clientaddr=::1,local_lock=none,addr=::1) linux-2cg7:~ # -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
Ancor Gonzalez Sosa
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c4
--- Comment #4 from Ancor Gonzalez Sosa
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c5
Knut Alejandro Anderssen González
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c6
Knut Alejandro Anderssen González
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c7
Neil Brown
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c8
--- Comment #8 from Knut Alejandro Anderssen González
No, it doesn't really make sense for the nfs-client service to mount filesystems. systemd should do that directly. Whenever yast adds something to /etc/fstab it should "systemctl daemon-reload" so that the generators get run and systemd learns about the new contents of /etc/fstab. Do you see any problem with making yast do that?
I was already discussing with ancorgs about adopting that solution this time, so apparently shouldn't be any problem. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
Arvin Schnell
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c24
José Iván López González
No, it doesn't really make sense for the nfs-client service to mount filesystems. systemd should do that directly. Whenever yast adds something to /etc/fstab it should "systemctl daemon-reload" so that the generators get run and systemd learns about the new contents of /etc/fstab. Do you see any problem with making yast do that?
Using "systemctl daemon-reload" was tricky under certain scenarios (e.g., for a NFS share directly mounted by the user but not included in the fstab). Finally we have decided to delegate the mounting/unmounting actions to the yast storage stack. Thanks to that, now on the behavior is exactly the same when the nfs client is used standalone and when it is used through the Expert Partitioner. Fixed by yast2-storage-ng 4.2.73 and yast2-nfs-client 4.2.5. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
Swamp Workflow Management
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c28
--- Comment #28 from Swamp Workflow Management
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
Maintenance Robot
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
http://bugzilla.suse.com/show_bug.cgi?id=1006815#c29
--- Comment #29 from Swamp Workflow Management
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=1006815
Martin Loviska
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c48
--- Comment #48 from Oliver Kurz
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c49
--- Comment #49 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c49
--- Comment #49 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c51
--- Comment #51 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c52
--- Comment #52 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c53
--- Comment #53 from Oliver Kurz
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c54
--- Comment #54 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c55
--- Comment #55 from Oliver Kurz
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c56
--- Comment #56 from Oliver Kurz
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c57
--- Comment #57 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c58
--- Comment #58 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c59
--- Comment #59 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c60
--- Comment #60 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c61
--- Comment #61 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c62
--- Comment #62 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c63
--- Comment #63 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c64
--- Comment #64 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c65
--- Comment #65 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c66
--- Comment #66 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c67
--- Comment #67 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c68
--- Comment #68 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c69
--- Comment #69 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c70
--- Comment #70 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c71
--- Comment #71 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c72
--- Comment #72 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c73
--- Comment #73 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c74
--- Comment #74 from openQA Review
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1006815
https://bugzilla.suse.com/show_bug.cgi?id=1006815#c75
--- Comment #75 from openQA Review
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com