🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3778

Bug#1153430: LTSP chroot creation: breakage if LTSP server gets reboot to quickly

#3778
From: Mike Gabriel
Date: Sun, 08 Nov 2026 13:50
66 lines
4198 bytes
This message is in MIME format and has been PGP signed.

--=_BtQCT1mPDZ8rk-o9fxd8O2s
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: debian-edu-config
Version: 2.13.6
Severity: important


The LTSP chroot creation for diskless workstation is not robust enough=20=
=20
against=20too-soon reboots of the LTSP server.

The LTSP chroot creation happens post-install at first boot and takes=20=20
its=20time. If the admin reboots the machine too quickly, the procedure=20=
=20
of=20LTSP chroot creation get aborted, but the next time the Debian Edu=20=
=20
run-at-firstboot=20script gets started, it checks for the chroot folders=20=
=20
being=20present, sees them and does not repeat the LTSP chroot creation=20=
=20
from=20scratch.

Solution: Mark the chroot folder for LTSP diskless workstations as=20=20
"COMPLETED_SUCCESSFULLY"=20at the very end of the chroot creation and=20=20
always=20restart the creation until this file has appeared in the chroot.

Mike
--=20

mike=20gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver@debian.org, http://sunweavers.net


--=_BtQCT1mPDZ8rk-o9fxd8O2s
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmrwfSUACgkQmvRrMCV3
GzHD3A//Sm2ghP4X2+goitnaKsaSHNdAdqWjfcikCPYcA74OJc0IL6JaQ0sf8mkX
dd7cdifMovA2FQGuXDK/ZWMZsWWjk1KjzbydqnjTvVn3ihf0OX5NMQtOMywsbhut
GDTxI1042c3z4hmPZby0pejxO90ggaTudqWh5Bg6R6ZYb4pG3LLwUCI/f0rYEoIG
WgIE87ReGGMWpgMBTtxiD1Rj/t5Rol/XoztVhrVSC7M20LBmsj02hZDvYsNa1bKt
0re8AYFzk7s4GiER7LBqHhCrbA8hxFSz1CWyzWOnVNeTF6lFch7BPkeDycrKa6iW
57FIW/7lmJoDTxnJskGJTwFg4vg5fQ3dlYz91I45haBYk/XfC9TWRKemNFs+vOZA
utIho07U2982P1QzKCNvk2YeSou9KFmvLeU72wrBK1/CebHTxxOG1A+6LZs4rrfY
iu9EFtE/OifFf2lKkXN22lkBE/2gBgXLIXvExncqZcgvaglkpeSFuOAWdBv302xE
HoJ3MbRyMybZONYA5ZIbI/dJJ9VCCUsO7ltrzDkmNV+IKUagpqtcInpFKf1wWnnP
SGzJnXBBZCJ+2nrNr55HpiwaPQmvKAa93mTT3Fjkx3RhtRZeaiKXu4MXCh6t5ul4
xMZf/EfBypn6ma26nfsTep5dXkQ+k01UH1iPmclIemaIujIuIpw=
=D63d
-----END PGP SIGNATURE-----

--=_BtQCT1mPDZ8rk-o9fxd8O2s--
Technical Details
Message-ID: <NXbrr-aCIt-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Mike Gabriel <sunweaver@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153430: LTSP chroot creation: breakage if LTSP server gets reboot to quickly
Date: Sun, 08 Nov 2026 14:50:01 +0100
Message-ID: <NXbrr-aCIt-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov  8 13:49:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Mike Gabriel <sunweaver@debian.org>, 1153430@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-edu@lists.debian.org
X-Debian-Pr-Message: report 1153430
X-Debian-Pr-Package: debian-edu-config
X-Debian-Pr-Source: debian-edu-config
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 185.211.18.166
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/156.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_BtQCT1mPDZ8rk-o9fxd8O2s";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001456
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 66
Sender: robomod@news.nic.it
X-Original-Date: Sun, 08 Nov 2026 13:46:14 +0000
X-Original-Message-ID: <20261108134614.Horde.4TArp0MNuK0Er8qDv5HsA1y@mail.das-netzwerkteam.de>