Beta Test linuxmuster.net 7.4

Vorhin gab es diese Meldung, als ich ein „linuxmuster-distupgrade“ gemacht habe. Relevant oder ignorieren?

und beim Ubuntu-Client (unter Proxmox):

Kann ignoriert werden.

Kennt jemand diesen Fehler?

Ich habe letzte Woche eine Instanz erfolgreich aktualisiert. Bei einer anderen tritt jedoch folgender Fehler auf:

Starting release upgrade…

/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Der Download wird als root und nicht Sandbox-geschützt durchgeführt, da auf die Datei »resolute.tar.gz.gpg« durch den Benutzer »_apt« nicht zugegriffen werden kann. - pkgAcquire::Run (13: Permission denied)
result = fetcher.run()
/usr/sbin/linuxmuster-release-upgrade: line 113: 3466 Segmentation fault (core dumped) do-release-upgrade $DFLAG -m server -f DistUpgradeViewNonInteractive
Upgrade failed obviously!

Alle Server wurden vor etwa einem Monat neu installiert und nach demselben Schema eingerichtet.

Hat jemand eine Idee, wodurch dieser Fehler verursacht werden könnte oder wie man ihn beheben kann?

LG Bernhard

Hallo Bernhard,

könnte es sein, dass gerade ein automatisches Update von ubuntu (sollte eigentlich abgeschaltet sein) läuft? Kurz nach dem booten macht ubuntu so ein erneuern der Paketlisten und locked während dessen apt. Versuch es vielleicht noch einmal.

LG
Holger

nein die waren deaktiviert, hab folgendes durchgeführt:

apt update
apt full-upgrade -y
apt autoremove -y
reboot

anschließend hat´s geklappt.

LG
Bernhard

Hallo zusammen,

Es gibt ein paar Neuigkeiten:

