[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Tags added: testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pnopaste/+bug/771421/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
This bug was fixed in the package pnopaste - 1.3-2ubuntu0.1 --- pnopaste (1.3-2ubuntu0.1) lucid-proposed; urgency=low * Fix a permission error with the cron job (LP: #771421) -- Bruno Bigras bigras.br...@gmail.com Mon, 02 May 2011 14:45:09 -0400 ** Changed in: pnopaste (Ubuntu Lucid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
I just tested and can confirm that pnopaste 1.3-2ubuntu0.1 from lucid- proposed fixes the error in the cron scripts and makes the expiration of entries in the database working again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
Accepted pnopaste into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Branch linked: lp:ubuntu/lucid-proposed/pnopaste -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Also affects: pnopaste (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: pnopaste (Ubuntu Oneiric) Importance: Undecided Status: New ** Changed in: pnopaste (Ubuntu Oneiric) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
Thanks for the patch! The code change looks fine. The suggested change is the same one for Debian bug 582764, so that is fine. This bug does not affect 1.4.-1 and later (ie, maverick and later). Bruno contacted on IRC and would like to pursue an SRU (stable release update). I have reviewed the packaging changes and they look fine with the following exceptions: 1. since this is going to be an SRU, it needs to use 'lucid-proposed' as the distribution name, not 'lucid' 2. the version should be 1.3-2ubuntu0.1, not 1.3-2ubuntu1 (again, since this is for SRU) I have made these changes and uploaded to lucid-proposed. @Bruno, can you review https://wiki.ubuntu.com/StableReleaseUpdates and afterward follow the 'Procedure' there, updating this bug so that it can be processed by a member of the SRU team. Thanks again! ** Changed in: pnopaste (Ubuntu Lucid) Importance: Undecided = Low ** Changed in: pnopaste (Ubuntu Lucid) Status: New = Triaged ** Changed in: pnopaste (Ubuntu Lucid) Milestone: None = lucid-updates ** Changed in: pnopaste (Ubuntu Lucid) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Description changed: 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'. + /etc/cron.d/pnopaste doesn't have read access to conf/debiandb.pm while + running as 'nobody'. - To reproduce: sudo -u nobody /usr/share/pnopaste/bin/expired_delete.pl + 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Changed in: pnopaste (Ubuntu Oneiric) Status: Invalid = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Description changed: 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. + 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Branch linked: lp:~brunoqc/ubuntu/lucid/pnopaste/lucid-fix-771421 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
Here's a debdiff that fix my problem. ** Patch added: pnopaste_1.3-2ubuntu1.diff https://bugs.launchpad.net/ubuntu/+source/pnopaste/+bug/771421/+attachment/2106838/+files/pnopaste_1.3-2ubuntu1.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
** Description changed: 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) + 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 + LANG=fr_CA.UTF-8 + SHELL=/bin/bash SourcePackage: pnopaste -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771421] Re: problem with the cronjob : Can't locate conf/debiandb.pm in @INC
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771421 Title: problem with the cronjob : Can't locate conf/debiandb.pm in @INC -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs