Updates für opsi 4.1 / 4.2 stable und testing

Neuigkeiten und Ankündigungen
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von d.oertel »

Sehr geehrte opsi-Anwenderinnen und -Anwender,

hiermit haben wir weitere Pakete für opsi 4.1 / 4.2 in Testing und Stable veröffentlicht.

================

Wichtige Punkte in diesem Release:

* Die Windows NT6 (4.2.0.1-2) enthalten einen fix der verhindert, das nach der Windows-Installation, die Installation mit eingelogtem Administrator stehen bleibt.

* Die WIM Capture Produkte sind aktualisiert worden und an opsi 4.2 angepasst.
Für WIM Capture unter opsi 4.2 unbedingt verwenden aber auch unter 4.1 empfohlen.

* opsi-local-image-restore fixed einen Fehler in aktuellen bootimages

* opsi-winst 4.12.4.21-2 fixed ein Problem das bei der Installation mit Custom Skin Anpassungen aufgetreten ist.

* opsi-utils enthält einen Hotfix zur Vermeidung der Aktivierung von Produkten durch autosetup wie z.B. windomain

=====================================
Aktualisierte Pakete in Testing:
=====================================

Windows Localboot Pakete:

* opsi-setup-detector 4.2.0.6-1
* opsi-wim-capture 4.2.0.0-1
* opsi-client-agent_4.1.1.39-1
* opsi-winst_4.12.4.21-2
* opsi-script-test 4.12.4.21-1

Linux Localboot Pakete:

* opsi-setup-detector 4.2.0.6-1
* opsi-script_4.12.4.21-1
* opsi-script-test 4.12.4.21-1

opsi-local-image Localboot Pakete:

* opsi-local-image-backupstarter 4.2.0.0-1
* opsi-local-image-wimcapture 4.2.0.0-1

macOS Localboot Pakete:

* opsi-setup-detector 4.2.0.6-1
* opsi-script_4.12.4.21-1
* opsi-script-test 4.12.4.21-1

Windows Netboot Pakete:

* win (NT6) 4.2.0.1-2

Linux Netboot Pakete:

* ubuntu 4.1.0.4-7

opsi-local-image Netboot Pakete:

* win (NT6) 4.2.0.1-2
* opsi-local-image-restore 4.1.0.1-6

opsi Server Pakete:

* opsi-utils 4.2.0.105-1
* In opsi 4.2: opsi-linux-bootimage_20210618-1
* opsiconfd 4.2.0.180-1


opsi Manuals:

* none

=====================================
Aktualisierte Pakete in Stable:
=====================================

Windows Localboot Pakete:

* opsi-winst_4.12.4.21-2

Linux Localboot Pakete:

* opsi-linux-client-agent 4.1.1.15-2

opsi-local-image Localboot Pakete:

* none

macOS Localboot Pakete:

* none

Windows Netboot Pakete:

* none

Linux Netboot Pakete:

* none

opsi-local-image Netboot Pakete:

* none

opsi Server Pakete:

* opsi-directory-connector (46.1-1)
* In opsi 4.1: opsi-linux-bootimage_20210607-1
* opsi-utils 4.2.0.105-1

##########

mit freundlichen Grüßen
das opsi-team
i.A. detlef oertel

##########

Hier kommen die

Changelogs

===========================================================================================

opsi-wim-capture (4.2.0.0-1) stable; urgency=low (opsi-local-image-wim-capture)

* setup.opsiscript: Windows only
* update to wimlib 1.13.4
* additional check for mounts with net use
* additional Log Warnings for missing access rights on opsi_depot_rw
* capture.xml: remove unneeded <cpi:offlineImage> node
* adapt to switch from winst32.exe to opsi-script.exe
* code cleanup
* try to find partitions even with boot or data partition (not OLI only)
* for detecting if reboot is less than 2 hours use <INT (OLI only)

-- detlef oertel <d.oertel@uib.de> Mon, 14 June 2021 15:00:00 +0000

===========================================================================================

opsi-setup-detector (4.2.0.6) stable; urgency=low

* start at windows without console: osdform: main2: // initate console while windows gui
* enhanced macos install library

-- Detlef Oertel <d.oertel@uib.de> Fri, 18 July 2021 : 15:00:00 +0200

===========================================================================================

windows (4.2.0.1-2) testing; urgency=low

* preventing double autologon
* typo in opsisetuplib.py fixed
* replaced deprecated dict.has_key()

-- Mathias Radtke <m.radtke@uib.de> Thu Jun 17 14:04:26 2021 +0200


windows (4.2.0.1-1) testing; urgency=low

* removed NT5 stuff, adapted postinst part to action processor opsi-script

-- Nils Doerrer <n.doerrer@uib.de> Tue May 25 15:26:06 2021 +0200

===========================================================================================

opsi-local-image-restore (4.1.0.1-6) stable; urgency=low

* replaced deprecated disctionary function

-- Mathias Radtke <m.radtke@uib.de> Thu 17 Jun 2021 11:09:00 +0200

===========================================================================================

