2011-04-26 18:56:21 |
Bruno Bigras |
bug |
|
|
added bug |
2011-05-02 18:16:08 |
Bruno Bigras |
branch linked |
|
lp:ubuntu/lucid/pnopaste |
|
2011-05-02 18:18:05 |
Bruno Bigras |
branch unlinked |
lp:ubuntu/lucid/pnopaste |
|
|
2011-05-02 18:36:23 |
Launchpad Janitor |
branch linked |
|
lp:~brunoqc/ubuntu/lucid/pnopaste/lucid-fix-771421 |
|
2011-05-02 19:01:53 |
Bruno Bigras |
attachment added |
|
pnopaste_1.3-2ubuntu1.diff https://bugs.launchpad.net/ubuntu/+source/pnopaste/+bug/771421/+attachment/2106838/+files/pnopaste_1.3-2ubuntu1.diff |
|
2011-05-02 19:28:44 |
Bruno Bigras |
description |
Binary package hint: pnopaste
I get the following in my mail because it seems there's a problem with the cronjob (from /etc/cron.d/pnopaste)
Can't locate conf/debiandb.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/pnopaste/bin/../) at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
Compilation failed in require at /usr/share/pnopaste/bin/expired_delete.pl line 21.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/expired_delete.pl line 21.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pnopaste 1.3-2
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
Architecture: i386
Date: Tue Apr 26 14:46:07 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
SourcePackage: pnopaste |
Binary package hint: pnopaste
I get the following in my mail because the cron job is run as 'nobody' which doensn't have read access to 'conf/debiandb.pm'.
To reproduce: sudo -u nobody /usr/share/pnopaste/bin/expired_delete.pl
Using www-data is fine : sudo -u www-data /usr/share/pnopaste/bin/expired_delete.pl
Can't locate conf/debiandb.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/pnopaste/bin/../) at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
Compilation failed in require at /usr/share/pnopaste/bin/expired_delete.pl line 21.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/expired_delete.pl line 21.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pnopaste 1.3-2
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
Architecture: i386
Date: Tue Apr 26 14:46:07 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
SourcePackage: pnopaste |
|
2011-05-03 17:37:25 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Review Team |
2011-05-03 17:37:27 |
Brian Murray |
tags |
apport-bug i386 lucid |
apport-bug i386 lucid patch |
|
2011-05-04 19:09:24 |
Jamie Strandboge |
nominated for series |
|
Ubuntu Lucid |
|
2011-05-04 19:09:24 |
Jamie Strandboge |
bug task added |
|
pnopaste (Ubuntu Lucid) |
|
2011-05-04 19:09:24 |
Jamie Strandboge |
nominated for series |
|
Ubuntu Oneiric |
|
2011-05-04 19:09:24 |
Jamie Strandboge |
bug task added |
|
pnopaste (Ubuntu Oneiric) |
|
2011-05-04 19:09:34 |
Jamie Strandboge |
pnopaste (Ubuntu Oneiric): status |
New |
Invalid |
|
2011-05-04 19:16:47 |
Jamie Strandboge |
pnopaste (Ubuntu Lucid): importance |
Undecided |
Low |
|
2011-05-04 19:16:47 |
Jamie Strandboge |
pnopaste (Ubuntu Lucid): status |
New |
Triaged |
|
2011-05-04 19:16:47 |
Jamie Strandboge |
pnopaste (Ubuntu Lucid): milestone |
|
lucid-updates |
|
2011-05-04 19:18:08 |
Jamie Strandboge |
pnopaste (Ubuntu Lucid): status |
Triaged |
Fix Committed |
|
2011-05-04 20:45:53 |
Bruno Bigras |
description |
Binary package hint: pnopaste
I get the following in my mail because the cron job is run as 'nobody' which doensn't have read access to 'conf/debiandb.pm'.
To reproduce: sudo -u nobody /usr/share/pnopaste/bin/expired_delete.pl
Using www-data is fine : sudo -u www-data /usr/share/pnopaste/bin/expired_delete.pl
Can't locate conf/debiandb.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/pnopaste/bin/../) at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
Compilation failed in require at /usr/share/pnopaste/bin/expired_delete.pl line 21.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/expired_delete.pl line 21.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pnopaste 1.3-2
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
Architecture: i386
Date: Tue Apr 26 14:46:07 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
SourcePackage: pnopaste |
Binary package hint: pnopaste
/etc/cron.d/pnopaste doesn't have read access to conf/debiandb.pm while running as 'nobody'.
impact: This bug prevent entries from expiring in the database. It also cause annoying emails every 30 minutes to be sent to nobody since the cron scripts is outputting errors.
how the bug has been addressed: The user the cron job run as has been changed from 'nobody' to 'www-data' (which 'conf/debiandb.pm' has read access)
patch is attached.
TEST CASE: sudo -u nobody /usr/share/pnopaste/bin/expired_delete.pl
Using www-data is fine : sudo -u www-data /usr/share/pnopaste/bin/expired_delete.pl
I don't think there's any chances of regression by this patch.
Can't locate conf/debiandb.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/pnopaste/bin/../) at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
Compilation failed in require at /usr/share/pnopaste/bin/expired_delete.pl line 21.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/expired_delete.pl line 21.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pnopaste 1.3-2
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
Architecture: i386
Date: Tue Apr 26 14:46:07 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
SourcePackage: pnopaste |
|
2011-05-04 21:00:35 |
Jamie Strandboge |
pnopaste (Ubuntu Oneiric): status |
Invalid |
Fix Released |
|
2011-05-04 21:11:19 |
Bruno Bigras |
description |
Binary package hint: pnopaste
/etc/cron.d/pnopaste doesn't have read access to conf/debiandb.pm while running as 'nobody'.
impact: This bug prevent entries from expiring in the database. It also cause annoying emails every 30 minutes to be sent to nobody since the cron scripts is outputting errors.
how the bug has been addressed: The user the cron job run as has been changed from 'nobody' to 'www-data' (which 'conf/debiandb.pm' has read access)
patch is attached.
TEST CASE: sudo -u nobody /usr/share/pnopaste/bin/expired_delete.pl
Using www-data is fine : sudo -u www-data /usr/share/pnopaste/bin/expired_delete.pl
I don't think there's any chances of regression by this patch.
Can't locate conf/debiandb.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/pnopaste/bin/../) at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
Compilation failed in require at /usr/share/pnopaste/bin/expired_delete.pl line 21.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/expired_delete.pl line 21.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pnopaste 1.3-2
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
Architecture: i386
Date: Tue Apr 26 14:46:07 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
SourcePackage: pnopaste |
Binary package hint: pnopaste
/etc/cron.d/pnopaste doesn't have read access to conf/debiandb.pm while running as 'nobody'.
3. Procedure, point '2'
1. Impact: This bug prevent entries from expiring in the database. It also cause annoying emails every 30 minutes to be sent to nobody since the cron scripts is outputting errors.
2. The has been fixed in Oneiric by the same way. http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/pnopaste/oneiric/revision/7#debian/pnopaste.cron.d . 1 package affected.
3. Patch fixing this is attached
4. TEST CASE: sudo -u nobody /usr/share/pnopaste/bin/expired_delete.pl (The commande works when using the user 'www-data').
5. The regression potential is considered low because only the user to run the cron job as has been changed.
Can't locate conf/debiandb.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /usr/share/pnopaste/bin/../) at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//conf/SQL_Access.pm line 5.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Database.pm line 15.
Compilation failed in require at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/..//lib/Expire.pm line 13.
Compilation failed in require at /usr/share/pnopaste/bin/expired_delete.pl line 21.
BEGIN failed--compilation aborted at /usr/share/pnopaste/bin/expired_delete.pl line 21.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: pnopaste 1.3-2
ProcVersionSignature: Ubuntu 2.6.32-30.59-generic-pae 2.6.32.29+drm33.13
Uname: Linux 2.6.32-30-generic-pae i686
Architecture: i386
Date: Tue Apr 26 14:46:07 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
PackageArchitecture: all
ProcEnviron:
LANG=fr_CA.UTF-8
SHELL=/bin/bash
SourcePackage: pnopaste |
|
2011-05-04 21:11:59 |
Bruno Bigras |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-05-16 16:53:39 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2011-05-16 16:53:43 |
Clint Byrum |
tags |
apport-bug i386 lucid patch |
apport-bug i386 lucid patch verification-needed |
|
2011-05-16 17:17:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/pnopaste |
|
2011-05-18 17:02:48 |
Jean-Baptiste Lallement |
tags |
apport-bug i386 lucid patch verification-needed |
apport-bug i386 lucid patch verification-done |
|
2011-05-23 09:28:18 |
Launchpad Janitor |
pnopaste (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2011-09-19 20:53:42 |
Ubuntu Foundations Team Bug Bot |
tags |
apport-bug i386 lucid patch verification-done |
apport-bug i386 lucid patch testcase verification-done |
|