Bug 36935 - rdate in univention-join got stuck
rdate in univention-join got stuck
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-0-errata
Assigned To: Philipp Hahn
Sönke Schwardt-Krummrich
http://forum.univention.de/viewtopic....
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-21 13:39 CET by Stefan Gohmann
Modified: 2014-12-04 12:20 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
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?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
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 Stefan Gohmann univentionstaff 2014-11-21 13:39:30 CET
Seen in a tester setup. During the join the rdate command in univention-join got stuck.
Comment 1 Philipp Hahn univentionstaff 2014-11-21 17:05:56 CET
r56065 | Bug #36935 Join: Timeout ntpdate command after 15s
 (actually its rdate)

Package: univention-join
Version: 7.1.1-1.486.201411211644
User: phahn
Branch: ucs_4.0-0
Scope: errata4.0-0

r56068 | Bug #36934 SSL,Bug #36935 Join,Bug #36937 USS: timeout YAML
Comment 2 Philipp Hahn univentionstaff 2014-11-21 17:08:35 CET
r56069 | Bug #36935 Join: timeout YAML
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-11-26 17:12:31 CET
root@master40:~# timeout -k 20 15 ntpdate-debian
25 Nov 19:40:06 ntpdate[8714]: no servers can be used, exiting

On my UCS master test system /etc/default/ntpdate was empty
→ $NTPDATE_USE_NTP_CONF is not set (used within ntpdate-debian)
→ /var/lib/ntpdate/default.dhcp does not exist
→ no time server is given to ntpdate
→ error message from above
→ REOPEN

Why not using one of the following pools?
- 0.pool.ntp.org
- 1.pool.ntp.org
- 2.pool.ntp.org
- 3.pool.ntp.org

root@master40:~# time timeout -k 20 15 rdate 10.200.18.3

real    0m15.003s
user    0m0.004s
sys     0m0.000s
root@master40:~# time timeout -k 20 15 rdate 192.168.0.3
Wed Nov 26 17:01:49 CET 2014

real    1269m58.097s
user    0m0.000s
sys     0m0.000s
root@master40:~# time timeout -k 20 15 rdate 192.168.0.3
Wed Nov 26 17:01:59 CET 2014

real    0m0.000s
user    0m0.000s
sys     0m0.004s
root@master40:~# 

→ Works as expected.

FAIL: why still using rdate as dependency? ntpdate-debian uses ntpdate

YAML: not checked yet
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2014-11-26 17:22:37 CET
(In reply to Sönke Schwardt-Krummrich from comment #3)
Please note: Last comment was accidently pasted here instead at bug #36934.
→ back to RESOLVED
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2014-11-26 17:29:34 CET
OK: code change
OK: functionality (joined member with/without blocked port 37 on master)
OK: YAML
Comment 6 Moritz Muehlenhoff univentionstaff 2014-12-04 12:20:50 CET
http://errata.univention.de/ucs/4.0/4.html