Package: live-build
Version: 1:20250505+deb13u1
Severity: important

Hi,

live-build recently lost the ability to produce working installed
systems (when using the Install option from the boot menu) on Trixie.
The root filesystem is created with mode 0750 instead of 0755, which
in turns prevents most services from starting (dbus, lightdm, many
others), inability to login as a non-root user, etc

I first noticed this when building a custom desktop system, but ended
up removing almost all customizations/packages to make sure they were
not causing the problem.

You can find a minimal example configuration that allows reproducing
the problem here:

$ tree
.
├── auto
│   ├── build
│   ├── clean
│   └── config
└── config
    ├── archives
    │   ├── debian-updates-security-backports.list.binary
    │   └── debian-updates-security-backports.list.chroot
    ├── includes.installer
    │   └── preseed.cfg
    └── package-lists
        ├── 00-important.list.chroot
        └── 00-required.list.chroot

6 directories, 8 files


git clone -b minimal-reproduce-readonly-root-filesystem
https://github.com/nodiscc/debian-live-config/
cd debian-live-config
sudo lb config && sudo lb clean && sudo lb build

Boot the resulting ISO in a VM, select the installer option, go with
the defaults (I kept the installer preseed configuration), finish the
installation and reboot to the installed system.

Trying to login as the non-root user you created during installation
will fail. Logging in as root works but then you can see with ls -ld /
that permissions on the filesystem root are incorrect.

I was unable to track down when this problem started appearing, I was
able to build working Trixie installer images a few months ago.

Reply via email to