Bug 15782 - time ist in der inetd.conf nicht mehr aktiv
time ist in der inetd.conf nicht mehr aktiv
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 2.3
Assigned To: Felix Botner
Daniel Hofmann
:
Depends on:
Blocks: 14432
  Show dependency treegraph
 
Reported: 2009-10-02 09:29 CEST by Stefan Gohmann
Modified: 2016-10-28 15:58 CEST (History)
0 users

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 2009-10-02 09:29:56 CEST
time ist nicht mehr in der inetd.conf aktiv:

root@master:~# grep update-ine /var/lib/dpkg/info/univention-server-master.postinst
        update-inetd --debug --comment-chars '#' --enable time
root@master:~# update-inetd --debug --comment-chars '#' --enable time
Using mode "enable", group "OTHER", pattern "" and seperator "#"
ARGUMENT: time
root@master:~#
Comment 1 Felix Botner univentionstaff 2009-10-05 15:29:29 CEST
Ist inetd.conf ist ab lenny wohl standardmäßig leer und openbsd-inetd fügt time/daytime Einträge in die Datei nur ein, wenn diese nicht schon existiert. Daher muss der Eintrag für time nun also erstmal mit "--add" angelegt werden, bevor er mit "--enable" freigeschaltet werden kann. In der postinst Skripten der univentiob-server-* Pakete wird also nun folgendes ausgeführt:

update-inetd --add "time            stream  tcp     nowait  root    internal"
update-inetd --debug --comment-chars '#' --enable time
Comment 2 Daniel Hofmann univentionstaff 2009-10-23 14:29:13 CEST
Verified.
Auf aktuell installierten Systemen ist der Eintrag in der inetd.conf vorhanden.

master2332maintained:/root # netcat localhost 37 | hexdump
0000000 8cce 7615
0000004

8cce7615 entspricht zumindest mal einer 32-bit Zahl, wie im rfc 868 angegeben.
Comment 3 Stefan Gohmann univentionstaff 2009-12-21 08:48:17 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".