opsi-local-image (4.2.0.1-2) testing; urgency=low

* preventing double autologon
* typo in opsisetuplib.py fixed
* replaced deprecated dict.has_key()

-- Mathias Radtke <m.radtke@uib.de> Thu Jun 17 14:20:39 2021 +0200


opsi-local-image (4.2.0.1-1) testing; urgency=low

* removed NT5 stuff, adapted postinst part to action processor opsi-script

-- Nils Doerrer <n.doerrer@uib.de> Tue May 25 15:26:06 2021 +0200

===========================================================================================

opsi-linux-bootimage (20210618-1) testing; urgency=medium

* updated python-opsi

-- Mathias Radtke <m.radtke@uib.de> Fri, 18 Jun 2021 13:40.00 +0200

opsi-linux-bootimage (20210607-1) testing; urgency=low

* kernel 5.12.9

-- Mathias Radtke <m.radtke@uib.de> Mon, 07 Jun 2021 12:40:00 +0200

===========================================================================================

opsi-directory-connector (46.1-1) stable; urgency=medium

* Improvement: config (yaml): convert tabs to spaces

-- uib GmbH <info@uib.de> Fri, 11 Jun 2021 11:21:49 +0000

===========================================================================================

opsi-utils (4.2.0.105-1) stable; urgency=medium

* Improvement: Update python-opsi

-- uib GmbH <info@uib.de> Tue, 22 Jun 2021 11:50:03 +0200

opsi-utils (4.2.0.104-1) stable; urgency=medium

* Feature: Add macOS repo for opsi-package-updater
* Improvement: Update python packages

-- uib GmbH <info@uib.de> Mon, 21 Jun 2021 13:25:39 +0200

===========================================================================================

opsiconfd (4.2.0.180-1) stable; urgency=medium

* Improvement: Update python packages
* Feature: Allow client certificate creation

-- uib GmbH <info@uib.de> Fri, 18 Jun 2021 15:39:43 +0200

===========================================================================================

opsi-winst (4.12.4.21-2) testing; urgency=medium

* fixed preinst/postinst handling of custom skin files

-- Nils Doerrer <n.doerrer@uib.de> Tue, 21 Jun 2021 10:00:00 + 0100

===========================================================================================

opsi-local-image-backup-starter (4.2.0.0-1) stable; urgency=low

* code cleanup
* removed file: "uib_reboot_lib"
* removed file: opsihwbiosinfo.exe

-- detlef oertel <d.oertel@uib.de> Thu, 17 June 2021 15:00:00 +0200

===========================================================================================

ubuntu (4.1.0.4-7) testing; urgency=low

* removed old distributions

-- Mahtias Radtke <m.radtke@uib.de> Tue May 25 11:00:00 2021 +0200

===========================================================================================

opsi-script-test (4.12.4.21-1) stable; urgency=low

* Testing resolveSymlink
* Testing forcePathDelims(<path string>)
* Testing isSymLink(const filepath : string) : boolean
* fix test FileOrFolderExists and FileExists tests for linux

-- detlef oertel <d.oertel@uib.de> Wed, 19 Mai 2021 15:00:00 +0200

===========================================================================================

opsi-linux-client-agent (4.1.1.15-2) testing; urgency=low

* Fixed installation with custom files

-- Nils Dörrer <n.doerrer@uib.de> Mon, 17 May 2021 09:00:00 +0100

opsi-linux-client-agent (4.1.1.15-1) testing; urgency=low

* updated opsi-script to 4.12.4.20
* Updated opsi-client-systray to 4.1.2.4

-- Nils Dörrer <n.doerrer@uib.de> Wed, 12 May 2021 14:00:00 +0100

opsi-linux-client-agent (4.1.1.14-1) testing; urgency=low

* Fixed opsi-deploy-client-agent
* Updated opsiclientd to 4.2.0.70

-- Nils Dörrer <n.doerrer@uib.de> Thu, 019 Apr 2021 12:00:00 +0100

opsi-linux-client-agent (4.1.1.13-1) testing; urgency=medium

* Update opsiclientd to 4.2.0.69
* Update opsi-script to 4.12.4.17
* Update opsi-notifier to 4.2.0.0
* Update opsi-deploy-client-agent 4.2.0.6

-- Nils Doerrer <n.doerrer@uib.de> Wed, 14 Apr 2021 10:30:00 + 0100

===========================================================================================

opsi-client-agent (4.1.1.39-1) stable; urgency=low

* Update opsiclientd to 4.2.0.77

-- Jan Schneider <j.schneider@uib.de> Wed, 21 Jun 2021 08:45:00 +0100

===========================================================================================
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
SirTux
Beiträge: 566
Registriert: 05 Feb 2011, 18:37

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von SirTux »

Da scheint wohl ein Bug (in testing) zu sein:

Code: Alles auswählen

