[Reportbug-maint] Bug#533395: reportbug: package verification stalls on not readable directories (files?)

Sandro Tosi morph at debian.org
Wed Jun 17 09:28:21 UTC 2009


On Wed, Jun 17, 2009 at 09:20, Andreas Beckmann<debian at abeckmann.de> wrote:
> reportbug blocks infinitely if it encounters unreadable directories
> (files?) during package verification.
> One example is the bugzilla3 (3.2.0.1-1) package which has some
> directories in /usr/share with permissions 0750, owner root:www-data
> (e.g. /usr/share/bugzilla3/lib) that I as normal user can't access and I
> had to use the --no-verify option to report that as bug #533394.

I can see this permissions situation for a fresh new installation of bugzilla3:

$ find /usr/share/bugzilla3/ -type d -ls | awk '{ print $3" "$11 }'
drwxr-xr-x /usr/share/bugzilla3/
drwxr-xr-x /usr/share/bugzilla3/debian
drwxr-xr-x /usr/share/bugzilla3/debian/pre-checksetup.d
drwxr-xr-x /usr/share/bugzilla3/debian/post-checksetup.d
drwxr-xr-x /usr/share/bugzilla3/lib
drwxr-xr-x /usr/share/bugzilla3/contrib
drwxr-xr-x /usr/share/bugzilla3/web
drwxr-xr-x /usr/share/bugzilla3/web/skins
drwxr-xr-x /usr/share/bugzilla3/web/skins/contrib
drwxr-xr-x /usr/share/bugzilla3/web/skins/contrib/Dusk
drwxr-xr-x /usr/share/bugzilla3/web/skins/standard
drwxr-xr-x /usr/share/bugzilla3/web/skins/standard/global
drwxr-xr-x /usr/share/bugzilla3/web/skins/standard/dependency-tree
drwxr-xr-x /usr/share/bugzilla3/web/skins/standard/yui
drwxr-xr-x /usr/share/bugzilla3/web/skins/standard/index
drwxr-xr-x /usr/share/bugzilla3/web/js
drwxr-xr-x /usr/share/bugzilla3/web/js/yui

so lib has 755 and it's root:root... did you customize it?

Anyhow, this is what's happening on my machine:

$ reportbug --debug bugzilla3
*** Welcome to reportbug.  Use ? for help at prompts. ***
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'Sandro Tosi <morph at debian.org>' as your from address.
Getting status for bugzilla3...
Verifying package integrity...
There may be a problem with your installation of bugzilla3;
the following files appear to be missing or changed:
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/checksetup.pl (Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/collectstats.pl (Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/email_in.pl (Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/importxml.pl (Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/mod_perl.pl (Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/testserver.pl (Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/whineatnews.pl (Permission denied)
debsums: can't open bugzilla3 file /usr/share/bugzilla3/lib/whine.pl
(Permission denied)
debsums: can't open bugzilla3 file
/usr/share/bugzilla3/lib/checksetup_nondebian.pl (Permission denied)

I often changed

$ sudo chmod 750 /usr/share/bugzilla3/lib
$ sudo chown root:www-data /usr/share/bugzilla3/lib
$ ls -ld /usr/share/bugzilla3/lib
drwxr-x--- 2 root www-data 4096 2009-06-17 11:21 /usr/share/bugzilla3/lib

before running the above example, but I'm still able to run it.

Could you please try to reinstall (if possible) bugzilla3, debsums and
reportbug?

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list