Package: cowbuilder
Version: 0.85
Severity: normal
Usertags: umask

I semi-recently started getting this error from my D10-apt-update hook:

W: Failed to fetch http://deb.debian.org/debian/dists/sid/InRelease
Unknown error executing apt-key

The cause is that the /.ilist file is unreadable for some reason:

29142 open("/.ilist", O_RDONLY)         = -1 EACCES (Permission denied)

The permissions on the file are like this with pdebuild:

-rw-r----- 1 root root 217984 Aug  6 13:37 /.ilist

With --login they are like this:

-rw-r--r-- 1 root root 217888 Aug  6 13:40 /.ilist

There are two fixes for this:

Switch umask from 027 to 022 (I prefer not to do that).

Add a pbuilder D hook to run `chmod a+r /.ilist`

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

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

Versions of packages cowbuilder depends on:
ii  cowdancer    0.85
ii  libc6        2.24-12
ii  libncurses5  6.0+20170715-2
ii  libtinfo5    6.0+20170715-2
ii  pbuilder     0.228.7

cowbuilder recommends no packages.

cowbuilder suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to