Aktualisierungen für opsi 4.1 (in Testing)

Neuigkeiten und Ankündigungen
Antworten
Benutzeravatar
j.werner
uib-Team
Beiträge: 64
Registriert: 08 Okt 2019, 13:32

Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von j.werner »

Sehr geehrte opsi-Anwenderinnen und -Anwender,

es wurden Updates für opsi 4.1 in Testing veröffentlicht.

Debian 10 und Ubuntu 18-04 laufen nun mit signierten Kernel mit dem uib Key sowie Nutzung des Secure Boot mode wird jetzt protokolliert bzw. angezeigt.
In python-opsi (opsihwaudit.conf): Die Netzwerkgeschwindigkeit wird jetzt richtig ausgelesen (Fehler Betraf Windows).

Viele Grüße
J. Werner


***************************
Linux Pakete (Testing)
****************************
Paketname (Version)
--------------------------
debian9 (4.1.0.2-6)
debian10 (4.1.0.3-1)
ubuntu (4.1.0.2-4)
ubuntu18-04 (4.1.0.2-1)
ucs44* (4.1.0.1-3)
l-hwaudit (4.1.0.1-1)
l-desktop (4.1.0.5-4)
-----------------------------
*(inklusive univention-repository-4.4.tgz)


*****************************
Server-Pakete (Testing)
******************************
Paketname (Version)
------------------------------
python-opsi (4.1.1.79-2)
-------------------------------

Code: Alles auswählen

Changelogs:

------------------------------
debian9 (4.1.0.2-6) testing; urgency=low

  * kernel/initrd update

-- Mathias Radtke <m.radtke@uib.de> Wed 25 Sep 2019 07:42:00 +0100

------------------------------

debian10 (4.1.0.3-1) testing; urgency=low

  * updated to a signed kernel with the uib key
  * added text/log message when running in Secure Boot mode

 -- Mathias Radtke <m.radtke@uib.de> Mon 16 Sep 2019 10:50:00 +0200

------------------------------

ubuntu (4.1.0.2-4) stable; urgency=low

  * corrected proxy behaviour

-- Mathias Radtke <m.radtke@uib.de> Fri 27 Sep 2019 13:33:00 +0200

------------------------------

ubuntu18-04 (4.1.0.2-1) testing; urgency=low

  * updated to a signed kernel with the uib key
  * added text/log message when running in Secure Boot mode

-- Mathias Radtke <m.radtke@uib.de> Mon Sep 16 2019 15:13:00 +0200

------------------------------

ucs44 (4.1.0.1-3) testing; urgency=low

  * updated to use ucs442 codename

-- Mathias Radtke <m.ratdke@uib.de> Wed Oct 02 2019 09:40:00 +0200

ucs44 (4.1.0.1-2) testing; urgency=low

  * corrected upgrade version in temporary rc.local

-- Mathias Radtke <m.ratdke@uib.de> Thu Jun 06 2019 10:00:00 +0200

---------------------------------------------------------

l-desktop 4.1.0.5-4 ; stable ; urgency=low

  * ShellInAnIcon_desktop_localization_libreoffice_debuntu: reverted changes from 4.1.0.5-3

 -- Mathias Radtke <m.radtke@uib.de> Mon 30 Sep 2019 09:00:00 +0200

 -- Erol Ueluekmen <e.ueluekmen@uib.de> Wed, 23 Sep 2019 09:22:25 +0100

l-desktop 4.1.0.5-3 ; stable ; urgency=low

  * ShellInAnIcon_desktop_localization_libreoffice_debuntu: 
change option hunspell-$libreofficeLangLang$ to hunspell-$libreofficeLangLang$-$libreof

 -- Erol Ueluekmen <e.ueluekmen@uib.de> Wed, 23 Sep 2019 09:22:25 +0100

l-desktop 4.1.0.5-2 ; stable ; urgency=low

  * ShellInAnIcon_desktop_localization_libreoffice_debuntu: change
option hunspell-$libreofficeLangLang$

 -- Kasten Koepke <k.koepke@uib.de> Wed, 25 Jul 2019 09:22:25 +0100

--------------------------------

l-hwaudit 4.1.0.1-1; stable; urgency=low

  * Debian10 compatability added
  * new property to disable certificate check

-- Mathias Radtke <m.radtke@uib.de> Tue, 1 Oct 2019 10:45:00 +0200

------------------------------

python-opsi (4.1.1.79-2) stable; urgency=medium

  * opsihwaudit.conf: Windows: Fix reading speed of network interfaces.

 -- Niko Wenselowski <n.wenselowski@uib.de>  Mon, 07 Oct 2019 10:25:45 +0200

python-opsi (4.1.1.79-1) stable; urgency=medium

  * OPSI.Backend.MySQL.MySQL / OPSI.Backend.SQLite.SQLite: getTables 
will now always return the table names in uppercase.

 -- Niko Wenselowski <n.wenselowski@uib.de>  Tue, 01 Oct 2019 14:16:20 +0200
----------------------------------------

SirTux
Beiträge: 558
Registriert: 05 Feb 2011, 18:37

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von SirTux »

l-hwaudit funktioniert leider nicht.

Da fehlt leider ein not:

Code: Alles auswählen

