Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-23 Thread Tim Woodall
On Mon, 22 Feb 2021, Johannes Schauer Marin Rodrigues wrote: So yes, workarounds are (sadly) still necessary to debootstrap Debian. But arguing with Debian policy is the wrong way forward as policy does not talk about the debootstrap scenario but only about the system where your packages were

Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-22 Thread Johannes Schauer Marin Rodrigues
Hi, for everybody else who is reading this bug and was not reading debian-devel at the same time, here is the thread that Tim started there for more context: https://lists.debian.org/alpine.deb.2.20.2102211635290.6...@einstein.home.woodall.me.uk Quoting Tim Woodall (2021-02-22 18:28:56) > On

Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-22 Thread Tim Woodall
On Mon, 22 Feb 2021, Helmut Grohne wrote: On Mon, Feb 22, 2021 at 07:33:10AM +, Tim Woodall wrote: A. /etc/passwd is part of base-passwd's interface and base-files is right in relying on it working at all times. Then base-passwd is rc buggy for violating a policy must. Fixing this

Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-22 Thread Helmut Grohne
On Mon, Feb 22, 2021 at 07:33:10AM +, Tim Woodall wrote: > A. /etc/passwd is part of base-passwd's interface and base-files is >right in relying on it working at all times. Then base-passwd is rc >buggy for violating a policy must. Fixing this violation is >technically impossible.

Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-22 Thread Tim Woodall
On Mon, 22 Feb 2021, Colin Watson wrote: On Mon, Feb 22, 2021 at 07:33:10AM +, Tim Woodall wrote: As far as I can see, making base-passwd not essential, only required, and then making passwd and base-files pre-depend on base-passwd the system seems to bootstrap /etc/passed and /etc/group

Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-22 Thread Colin Watson
On Mon, Feb 22, 2021 at 07:33:10AM +, Tim Woodall wrote: > As far as I can see, making base-passwd not essential, only required, > and then making passwd and base-files pre-depend on base-passwd the > system seems to bootstrap /etc/passed and /etc/group OK. > > That also seems to conform to

Bug#924401: #924401 base-files fails postinst when base-passwd is unpacked

2021-02-21 Thread Tim Woodall
Hi, A. /etc/passwd is part of base-passwd's interface and base-files is right in relying on it working at all times. Then base-passwd is rc buggy for violating a policy must. Fixing this violation is technically impossible. I seem to have hit this same issue independently. Could you