Debian Bug report logs - #1089667
piuparts: fails when (path to) changes file is not world readable

version graph

Package: piuparts; Maintainer for piuparts is piuparts developers team <[email protected]>; Source for piuparts is src:piuparts (PTS, buildd, popcon).

Reported by: Rob Browning <[email protected]>

Date: Tue, 10 Dec 2024 21:45:01 UTC

Severity: normal

Merged with 1104230

Found in versions piuparts/1.6.0, piuparts/1.5.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], piuparts developers team <[email protected]>:
Bug#1089667; Package piuparts. (Tue, 10 Dec 2024 21:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Rob Browning <[email protected]>:
New Bug report received and forwarded. Copy sent to piuparts developers team <[email protected]>. (Tue, 10 Dec 2024 21:45:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Rob Browning <[email protected]>
To: [email protected]
Subject: piuarts: fails when (path to) changes file is not world readable
Date: Tue, 10 Dec 2024 15:34:05 -0600
Package: piuparts
Version: 1.5.1

I'm not sure if this is intended to work, but with a home directory that
doesn't allow access by "other"s, i.e. "chmod o-rwx ~", an unshare
sbuild attempt fails like this here:

  0m0.0s WARNING: /home/rlb/deb/lockfile-progs/lockfile-progs_0.1.21~1.gbp7eb6ac_amd64.changes is not readable. Skipping.

  Piuparts caught exception, exiting...
  ------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/bin/piuparts", line 3720, in <module>
      main()
    File "/usr/bin/piuparts", line 3705, in main
      process_packages(package_list)
    File "/usr/bin/piuparts", line 3576, in process_packages
      packages = get_package_names_from_package_files(package_list)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/bin/piuparts", line 2322, in get_package_names_from_package_files
      for filename in package_files:
                      ^^^^^^^^^^^^^
  TypeError: 'NoneType' object is not iterable

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Changed Bug title to 'piuparts: fails when (path to) changes file is not world readable' from 'piuarts: fails when (path to) changes file is not world readable'. Request was from Rob Browning <[email protected]> to [email protected]. (Tue, 10 Dec 2024 22:09:02 GMT) (full text, mbox, link).


Information forwarded to [email protected], piuparts developers team <[email protected]>:
Bug#1089667; Package piuparts. (Wed, 11 Dec 2024 07:15:01 GMT) (full text, mbox, link).


Acknowledgement sent to Jochen Sprickerhof <[email protected]>:
Extra info received and forwarded to list. Copy sent to piuparts developers team <[email protected]>. (Wed, 11 Dec 2024 07:15:01 GMT) (full text, mbox, link).


Message #12 received at [email protected] (full text, mbox, reply):

From: Jochen Sprickerhof <[email protected]>
To: Rob Browning <[email protected]>, [email protected]
Subject: Re: Bug#1089667: piuarts: fails when (path to) changes file is not world readable
Date: Wed, 11 Dec 2024 08:10:50 +0100
[Message part 1 (text/plain, inline)]
Hi,

* Rob Browning <[email protected]> [2024-12-10 15:34]:
>I'm not sure if this is intended to work, but with a home directory that
>doesn't allow access by "other"s, i.e. "chmod o-rwx ~", an unshare
>sbuild attempt fails like this here:
>
>  0m0.0s WARNING: /home/rlb/deb/lockfile-progs/lockfile-progs_0.1.21~1.gbp7eb6ac_amd64.changes is not readable. Skipping.
>
>  Piuparts caught exception, exiting...
>  ------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/usr/bin/piuparts", line 3720, in <module>
>      main()
>    File "/usr/bin/piuparts", line 3705, in main
>      process_packages(package_list)
>    File "/usr/bin/piuparts", line 3576, in process_packages
>      packages = get_package_names_from_package_files(package_list)
>                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>    File "/usr/bin/piuparts", line 2322, in get_package_names_from_package_files
>      for filename in package_files:
>                      ^^^^^^^^^^^^^
>  TypeError: 'NoneType' object is not iterable

A simple way to reproduce this is:

apt source -b hostname
chmod o-r hostname_3.25_amd64.changes
piuparts hostname_3.25_amd64.changes

Cheers Jochen
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], piuparts developers team <[email protected]>:
Bug#1089667; Package piuparts. (Wed, 16 Apr 2025 10:00:01 GMT) (full text, mbox, link).


Acknowledgement sent to Dirk Lehmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to piuparts developers team <[email protected]>.

Your message did not contain a Subject field. They are recommended and useful because the title of a Bug is determined using this field. Please remember to include a Subject field in your messages in future.

(Wed, 16 Apr 2025 10:00:01 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Dirk Lehmann <[email protected]>
To: [email protected]
Date: Wed, 16 Apr 2025 11:50:38 +0200
[Message part 1 (text/plain, inline)]

[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Information forwarded to [email protected], piuparts developers team <[email protected]>:
Bug#1089667; Package piuparts. (Wed, 16 Apr 2025 10:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to Dirk Lehmann <[email protected]>:
Extra info received and forwarded to list. Copy sent to piuparts developers team <[email protected]>. (Wed, 16 Apr 2025 10:03:02 GMT) (full text, mbox, link).


Message #22 received at [email protected] (full text, mbox, reply):

From: Dirk Lehmann <[email protected]>
To: [email protected]
Subject: Re: piuarts: fails when (path to) changes file is not world readable
Date: Wed, 16 Apr 2025 11:49:55 +0200
[Message part 1 (text/plain, inline)]
On Tue, 10 Dec 2024 15:34:05 -0600 Rob Browning <[email protected]> 
wrote:
> I'm not sure if this is intended to work, but with a home directory that
> doesn't allow access by "other"s, i.e. "chmod o-rwx ~", an unshare
> sbuild attempt fails like this here:
> 
>   0m0.0s WARNING: /home/rlb/deb/lockfile-progs/lockfile-progs_0.1.21~1.gbp7eb6ac_amd64.changes is not readable. Skipping.
Same here. Using umask of 0027

  $> umask
  0027

Greets, Dirk.

[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Marked as found in versions piuparts/1.6.0. Request was from Lee Garrett <[email protected]> to [email protected]. (Sun, 04 May 2025 19:33:01 GMT) (full text, mbox, link).


Merged 1089667 1104230 Request was from Lee Garrett <[email protected]> to [email protected]. (Sun, 04 May 2025 19:33:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 05:24:38 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.