linuxmuster-tools7 — v7.4.11

  • Password management: new LMNUser methods set_actual_password(), set_first_password(), set_random_first_password() (policy-aware),
    test_first_password().
  • Removed the deprecated samba_util.UserManager class — password management now lives entirely in LMNUser.
  • Lazy-import Samba/smbclient bindings (faster load, breaks a circular import).
  • Fixed custom fields config resolution (issue #25): wrong singular/plural role lookup, only 4 of 5 custom fields read, and the config always loaded
    default-school’s settings regardless of the actual user’s school.
  • Fixed add_members()/remove_members() silently hiding per-user failures in a batch.
  • Fixed stale data when converting a group to an LMN group.
  • Added test coverage (custom fields, first-password methods, group batch failures) and READMEs for several modules.

linuxmuster-api7 — v7.4.7

  • New endpoint: POST /v1/users/{user}/set-random-first-password (server-side policy-compliant random password generation).
  • set-first-password now accepts an omitted password to reset the current password back to the existing first password.
  • Fixed authentication broken by a linuxmuster-tools API rename (Basic Auth/JWT issuance was failing).
  • Rate limiter now exempts local requests (127.0.0.1/::1, e.g. webui7 on the same host).
  • Added LINBO Windows driver API endpoints. (@amolani)
  • Added/updated tests for passwords, policy constraints, and the rate limiter.

linuxmuster-webui7 — v7.4.6

  • Migrated all password management (initial/current/random password, first-password check and reveal) from sophomorix-passwd/sophomorix-user shell-outs
    to linuxmuster-api.
  • Fixed the linuxmuster-api session client being lost after login (password actions could fail with a raw AttributeError).
  • Password-related errors now show a clear message (e.g. „linuxmuster-api is not available for this session“) instead of a raw technical error; added
    missing failure notifications for „Set initial password“/„Set random password“ on the student list.
  • Fixed redundant regex escapes / syntax warnings in the password complexity check.

linuxmuster-cli7 — v7.4.5

  • New lmngroup typer: ls, create, delete, legacy, migrate.
  • Added a complete pytest suite (previously 0% coverage) and READMEs for every typer.
  • Lazy-import Samba/smbclient bindings for faster startup.
  • Fixed quotas ls, mgmtgroup manage, samba drives and student manage each crashing or silently doing nothing on certain inputs — now show clear
    messages / handle partial failures gracefully instead.
  • Fixed printers missing from LDAP no longer disappearing silently from printers ls.
  • Fixed --school being accepted but ignored in linbo lastsync and schoolclass sync.

Die größte Änderung dabei ist, dass die Webui nun die LMNApi verwendet um die PW zu steuern. Der Grund ist, dass ab Ubuntu 26.04 sudo wurde durch sudo-rs ersetzt der nicht mehr den Parameter !syslog kennt. Als Konzequenz hat es bedeutet, dass die PW in einem sophomorix-passwd Befehl immer in syslog geloggt war. Jetzt ist es nicht mehr der Fall.

Gruß

Arnaud

Hallo zusammen,

Ich konnte weiterhin my todo-Liste abspecken, selbst wenn es noch viel zu tun gibt:

linuxmuster-tools 7.4.12

  • New: LinboRemote to build and run linbo-remote commands from Python — target a group, a room, or a list of clients (IP or hostname), with parameters and
    the position/partition number (nr) validated against the target’s start.conf before anything runs.
  • New: track linbo-remote’s tmux sessions (list_running_sessions(), attach_command()). Fixes a session-naming bug: tmux silently replaces the dot in
    .linbo-remote with an underscore, so sessions were never actually found. (see linuxmuster-api#32, thanks @TomlDev)
  • New: classify_host() reports a client’s boot state (Off / Linbo / OS Linux / OS Windows / OS Unknown) via plain TCP probes — no nmap, no asyncio, safe to
    call from the webui’s gevent workers.
  • Fix: format: used the digit in the partition’s device path instead of its actual position in start.conf’s [Partition] list — wrong as soon as
    partitions aren’t numbered in definition order.
  • Fix: .hash image extra files were unknown to LinboImage, left behind (orphaned) on rename/delete.
  • Fix: several images.py robustness issues — renaming/duplicating onto an existing path, or operating on an image group with a broken/missing .info file,
    now raise a clear error instead of silently failing or crashing the whole listing.
  • Fix: a custom_fields.yml entry present but missing a key (e.g. editable) caused a KeyError instead of falling back to a default.
  • Fix: GroupManager (samba_util) swallowed every exception when adding a member instead of only the benign „already a member“ case; a broken post-hook
    script could also fail the whole membership change even though the LDAP change had already succeeded.

linuxmuster-webui7 7.4.7

  • Change: the linbo_sync plugin now delegates to linuxmuster-tools instead of duplicating command-building, OS-detection, and last-sync logic locally.
  • Change: host online detection now reports a full boot state (Off / Linbo / OS Linux / OS Windows / OS Unknown) instead of shelling out to nmap.
  • Change: the LINBO image manager plugin (lmn_linbo4) drops its own 527-line images.py in favor of linuxmuster-tools’ LinboImageManager.
  • Change: management-group membership and parent assignment no longer shell out to sudo lmncli … — both now go through linuxmuster-api.
  • Fix: the internal linuxmuster-api client only accepted HTTP 200 as success (other 2xx codes were treated as errors) and crashed on an empty response
    body.

linuxmuster-api 7.4.8

  • New: dedicated /linbo/sync endpoints — build and run a linbo-remote command, list running sessions, read a session’s log, and probe a host’s boot state.
    Open to school-administrators (scoped to their own school), unrestricted for global-administrators. Closes #32 (thanks @TomlDev)
  • New: LINBO host state and boot-log endpoints — online scan, Wake-on-LAN, last-applied-image per host, and boot-log listing/reading/deletion. Closes #29
    (thanks @TomlDev), hardened afterwards (concurrent async scanning, non-blocking chunked image uploads).
  • New: a pytest config and make test target that seed test credentials automatically on a clean checkout. Closes #28, #30 (thanks @TomlDev)
  • New: optional webhook notification (HMAC-SHA256 signed, replay-protected) when a background sophomorix-check/add/update/kill job completes.
  • Change: sophomorix-check now runs as a background job like sophomorix-apply already did.
  • Change: management-group membership now goes through linuxmuster-tools’ GroupManager, scoped per-school.

linuxmuster-cli7 7.4.6

  • New: lmncli passwd — manage a user’s first (initial) and current login password (set, set random, reset, check), bringing the CLI to parity with
    the webui and API.
  • Fix: lmncli linbo lastsync adapted to linuxmuster-tools’ updated data shape.

Big thanks to @TomlDev for the issue and pull requests that shaped and kicked off the linbo-remote API work in this release (linuxmuster-api#28, #29, #30,
#32)!

Gruß

Arnaud

Great work Arnaud :raising_hands:

Hallo zusammen,

ich habe für die Doku zu v7.4 nun eine 2-Server from-scratch Installation durchgeführt. Danach habe ich mit linuxmuster-setup das Konsolen-Setup durchgeführt. Dies wird erfolgreich abgeschlossen, ich habe beide Server neu gestartet.

Problem danach ist, dass bei dem Versuch von einem Admin-PC via https://10.0.0.1 auf die WebUI zuzugreifen, dieses nicht möglich ist. Nutze ich nur http://10.0.0.1 kann ich mich als global-admin anmelden und erhalte dann nachstehenden Fehler wie in der Abb. In den Setup-Logs konnte ich keinen Fehler finden. Ich habe dann beide VMs wieder zurückgesetzt und das Setup erneut ausgeführt. Ich lande dann wieder bei genau diesem Fehler..

Was sollte ich prüfen ?

genutzte Pakete sind: https://docs.linuxmuster.net/de/v7.4/_images/lmn-setup-terminal-01.png

LG

Chris

Hallo Chris,

Vielen Dank für deinen Test, ich sehe die Ursache: anscheinend ist den Pfad für alle Installsskripts /usr/lib/python3/dist-packages/linuxmuster_base7/setup/ und nicht mehr /usr/lib/linuxmuster/setup.d/, das habe ich irgendwie verpasst.

Damit wird bei der Installation die Webui gar nicht konfiguriert. Ich schau es mal heute oder morgen.

Gruß

Arnaud

Hallo Chris,

Ich habe gerade neue Pakete veröffentlicht, und ich hoffe es löst das Problem (bin nicht sicher).
Ich werde heute Abend oder morgen noch mal testen können.

Gruß

Arnaud

Hallo Arnaud,

vielen Dank für den schnellen Fix. Ich habe die VMs nochmals zurückgesetzt alle Pakete aktualisiert und das Setup im Terminal erneut ausgeführt. Es läuft vollständig ohne Fehler durch und nach dem Neustart kann ich mich via https://10.0.0.1 an der WebUI als global-admin anmelden.

Das siehst soweit gut aus :grinning_face_with_smiling_eyes:

VG

Chris

P.S. In der WebUI erscheint nach dem v7.4 Setup noch der Hinweis auf 7.3 :grinning_face_with_smiling_eyes:

Hallo Arnaud, Hallo Thomas,

noch eine Rückfrage:

Nachdem das aktuelle lmn-prepare Skript kein lvm mehr unterstützt, war ich davon ausgegangen, dass nun btrfs genutzt wird. Das scheint aber nicht der Fall zu sein, in der github Beschreibung wird von ext4 gesprochen.

Ich habe eine Testinstallation für lmn 7.4 mit btrfs und subvolumes durchgeführ und dokumentiert. Das Ganze funktioniert soweit auch. Quotas habe ich noch keine aktiviert.

Lege ich via WebU neue Nutzer an, dann werden diese zwar angelegt, aber ich erhalte immer in der Ausgabe Samba Quota-Fehler.

Daher die Frage an Euch: Wie ist hier die weitere Planung mit anderen Dateisystemen als etx4? Was sollen wir in der Doku beschreiben - bleiben wir bei ext4 mit Quota ohne lvm ?

LG

Chris

Guten Morgen allerseits,

Wenn ich beim Registy Patch z.b Copy from → win10.image.reg ausführe und anschließend speichern klicke kommt folgender Fehler:

Traceback (most recent call last): File "/opt/linuxmuster/lib/python3.14/site-packages/aj/api/endpoint.py", line 77, in wrapper result = fx(self, context, *args, **kwargs) File "/usr/lib/linuxmuster-webui/plugins/lmn_linbo4/views.py", line 197, in handle_api_post_image diff = http_context.json_body()['diff'] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ KeyError: 'diff'

kann mir hier jemand weiter helfen?

LG Bernhard

Hallo Chris,

sorry, da hatten wir wohl ein Missverständnis. Btrfs wird im Moment von unserem Setup nicht unterstützt. Ich meinte nur, dass wenn jemand eine flexible Partitionierung mit Subvolumes auf dem Server will, kann er das mit Btrfs machen. Die Installation ist kein Problem. Allerdings muss er sich dann um Quotaaktivierung etc. selbst kümmern.
Der wohl mit Abstand meist genutzte Installationsfall ist IMO, dass alles in eine Partiton installiert wird. Spezielle Setups können und wollen wir nicht unterstützen, sind aber möglich, wenn man sich auskennt.

VG, Thomas

Hallo Thomas,

linuxmuster.net packages:
█████ -Base…: 7.4.9
███ -Linbo…: 7.4.11
███ ███ -WebUI…: 7.4.9
█████ █████ -Tools…: 7.4.13
███ ███ -API…: 7.4.9
███ ███ -CLI…: 7.4.7
█████ █████ -Sophomorix…: 7.4.3

ich habe mit Linbo 2 Probleme:
mit einer eingebauten W-Lan Karte lassen sich in Linbo Images hochladen, aber nicht herunterladen.

Differentielles Image bleibt hängen mit read error bei einigen Dateien in dem Windows Profil.

Viele Grüße

Steffen

Moin!

linuxmuster-base v7.4.12 bringt u.a. einen Securityfix, der einen ungesicherten Zugriff auf die cups-Konfiguration schließt:

  1. fix(cupsd.conf): cups problem version >= cups-2.4.7-1.2ubuntu7.9 (#189).
  2. fix(cupsd.conf): require @System auth for /admin/conf (#190).
  3. setup(z_final.py): add webui service restart (9114202).

Außerdem wird @printing in cupsd.conf ergänzt und am Ende des Setups das Webui neu gestartet. Es wird dringend empfohlen das Paket zeitnah einzuspielen.

linuxmuster-prepare v7.4.1 bringt eine verbesserte Version von linuxmuster-distupgrade, das Linuxmuster-Pakete per „reinforce-install“ auch installiert, wenn sie durch geänderte Abhängigkeiten vom Paketsystem zurückgehalten werden. Außerdem kann per Option -c\|--clean ein Leeren des Paketcaches erzwungen werden:

  1. fix(linuxmuster-distupgrade): reinforce-install linuxmuster-* packages
    before dist-upgrade, so a new dependency conflicting with an installed
    package (e.g. dracut vs. initramfs-tools since linuxmuster-base7 7.4.11)
    no longer leaves the package held back (df24dd4).
  2. feat(linuxmuster-distupgrade): add -c|–clean (runs „apt-get clean“ at
    the end) and -h|–help options (5bf751d).

Hinweis: Wenn beim Distupgrade das Paket linuxmuster-base7 zurückgehalten wurde, einfach noch einmal linuxmuster-distupgrade ausführen.

VG, Thomas

Hallo Steffen!

Gibt es eine Logdatei?

Leider ein bekanntes Problem im Zusammenhang mit ntfs-Dateisystem. Da hilft IMO nur auf Differentielle Images zu verzichten.

VG, Thomas

image.log ist leer
linbo.log:

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2003,2002,0001,2001
Boot0001* EFI Hard Drive (SKHynix_HFM256GDHTNI-87A0B) PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-05-93-46-6D)/HD(1,GPT,f3aaadac-9593-4b82-8d77-f95ef7174feb,0x800,0x64000)RC
Boot0002* EFI PXE 0 for IPv4 (3C-18-A0-1A-5E-E3) PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/MAC(3c18a01a5ee3,0)/IPv4(0.0.0.0,0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)RC
Boot0003* EFI PXE 0 for IPv6 (3C-18-A0-1A-5E-E3) PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/MAC(3c18a01a5ee3,0)/IPv6([::],0,Static,[::],[::],64)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
BootOrder: 0000,2003,2002,0001,2001
Boot0000* LINBO HD(1,GPT,f3aaadac-9593-4b82-8d77-f95ef7174feb,0x800,0x64000)/\EFI\grub\grubx64.efi
EFI boot entry for LINBO successfully created.
BootOrder: 0000,0002,2003,2002,0001,2001
Linbo & grub update successfully finished.
Requesting upload of /tmp/linbo.log …
Cannot resolve user name systemd-timesync: No such process

20260811-175338 linbo_mountcache

Copied start.conf successfully to cache.
Successfully saved hostname cnb01.linuxmuster.osolb.de to cache.
Collecting hardware info.

20260811-175345 init end

] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)

20260811-175345 linbo_vnc

20260811-175345 linbo_update_gui

20260811-175345 linbo_mountcache

20260811-175345 linbo_download linbo_gui64_7.tar.lz

20260811-175345 linbo_download icons/win10.svg

20260811-175345 linbo_gui

[Info] Starting to parse start.conf
[Info] Finished parsing start.conf
[Info] Loading environment values
[Info] Executing: linbo_cmd ip
[Info] Executing: linbo_cmd netmask
[Info] Executing: linbo_cmd bitmask
16
[Info] Executing: linbo_cmd mac
[Info] Executing: linbo_cmd version
[Info] Executing: linbo_cmd hostname
cnb01
[Info] Executing: linbo_cmd cpu
Intel(R) Core™ i5-1035G1 CPU @ 1.00GHz
[Info] Executing: linbo_cmd memory
[Info] Executing: linbo_cmd size_cache
84.9/97.9GB
[Info] Executing: linbo_cmd size_disk
238.5GB
[Info] Executing: linbo_cmd listimages /dev/nvme0n1p4

20260811-175347 linbo_mountcache

lalap-win11-en.qcow2
[Info] Finished loading environment values
[Info] Linbo state changed to: 2
[Info] Beginning autostart timeout for Windows 11
[Info] Cancelling autostart
[Info] Linbo state changed to: 3
[+++ Chapter +++] Authenticating with password.
[Info] Executing: linbo_cmd authenticate 10.16.1.1 linbo 18hj05O!

20260811-175403 linbo_auth

Using local authentication …
Password matches.
[Info] Linbo state changed to: 8
[+++ Chapter end +++] Authentication SUCCESSFULL
[+++ Chapter +++] Updating cache
[Info] Linbo state changed to: 13
[Info] Executing: linbo_cmd initcache_format 10.16.1.1 /dev/nvme0n1p4 torrent lalap-win11-en.qcow2

20260811-175417 linbo_initcache_format

20260811-175417 linbo_initcache

Formatting cache partition /dev/nvme0n1p4 …

20260811-175417 linbo_format /dev/nvme0n1p4

Formatting /dev/nvme0n1p4 with ext4 …Formatting /dev/nvme0n1p4 with ext4 …Formatting /dev/nvme0n1p4 with ext4 …Formatting /dev/nvme0n1p4 with ext4 …
mke2fs 1.47.2 (1-Jan-2025)
Discarding device blocks: 0/26214400Discarding device blocks: 0/26214400Discarding device blocks: 0/26214400mke2fs 1.47.2 (1-Jan-2025)
Discarding device blocks: 0/26214400
done
Creating filesystem with 26214400 4k blocks and 6553600 inodes
Filesystem UUID: f14831d5-0a01-421d-aaba-7e2ff3a63372
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: 0/800Creating filesystem with 26214400 4k blocks and 6553600 inodes
Allocating group tables: 0/800 done
done
Writing inode tables: 0/800 done
done
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: 0/800 done
Writing inode tables: 0/800 done
Creating journal (131072 blocks): Creating journal (131072 blocks): Creating journal (131072 blocks): Creating journal (131072 blocks):
done
Writing superblocks and filesystem accounting information: Writing superblocks and filesystem accounting information: Writing superblocks and filesystem accounting information: Writing superblocks and filesystem accounting information:
0/800 0/800 0/8000/800
  
OK!
OK!

20260811-175418 linbo_update

20260811-175418 linbo_mountcache

Mounting cache partition /dev/nvme0n1p4 …

20260811-175418 linbo_mount /dev/nvme0n1p4 /cache

ext4
Looking for LINBO updates.

20260811-175418 linbo_download linbofs64.md5

20260811-175419 linbo_download linbofs64

20260811-175422 linbo_download linbo64

20260811-175422 linbo_download linbo64.md5

Downloading torrent-client.conf.
Downloading multicast.list.
Downloading linbo wallpaper.
Updating ipxe file.

20260811-175423 linbo_download boot/grub/ipxe.efi

Updating common grub configuration.

20260811-175423 linbo_download boot/grub/spool/cnb01.eng-lap.grub.cfg

grub.cfg was updated.
Updating host and group specific grub configuration.

20260811-175423 linbo_download boot/grub/hostcfg/cnb01.cfg

custom.cfg was updated.
Updating grub themes … OK!
Updating linuxmuster-win … OK!
mk_boot
prepare_grub /cache/boot/grub /cache/boot/grub/grubenv /usr/share/grub
Providing grub environment in cache …

  • Providing grub environment …
    Installing GRUB in MBR/EFI of /dev/nvme0n1 … Installing for x86_64-efi platform.
    Installation finished. No error reported.
    BootCurrent: 0000
    Timeout: 0 seconds
    BootOrder: 0002,2003,2002,0001,2001
    Boot0001* EFI Hard Drive (SKHynix_HFM256GDHTNI-87A0B) PciRoot(0x0)/Pci(0x1d,0x4)/Pci(0x0,0x0)/NVMe(0x1,AC-E4-2E-00-05-93-46-6D)/HD(1,GPT,f3aaadac-9593-4b82-8d77-f95ef7174feb,0x800,0x64000)RC
    Boot0002* EFI PXE 0 for IPv4 (3C-18-A0-1A-5E-E3) PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/MAC(3c18a01a5ee3,0)/IPv4(0.0.0.0,0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0)RC
    Boot0003* EFI PXE 0 for IPv6 (3C-18-A0-1A-5E-E3) PciRoot(0x0)/Pci(0x14,0x0)/USB(8,0)/MAC(3c18a01a5ee3,0)/IPv6([::],0,Static,[::],[::],64)RC
    Boot2001* EFI USB Device RC
    Boot2002* EFI DVD/CDROM RC
    Boot2003* EFI Network RC
    BootOrder: 0000,0002,2003,2002,0001,2001
    Boot0000* LINBO HD(1,GPT,f3aaadac-9593-4b82-8d77-f95ef7174feb,0x800,0x64000)/\EFI\grub\grubx64.efi
    EFI boot entry for LINBO successfully created.
    Linbo & grub update successfully finished.

Für ca. eine Sekunde ist bei Seeders eine Zahl angezeigt, dann passiert nichts mehr.

Viele Grüße
Steffen

Hallo Steffen!

Logdateien künftig bitte per PM und als Anhang.

Im Log sind leider keinerlei Infos bzgl. Image-Download.
Können per Ethernet angebundene Clients das Image herunterladen?
Hilft ein Löschen der Torrent-Datei des Images mit anschließendem linbo-torrent restart auf dem Server?

VG, Thomas