Bug 32153 - Definierte Reihenfolge der Setup-Skripte
Definierte Reihenfolge der Setup-Skripte
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 3.1
Other Linux
: P3 normal (vote)
: UCS 3.1-1-errata
Assigned To: Arvid Requate
Felix Botner
:
Depends on: 29714
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-05 08:33 CEST by Stefan Gohmann
Modified: 2013-08-15 12:49 CEST (History)
5 users (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 2013-08-05 08:33:02 CEST
We should fix this in an erratum.

+++ This bug was initially created as a clone of Bug #29714 +++

(In reply to Sönke Schwardt-Krummrich from comment #6)
> Please also fix setup-join.sh. The script does the following steps (among
> others) in this order:
> 1) SSL
> 1.1) run rdate 
> 1.2) create new SSL certificate
> 2) timezone
> 2.1) set timezone
> 2.2) /etc/init.d/ntp-server stop; /etc/init.d/ntpdate restart; 
>      /etc/init.d/ntp-server start
> 3) power up the network
> 
> Problems:
> → rdate is run before the network is up → rdate works only if the systems
> starts via DHCP with valid route to the internet
> → ntp-server does not exist anymore → new script name seems to be "ntp"
> → ntpdate seems not to provide a init script anymore (ntpdate binary was 
>   installed)
Comment 1 Arvid Requate univentionstaff 2013-08-06 12:41:43 CEST
The changes from Bug #29714 have been backported to errata3.1-1.
Advisory: 2013-08-06-univention-system-setup.yaml
Comment 2 Felix Botner univentionstaff 2013-08-07 13:53:02 CEST
OK - rdate before ssl

__NAME__:40_ssl/10ssl Erstellen der SSL-Zertifikate
Wed Aug  7 12:37:20 CEST 2013
Setting ssl/email
Generating RSA private key, 2048 bit long modulus

OK - ntp stuff in 10timezone

__NAME__:35_timezone/10timezone Einrichten der Zeitzonen
Stopping NTP server: ntpd.
 7 Aug 12:08:51 ntpdate[3463]: no servers can be used, exiting
Starting NTP server: ntpd.

OK - SSL after network and timezone setup

...
=== 30_net/10interfaces (2013-08-07 13:08:33) ===
=== 30_net/11ipv6interfaces (2013-08-07 13:08:42) ===
=== 30_net/12gateway (2013-08-07 13:08:42) ===
=== 30_net/13ipv6gateway (2013-08-07 13:08:49) ===
=== 30_net/14nameserver (2013-08-07 13:08:49) ===
=== 30_net/16forwarder (2013-08-07 13:08:49) ===
=== 30_net/18proxy (2013-08-07 13:08:51) ===
=== 35_timezone/10timezone (2013-08-07 13:08:51) ===
=== 40_ssl/10ssl (2013-08-07 12:08:51) ===
...

OK - script order in setup-join.sh

OK - script order in system-setup

OK - YAML
Comment 3 Moritz Muehlenhoff univentionstaff 2013-08-15 12:49:33 CEST
http://errata.univention.de/ucs/3.1/168.html