#1140062 busybox: chdir no longer available -> breaks d-i 'live-installer.udeb'

#1140062#5
Date:
2026-06-15 10:04:25 UTC
From:
To:
Hi,

I'm sorry to report an 'important' bug just one day before busybox migrates to forky.

The Debian installer udeb 'live-installer.udeb' uses the 'chdir' command (instead of the more modern 'cd'), which is no longer provided by busybox 1.38.
Therefore it is not possible to use a live image to install Debian.

Found by openQA:
https://openqa.debian.net/tests/536370#investigation

The 'diff_sut_packages_to_last_good' points to busybox-udeb as a cause for the failing installation.

I propose to block the migration of busybox to forky, while doing both kinds of fixes:
1) re-enable chdir in busybox
2) change from chdir to cd in live-installer.udeb

With kind regards,
Roland Clobus
Co-maintainer of the Debian live images

#1140062#10
Date:
2026-06-15 11:08:00 UTC
From:
To:
Control: reassign -1 live-installer/58

chdir was a non-standard extension in dash.  This is a problem in
live-installer itself.

Bastian

#1140062#15
Date:
2026-06-15 11:14:38 UTC
From:
To:
Control: severity -1 serious
Control: clone -1 -2
Control: reassign -2 live-installer/58

The reporter did say that in their original message.

Not sure why the above clone command didn't work, but let's have this as
RC to prevent busybox from migrating until live-installer is fixed.

#1140062#28
Date:
2026-06-15 11:54:01 UTC
From:
To:
Hello,

Bug #1140062 in live-installer reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/installer-team/live-installer/-/commit/9bd81eeea50c8c8d0003d43012f082405645a90c
------------------------------------------------------------------------
Use cd rather than chdir

Closes: #1140062
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140062

#1140062#35
Date:
2026-06-15 12:34:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
live-installer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140062@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated live-installer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 15 Jun 2026 13:16:45 +0100
Source: live-installer
Architecture: source
Version: 59
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1140062
Changes:
 live-installer (59) unstable; urgency=medium
 .
   * Team upload.
   * Use cd rather than chdir (closes: #1140062).
   * Upgrade configure.ac using autoupdate.
Checksums-Sha1:
 faf506994350c581130d7f4e4853cbd4b8529c36 1657 live-installer_59.dsc
 10d7c60f1c038bb356564df90301e051dd889fdb 53124 live-installer_59.tar.xz
 39e323e5d8c2657fba6c3a99811d3d438680a192 6438 live-installer_59_source.buildinfo
Checksums-Sha256:
 82b5578b2abff3721c78dc6819c141abdc5565e4ed913839d2eb7221d14857c7 1657 live-installer_59.dsc
 d9677d95ab2fca706c4c4b3bbad9276413610cb95f02a631225d9a4f5459f82b 53124 live-installer_59.tar.xz
 7d964b249defde50d0253c5eedd7c8a3e00278f93ec9e5389a70664717a195fd 6438 live-installer_59_source.buildinfo
Files:
 60cf8e335be8b253c23dd45184a1cdb0 1657 debian-installer optional live-installer_59.dsc
 8f9156200ab0fd6f470b3e4570605997 53124 debian-installer optional live-installer_59.tar.xz
 c3bea87915471d244576af4f1b62439b 6438 debian-installer optional live-installer_59_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmov7ZkACgkQOTWH2X2G
UAulEQ//d5WsYAmoQzXMOS4rR/trmfUQLC9mOHzdm3tsUEbSfvOFxrKERnpt588Q
dOA/8zMtWS6F4a0oqOgqDg6mRHM4o2ASGLgZkXxPuZJdY/fiCpxyRukSsmK7z/XI
NUM4lGVJw2r8d1ho3WmgeHkxbBnW7bYeNsK1Y5osnvhLT9+FJPwcyhqE6ja1Ethz
NYPmIYxEUch7aLnneB0pogIy7AmklYmrk+h8Do0wv7G2X1JOezPiuufVxqBdjPal
P/rRkXshX8M3vClY5cascrzhvo75kOPDE8ELUDdjtPyt5uITVBO/qhQ7T3sUKtF0
LMIzn+KZIdA9DDVzq0Tx+A6ebpU54a+isSIQsyJisQ7Nhw2DeNBGoiwzYf53hOQm
D6Cy/skf02rNKoSJxHDPILLPLPGXM45428siYgfEbXgprbcDOUtY2T8Lja6WT7FW
oUqIgdbyJqyuWNf4J4OQJcI08H6snwfcUnxbBpAr62lcxD7M37qn8qc2xbLnGXJB
5JLouttlbLdPWJrXUOTRKmXiBH+BQ6ETc9YOmAju2BO/jwZ156Sk1TMBQ6opdeTc
XdxE77h6nxfoBCyWhFnuwAgxCXL8DFR+7O2Z9IWFeHYWwn2tW5oDmJq0ubx35dDc
te2bODgIXAO3sBPlyFHtp7xMzvsU8h04yzi3IbjWa8ysIHPNcG4=
=3zpe
-----END PGP SIGNATURE-----