root@opsi:~# opsi-package-updater -vv update
[6] [2021-06-22 17:02:52.960] [               ] Zsync command found: /usr/bin/zsync   (opsipackageupdater.py:272)
[6] [2021-06-22 17:02:53.004] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:156)
[6] [2021-06-22 17:02:53.004] [               ] Backend context was set to <BackendManager()>   (Backend.py:176)
[6] [2021-06-22 17:02:53.004] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:56)
[6] [2021-06-22 17:02:53.005] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:118)
[6] [2021-06-22 17:02:53.007] [               ] Backend context was set to <BackendManager()>   (Backend.py:176)
[6] [2021-06-22 17:02:53.007] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:118)
[6] [2021-06-22 17:02:53.193] [               ] Backend context was set to <BackendManager()>   (Backend.py:176)
[6] [2021-06-22 17:02:53.206] [               ] Connecting to mysql://opsi:***secret***@localhost/opsi   (MySQL.py:131)
[6] [2021-06-22 17:02:53.265] [               ] Failed to connect to socket ((MySQLdb._exceptions.OperationalError) (2005, "Unknown MySQL server host 'password@localhost' (-2)")
(Background on this error at: http://sqlalche.me/e/14/e3q8)), retrying with tcp/ip   (MySQL.py:107)
[6] [2021-06-22 17:02:53.265] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi   (MySQL.py:131)
[3] [2021-06-22 17:02:53.267] [               ] (MySQLdb._exceptions.OperationalError) (2005, "Unknown MySQL server host 'password@127.0.0.1' (-2)")
(Background on this error at: http://sqlalche.me/e/14/e3q8)   (opsipackageupdater.py:312)
EDIT: Der opsiconfd ist anschließend down. Ein Downgrade von opsi-utils behebt das Problem.
SirTux
Beiträge: 566
Registriert: 05 Feb 2011, 18:37

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von SirTux »

Hm scheint doch der opsiconfd 4.2.0.180-1. Aber als ich erst nur den downgegradet habe, kam der Fehler immer noch.

EDIT: Scheint, daß beide Pakete betroffen sind
SirTux
Beiträge: 566
Registriert: 05 Feb 2011, 18:37

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von SirTux »

In stable kann man als opsi-admin wohl auch kein Backup mehr machen:

Code: Alles auswählen

$ opsi-backup create

ERROR: [Errno 13] Permission denied: '/etc/opsi/ssl/opsiconfd-cert.pem'
SirTux
Beiträge: 566
Registriert: 05 Feb 2011, 18:37

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von SirTux »

Die aktuellen Versionen des opsi-client-agents failen übrigens gerne mal beim Update im On-Shutdown-Modus.
feltel
Beiträge: 218
Registriert: 09 Dez 2014, 07:22

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von feltel »

SirTux hat geschrieben:In stable kann man als opsi-admin wohl auch kein Backup mehr machen:

Code: Alles auswählen

$ opsi-backup create

ERROR: [Errno 13] Permission denied: '/etc/opsi/ssl/opsiconfd-cert.pem'
Ja, das geht nicht, da nur der User opsiconfd Rechte auf das File hat, und root natürlich per-se:

Code: Alles auswählen

root@nova:/etc/opsi/ssl# ls -alh
total 24K
drwxr-x--- 2 opsiconfd opsiadmin 4.0K Jun  6 08:59 .
drwxrwx--- 7 opsiconfd opsiadmin 4.0K Jun 22 15:38 ..
-rw-r--r-- 1 opsiconfd opsiadmin 2.1K Jun  6 08:59 opsi-ca-cert.pem
-rw------- 1 opsiconfd opsiadmin 3.4K Jun  6 08:59 opsi-ca-key.pem
-rw------- 1 opsiconfd opsiadmin 2.5K Jun  6 08:59 opsiconfd-cert.pem
-rw------- 1 opsiconfd opsiadmin 3.4K Jun  6 08:59 opsiconfd-key.pem
SirTux
Beiträge: 566
Registriert: 05 Feb 2011, 18:37

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von SirTux »

Danke aber mir ist schon klar was die Ursache ist ;)

Es hat aber vorher funktioniert und es handelt sich somit um einen Breaking Change.
Benutzeravatar
fkalweit
uib-Team
Beiträge: 176
Registriert: 23 Okt 2020, 16:14

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von fkalweit »

Hallo,

der Ordner /etc/opsi/ssl ist mit v4.2 dazugekommen und dadurch kann ein Backup nur als root erstellt werden.
Wir werden noch eine entsprechende Meldung in opsi-backup einbauen.

Mit freundlichen Grüßen
fkalweit
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von m.radtke »

Zur Meldung von fkalweit ist noch hinzuzufügen das der Inhalt des Ordners /etc/opsi/ssl aus sicherheitsgründen nur vom Benutzer root gelesen/geschrieben werden kann

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
SirTux
Beiträge: 566
Registriert: 05 Feb 2011, 18:37

Re: Updates für opsi 4.1 / 4.2 stable und testing

Beitrag von SirTux »

Ich sage nichts gegen die Änderung an sich, aber die Konsequenzen, die das mit sich bringt, hätte man kommunizieren können. Es ist nicht so schön, wenn das Backup nicht mehr funktioniert (ich habs zum Glück sofort gemerkt!).
Antworten