[Bug 1030519] Re: perlvar: EXECUTABLE_NAME or ^X broken under overlayfs.

Robie Basak 1030519 at bugs.launchpad.net
Wed Aug 1 13:16:17 UTC 2012


Posted in a duplicate:


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

It seems to me that /proc/self/exe being broken in overlayfs is a bug in
overlayfs, not in perl or logwatch. But I am interested to hear what the
kernel team decide on this.

Presumably this either needs to be fixed in overlayfs, or in every
package that uses /proc/self/exe. It would make sense to make an Ubuntu-
wide decision on the appropriate course of action here.

Launchpad's bug tracking allows for a single issue to be tracked across
multiple packages. I think this is an appropriate issue to track this
way, since it will stop discussion and appropriate decisions on the same
issue being scattered across many bugs.

So I'm marking this bug as a dupe of bug 1030519, renaming bug 1030519
appropriately, and will add a logwatch task to bug 1030519 to track it
there. Please continue discussion in bug 1030519.

I also think that this issue should probably be marked Invalid in both
perl and logwatch, since it is reasonable to expect /proc/self/exe to
work. But I would like to hear the kernel team's opinion on this first.
I'm not marking this as a dupe of the kernel bug 1007089 pending
feedback from the kernel team.

Mike, have you tried contacting the kernel team on this? The ubuntu-
devel or kernel-team lists would probably be appropriate here. Also,
this mailing list post seems relevant: https://lists.ubuntu.com/archives
/ubuntu-devel/2012-February/034850.html


** Also affects: logwatch (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- perlvar: EXECUTABLE_NAME or ^X broken under overlayfs.
+ /proc/self/exe is not necessarily correct on overlayfs

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1030519

Title:
  /proc/self/exe is not necessarily correct on overlayfs

Status in “logwatch” package in Ubuntu:
  Incomplete
Status in “perl” package in Ubuntu:
  New

Bug description:
  Perl should check the value from /proc/self/exe for correctness.  I'll
  open a bug in logwatch also, however there are likely many more
  applications that make use of this and depend on it's correctness.
  Bug number 1007089 tracks the overlayfs bug.

  /etc/cron.daily/00logwatch:
  sh: 1: /bin/perl: not found
  sh: 1: /bin/perl: not found
  system 'cat '/var/log/mail.log' '/var/log/mail.log.1'  | /bin/perl /usr/share/logwatch/scripts/shared/expandrepeats ''| /bin/perl /usr/share/logwatch/scripts/shared/applystddate ''>/tmp/logwatch.BMbdlb_J/maillog' failed: 32512 at /usr/sbin/logwatch line 871.
  run-parts: /etc/cron.daily/00logwatch exited with return code 2

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: perl 5.14.2-6ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-23.31-lowlatency-pae 3.2.14
  Uname: Linux 3.2.0-23-lowlatency-pae i686
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: i386
  Date: Sun Jul 29 09:06:20 2012
  SourcePackage: perl
  UpgradeStatus: Upgraded to precise on 2012-01-03 (208 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1030519/+subscriptions




More information about the foundations-bugs mailing list