Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure script doesn't work with Debian bullseye #4

Open
ferzkopp opened this issue May 13, 2023 · 1 comment
Open

Configure script doesn't work with Debian bullseye #4

ferzkopp opened this issue May 13, 2023 · 1 comment

Comments

@ferzkopp
Copy link

Running:

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

Got a couple of errors when the helper script tried to configure the rootfs:

invoke-rc.d: could not determine current runlevel
invoke-rc.d: WARNING: No init system and policy-rc.d missing! Defaulting to block.
Setting up udev (247.3-7+deb11u2) ...
A chroot environment has been detected, udev not started.
Setting up ssh (1:8.4p1-5+deb11u1) ...
Setting up i2c-tools (4.2-1+b1) ...
Failed to send reload request: No such file or directory
Failed to scan devices: No such file or directory
Processing triggers for libc-bin (2.31-13+deb11u6) ...
Errors were encountered while processing:
 base-files
 bash
passwd: password expiry information changed.
grep: build/armhf/armhf-rootfs/lib/systemd/system/[email protected]: No such file or directory
sed: can't read build/armhf/armhf-rootfs/lib/systemd/system/[email protected]: No such file or directory
sed: can't read build/armhf/armhf-rootfs/etc/systemd/system.conf: No such file or directory
sed: can't read build/armhf/armhf-rootfs/etc/systemd/system.conf: No such file or directory

build/armhf/armhf-rootfs-20230513T052452Z configured

The final rootfs is later not functional and fails to get to a login prompt after:

/bin/sh: 0: can't access tty; job control turned off
@Frogwells
Copy link

“/bin/sh: 0: can't access tty; job control turned off”.

Bug#924401: base-files fails postinst when base-passwd is unpacked https://groups.google.com/g/linux.debian.bugs.dist/c/3DxT2D2waqk?pli=1

Currently, when using multistrap, this problem will occur in versions above jessie. This will cause bash to not be compiled successfully, and will also cause this fault to be reported when entering debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants