Your message dated Thu, 12 May 2016 05:49:18 +0000
with message-id <[email protected]>
and subject line Bug#823897: fixed in sbuild 0.69.0-2
has caused the Debian Bug report #823897,
regarding sbuild-createchroot: Failed to set root: ownership on 
/.../usr/sbin/policy-rc.d
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
823897: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823897
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sbuild
Version: 0.69.0-1
Severity: important

Running "sbuild-createchroot unstable" fails setting permissions:

| E: Failed to set root: ownership on 
/tmp/sbuild-createchroot.unstable-amd64-sbuild.JyKlqrQyLC/usr/sbin/policy-rc.d 
at /usr/sbin/sbuild-createchroot line 260.

I _believe_ this is due to the fact that
https://anonscm.debian.org/cgit/buildd-tools/sbuild.git/commit/bin/sbuild-createchroot?id=b45020adfb85ca5487295a3bbd4edce3257ddcc4
introduced "!chown" and "!chmod" syntax for checking for errors, but it
doesn't appear to be verifying the non-zero value appropriately for some
reason on my system.  Modifying the "!chown(...) or die ..." to be
instead "chown(...) > 0 or die ..." allows the script to proceed
successfully and create an unstable schroot. :(

Full set of flags provided:

sbuild-createchroot \
    --make-sbuild-tarball=/path/to/tarball.tar.gz \
    --arch=amd64 \
    --include=eatmydata \
    unstable \
    "$(mktemp -d)" \
    http://httpredir.debian.org/debian


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.114
ii  apt-utils       1.2.11
ii  libsbuild-perl  0.69.0-1
ii  perl            5.22.2-1

Versions of packages sbuild recommends:
ii  debootstrap  1.0.81
ii  fakeroot     1.20.2-1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  wget       1.17.1-2

-- no debconf information

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: sbuild
Source-Version: 0.69.0-2

We believe that the bug you reported is fixed in the latest version of
sbuild, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes Schauer <[email protected]> (supplier of updated sbuild package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 12 May 2016 07:36:32 +0200
Source: sbuild
Binary: libsbuild-perl sbuild buildd
Architecture: source
Version: 0.69.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian buildd-tools Developers 
<[email protected]>
Changed-By: Johannes Schauer <[email protected]>
Description:
 buildd     - Daemon for automatically building Debian binary packages from Deb
 libsbuild-perl - Tool for building Debian binary packages from Debian sources
 sbuild     - Tool for building Debian binary packages from Debian sources
Closes: 823788 823897
Changes:
 sbuild (0.69.0-2) unstable; urgency=medium
 .
   * add patch 0001-lib-Sbuild-ResolverBase.pm-do-not-produce-non-error-.patch
     to make sbuild not print on stderr during sbuild-update unless it is an
     error (closes: #823788)
   * 0001-bin-sbuild-createchroot-fix-chown-chmod-error-checks.patch which
     fixes error checking of chown and chmod calls in sbuild-createchroot
     (closes: #823897)
Checksums-Sha1:
 512619994d852b5a53003e8901151770c3b24774 2236 sbuild_0.69.0-2.dsc
 798e24a4ba837ba2a0ef243258e7f403307b18b5 54232 sbuild_0.69.0-2.debian.tar.xz
Checksums-Sha256:
 bc9bb4af2935bf88d10aa6d236b38b0d1b1554a6f7b182bf3a0a7c6b74f10cbe 2236 
sbuild_0.69.0-2.dsc
 82c11022a1a69e249939290fbce774567b4f6c82db0b857dc0670efa4cdd0b8f 54232 
sbuild_0.69.0-2.debian.tar.xz
Files:
 3ee356a4878438ca6abe15fd4467ccb3 2236 devel extra sbuild_0.69.0-2.dsc
 e94093b80c7582a3e197d2ee500417b3 54232 devel extra 
sbuild_0.69.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXNBbMAAoJEPLLpcePvYPhEpsQAJ9K1U8v6VJOOpjIkrieTjVw
CaafmiVUvqSWdnyLJwX3jW5w0mjXnLZpD43Dgk08NnLmFBGpJzB0rk7glRKdUhcX
0xXdnPf+VuJHdIskeLGAOCZ4c/esnLauqfgrR7gKxaXczxbZvJUIbzsQT5amoKYn
+4IC+v2Up3RrOPa8jjon4qUs2s+NQ4Zy7IbROYVYgz7PbQN8pGTKz5bmqaSOWtW8
rp8XPmCeQuPmRH4pvej95BB4XoTTyJnpX8V7ZTs7t2wCgYrxxo5QPZKEPuBA6XZj
tH4MAGgMAF/trFRnsaBVsc9o3ym3c5ciY2QiPbb5G4B1G7m54EpjzLHwTvP+x0Ba
QFv9Wt1GzZ027zZ5nXI28rRthSahZzbbvzhqr0JRr63oMDee5xUtaBkMNzJfmT+O
BGeIpqMsqNi9mwHnkE/IyiM/ndVvxNLY9mnTFrP+gyxZzBptJS2r4QLyjo5l8sap
hEnh2nS/XyTVI5JYg6MwXDwSGFqxpl/b5DWhW3r0HVvi72nTeekpPCG4mk6uvlry
ZBWUFEYmetAeYTr61Yn3a2h9d4mUyUcezEn6hDfzQJ+N/rz5GH+IA0yCTZLN72mR
7Nxmymrj3I0mWvDGjqViwLg1R3DaKZGSUq/CfYuKNpnAFyIr0gqSz6mEHuF2DV2p
EII1qybd4eCStn5qhItZ
=a0Ad
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to