schroot: Chroot setup failed: stage=setup-start
Open
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: @jmarcet @ptpt52 @neheb
Environment: OpenWrt 23.05.2 on Arm64 (Raspberry Pi 4B)
Description: Unable to start schroot environment: Chroot setup failed: stage=setup-start
- Create chroot with debootstrap --no-check-gpg --arch=arm64 bullseye /srv/chroot/debian
- Create file in /etc/schroot/chroot.d
[debian]
description=Debian environment
directory=/srv/chroot/debian
aliases=bullseye
type=directory
users=root
groups=root
root-groups=root
- Start with schroot -c debian
E: 20copyfiles: /etc/schroot/setup.d/20copyfiles: line 42: /bin/stat: not found
E: 70services: /etc/schroot/setup.d/70services: line 48: tac: not found
E: debian-1711263744-18335: Chroot setup failed: stage=setup-start
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the documented debootstrap and schroot commands on OpenWrt 23.05.2 for Arm64. Inspect /etc/schroot/setup.d/20copyfiles and /etc/schroot/setup.d/70services, especially the reported missing /bin/stat and tac commands. Done means the Debian chroot starts without a setup-start error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100