if $distrotype$ = 'debian'
	set $resultlist$ = shellCall("dpkg -l | grep python-opsi")
	if ("" = takeFirstStringContaining($resultlist$, "python-opsi"))
		comment "python-opsi is installed"
	else
		comment "python-opsi is not installed, installing""
Das allein reicht aber nicht:

Code: Alles auswählen

./lshw -xml 2
lshw: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
EDIT: Das hier ist übrigens weiterhin aktuell. Aber das erledigt sich natürlich irgendwann von selbst ;)
SirTux
Beiträge: 558
Registriert: 05 Feb 2011, 18:37

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von SirTux »

SirTux hat geschrieben: Das allein reicht aber nicht:

Code: Alles auswählen

./lshw -xml 2
lshw: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Mit dem Ubuntu-Binary funktioniert es. Ich habe sowieso noch nicht so ganz verstanden, wieso ihr unbedingt euer eigenes Binary mitliefern müßt.

Code: Alles auswählen

[files_move_lshw]
copy "/usr/bin/lshw" "/usr/local/bin"
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1515
Registriert: 10 Jun 2015, 12:19

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von m.radtke »

Hi

ist nun in experimental gefixt.

Wir liefern unsere eigene hwaudit aus, da sich mit den aktuellen Versionen der Output geändert hat und wir den dann nicht sauber parsen können.

Zum Fehler: Ein explizites setzen der locales sorgt hier auf einer Testmaschine für einen sauberen Durchlauf.

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

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von SirTux »

m.radtke hat geschrieben:Zum Fehler: Ein explizites setzen der locales sorgt hier auf einer Testmaschine für einen sauberen Durchlauf.
IMO ist Aufgabe eines Pakets zu gewährleisten, daß es fehlerfrei durchläuft.
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1515
Registriert: 10 Jun 2015, 12:19

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von m.radtke »

SirTux hat geschrieben:
m.radtke hat geschrieben:Zum Fehler: Ein explizites setzen der locales sorgt hier auf einer Testmaschine für einen sauberen Durchlauf.
IMO ist Aufgabe eines Pakets zu gewährleisten, daß es fehlerfrei durchläuft.
l-hwaudit 4.1.0.1-3 fixt es.

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

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von SirTux »

Danke es läuft jetzt durch :)

Allerdings finden sich noch die Meldungen im Log:

Code: Alles auswählen

(681)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   Start including tail of LogFile "/tmp/hwaudit.log with encoding: utf8"
(682)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ################################################################
(683)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [2] [Oct 17 09:44:04]      ==>>> Opsi rpc error: (2006, 'MySQL server has gone away') (JSONRPC.py|112)
(684)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: B.02.16
(685)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:45:24] Key 'description' not found (Posix.py|3655)
(686)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:45:24] Key 'serial' not found (Posix.py|3655)
(687)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:45:24] Key 'description' not found (Posix.py|3655)
(688)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:45:24] Key 'serial' not found (Posix.py|3655)
(689)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: B.02.16
(690)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'description' not found (Posix.py|3655)
(691)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'serial' not found (Posix.py|3655)
(692)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'description' not found (Posix.py|3655)
(693)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'serial' not found (Posix.py|3655)
(694)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   ################################################################
(695)     [7] [Oct 17 09:49:05:623] [l-hwaudit]   End including LogFile "/tmp/hwaudit.log"
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1515
Registriert: 10 Jun 2015, 12:19

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von m.radtke »

Das kann ich hier nicht nachvollziehen

Code: Alles auswählen

2006, 'MySQL server has gone away') (JSONRPC.py|112)
probiere es erneut aus.
Hast Du eine aktuelle opsihwaudit.conf?

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

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von SirTux »

Vielleicht liegt es an der UCS-Mariadb? Die etc/opsi/hwaudit/opsihwaudit.conf sollte aktuell sein.

Bei einem erneuten Versuch kam die Meldung aber tatsächlich nicht:

Code: Alles auswählen

(681)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   Start including tail of LogFile "/tmp/hwaudit.log with encoding: utf8"
(682)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ################################################################
(683)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 09:45:24] Key 'serial' not found (Posix.py|3655)
(684)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: B.02.16
(685)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'description' not found (Posix.py|3655)
(686)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'serial' not found (Posix.py|3655)
(687)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'description' not found (Posix.py|3655)
(688)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 09:49:05] Key 'serial' not found (Posix.py|3655)
(689)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: B.02.16
(690)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 11:46:51] Key 'description' not found (Posix.py|3655)
(691)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 11:46:51] Key 'serial' not found (Posix.py|3655)
(692)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 11:46:51] Key 'description' not found (Posix.py|3655)
(693)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ==>: [3] [Oct 17 11:46:51] Key 'serial' not found (Posix.py|3655)
(694)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   ################################################################
(695)     [7] [Oct 17 11:46:52:419] [l-hwaudit]   End including LogFile "/tmp/hwaudit.log"
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Aktualisierungen für opsi 4.1 (in Testing)

Beitrag von n.wenselowski »

SirTux hat geschrieben:Vielleicht liegt es an der UCS-Mariadb? Die etc/opsi/hwaudit/opsihwaudit.conf sollte aktuell sein.
Nein, das liegt vermutlich daran, dass der Server die Verbindung geschlossen hat.
Mehr Infos im Manual (inkl. Fix)

Code: Alles auswählen

import OPSI
Antworten