[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-edu-commits] Still Failing: chroot-installation_stretch_install_education-standalone/387



On Fri, Aug 04, 2017 at 10:29:17PM +0000, Holger Levsen wrote:
> On Fri, Jul 28, 2017 at 04:29:41PM +0200, Wolfgang Schweer wrote:
> > The real reason seems to be an unreadable /etc/passwd file, caused by / 
> > having 0700 permissions; for more details, see:
> > 
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844220#65
> 
> that bug has been closed, so I suspect we need to file a new one, as the
> issue still seems to be persisting.
 
Maybe this could fix it?

diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index f86febed..92c79180 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -161,6 +161,7 @@ EOF
 }
 
 bootstrap() {
+	chmod 755 $CHROOT_TARGET
 	mkdir -p "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d"
 	echo force-unsafe-io > "$CHROOT_TARGET/etc/dpkg/dpkg.cfg.d/02dpkg-unsafe-io"
 
Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: