Bug 22700 - nfsmounts sollte Erreichbarkeit des NFS Server vor dem mount prüfen
nfsmounts sollte Erreichbarkeit des NFS Server vor dem mount prüfen
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: NFS
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-09 13:11 CEST by Felix Botner
Modified: 2020-07-03 20:51 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017072121000261
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-06-09 13:11:19 CEST
Über /usr/lib/univention-directory-policy/nfsmounts (per /etc/cron.d/univention-directory-policy gestartet) werden NFS Shares in der /etc/fstab ergänzt und gemountet. Wenn nun der NFS Server nicht erreichbar ist, hängt dieser mount Befehl. Durch Cron wird das Skript nach gewisser Zeit auch wieder gestartet und somit sammeln sich diese Aufrufe in der Prozessliste.

-> ps aux | grep nfsmount |wc -l
153

Vor dem mount sollte zumindest geprüft werden, ob der NFS Server überhaupt erreichbar ist.
Comment 1 Felix Botner univentionstaff 2011-06-09 13:19:25 CEST
Die vielen nfsmount Prozesse führen u.a. zu:

-> top 
13:18:31 up 36 days,  4:38,  3 users,  load average: 201.46, 166.79, 156.41
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:36:10 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 3 Jens Thorp-Hansen univentionstaff 2017-07-21 16:37:56 CEST
mentioned here: 2017072121000261
Comment 4 Philipp Hahn univentionstaff 2017-07-28 15:23:40 CEST
/usr/lib/univention-directory-policy/nfsmounts forks "mount" processes for each mount, but does not wait for them. As such the are re-parented to init when that intermediate process terminates.

In my test the "mount.nfs" times out after some time (but there can be situations, were they don't)

This is another case of Bug #39824
Comment 5 Philipp Hahn univentionstaff 2017-07-28 16:02:00 CEST
(In reply to Philipp Hahn from comment #4)
> This is another case of Bug #39824
and more specifically of Bug #29219
Comment 6 Ingo Steuwer univentionstaff 2020-07-03 20:51:37 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.