Seite 1 von 2
opsipxeconfd
Verfasst: 09 Okt 2025, 09:38
von udome19
Hallo,
wenn ich ein Netboot Produkt auf "setup" setzte, wird die Datei "/tftpboot/opsi/cfg/MAC-ADRESSE" nicht geschrieben.
Das passiert erst nach Neustart vom opsipxeconfd.
Versionen:
opsi-linux-bootimage: 20250924-1
opsi-server-full: 4.3.5.3-1
opsipxeconfd: 4.3.12.2-1
Kann hier jemand unterstützen ?
Gruß
Udo
Re: opsipxeconfd
Verfasst: 09 Okt 2025, 12:02
von j.schneider
Hallo,
sind in der /var/log/opsi/opsipxeconfd/opsipxeconfd.log Fehler zu erkennen?
Grüße
Jan Schneider
Re: opsipxeconfd
Verfasst: 04 Aug 2026, 15:11
von udome19
Hallo,
seit dem Juli Release ist das exakt gleiche Problem wieder vorhanden.
Kann da jemand helfen ?
VG
Udo
Re: opsipxeconfd
Verfasst: 04 Aug 2026, 15:21
von j.schneider
Hallo,
auch in diesem Fall sollte /var/log/opsi/opsipxeconfd/opsipxeconfd.log auf Fehlermeldungen überprüft werden.
Grüße
Jan Schneider
Re: opsipxeconfd
Verfasst: 04 Aug 2026, 16:00
von udome19
Hallo,
das habe ich getan. Keine Meldungen zu sehen.
Nach Neustart opsipxeconfd:
5] [2026-08-04 15:59:18.174] [opsipxeconfd start] Stopping opsipxeconfd (opsipxeconfd.py:86)
[5] [2026-08-04 15:59:18.215] [opsipxeconfd ] opsipxeconfd main thread exiting... (opsipxeconfd.py:235)
[5] [2026-08-04 15:59:18.215] [opsipxeconfd ] Disconnecting from OPSI messagebus (id='138339802505504') (_service_client.py:2294)
[5] [2026-08-04 15:59:19.836] [opsipxeconfd start] Running opsipxeconfd setup (setup.py:88)
[5] [2026-08-04 15:59:19.837] [opsipxeconfd start] Setting up limits (setup.py:49)
[5] [2026-08-04 15:59:19.849] [opsipxeconfd start] Setting up GRUB configuration (setup.py:72)
[5] [2026-08-04 15:59:20.696] [opsipxeconfd start] Connecting to OPSI Service at '
https://localhost:4447' (attempt 1) (service.py:146)
[5] [2026-08-04 15:59:21.746] [opsipxeconfd start] Connecting to OPSI messagebus (_service_client.py:2191)
[5] [2026-08-04 15:59:21.756] [opsipxeconfd start] Connected to OPSI messagebus (id='127542101631264') (_service_client.py:1952)
[5] [2026-08-04 15:59:21.784] [opsipxeconfd start] Setup finished (setup.py:95)
[1] [2026-08-04 15:59:21.786] [opsipxeconfd start] OPSI PXE Configuration Service version 4.3.16.0 starting (opsipxeconfd.py:51)
[5] [2026-08-04 15:59:21.786] [opsipxeconfd ] Starting opsipxeconfd main thread (opsipxeconfd.py:227)
[5] [2026-08-04 15:59:21.787] [ ] Start setting initial boot configurations (util.py:130)
[5] [2026-08-04 15:59:21.787] [opsipxeconfd ] Creating unix socket /var/run/opsipxeconfd/opsipxeconfd.socket (opsipxeconfd.py:147)
[5] [2026-08-04 15:59:21.852] [ ] PXE boot configuration for host 'svr-dep005t03.weko.local' is now set at /tftpboot/opsi/cfg/70981518-453d-450b-babd-23df161b8eb7.cfg, /tftpboot/opsi/cfg/00-15-5d-66-c0-17.cfg (opsipxeconfd.py:458)
[5] [2026-08-04 15:59:21.852] [ ] Finished setting initial boot configurations (util.py:162)
VG
Udo
Re: opsipxeconfd
Verfasst: 04 Aug 2026, 16:08
von j.schneider
Tauchen neue Meldungen auf wenn ein Netboot-Produkt auf "setup" gestellt wird?
Auch die Meldungen in der Ausgabe von "opsiconfd log-viewer -l5" bein Setzen wären interessant.
Re: opsipxeconfd
Verfasst: 05 Aug 2026, 09:31
von udome19
Hallo,
im Log tauchen keine Meldungen auf.
opsiconfd log-viewer -l5
[2] [2026-08-05 09:26:47.936] [ ] Failed to update PXE boot configuration for client 'svr-dep005t03.weko.local': Failed to connect to socket '/var/run/opsipxeconfd/opsipxeconfd.socket': [Errno 13] Permission denied (opsipxeconfd.py:102)
###
ls -l /var/run/opsipxeconfd/opsipxeconfd.socket
srw-rw---- 1 root dl-scy-svr-app005p01-opsiadmins 0 Aug 5 09:26 /var/run/opsipxeconfd/opsipxeconfd.socket
###
ps axu | grep opsipxeconf
root 33867 0.7 0.9 558500 78804 ? Sl 09:26 0:00 /usr/lib/opsipxeconfd/opsipxeconfd start
Re: opsipxeconfd
Verfasst: 05 Aug 2026, 10:48
von j.schneider
Hallo,
der Service opsiconfd läuft normalerweise unter dem Benutzer opsiconfd.
Dieser hat keinen Zugriff auf den opsipxeconfd.socket
Grüße
Jan Schneider
Re: opsipxeconfd
Verfasst: 05 Aug 2026, 11:22
von udome19
Hallo,
wie / wo kann ich das konfigurieren ?
run-as-user funktioniert ja nicht mehr ....
VG
Udo
Re: opsipxeconfd
Verfasst: 05 Aug 2026, 13:24
von udome19
Hallo,
der Prozess läuft unter dem User opsiconfd:
ps -eo user:30,group:30,cmd | grep opsiconfd
opsiconfd 153134 /usr/lib/opsiconfd/opsiconfd start --log-level-stderr=0
opsiconfd 153134 /usr/lib/opsiconfd/opsiconfd -B -S -I -c from multiprocessing.resource_tracker import main;main(22)
opsiconfd 153134 /usr/lib/opsiconfd/opsiconfd --multiprocessing-fork tracker_fd=23 pipe_handle=25
VG
Udo