2012-01-17 20:07:15 |
peter hicks |
bug |
|
|
added bug |
2012-01-17 20:49:26 |
peter hicks |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595922 |
|
2012-01-17 20:49:26 |
peter hicks |
bug task added |
|
apt (Debian) |
|
2012-01-17 21:52:56 |
Bug Watch Updater |
apt (Debian): status |
Unknown |
Fix Released |
|
2012-01-28 11:19:42 |
Leo Iannacone |
apt (Ubuntu): assignee |
|
Leo Iannacone (l3on) |
|
2012-01-31 15:32:47 |
Launchpad Janitor |
branch linked |
|
lp:~l3on/ubuntu/lucid/apt/fix-917845 |
|
2012-01-31 15:33:17 |
Leo Iannacone |
apt (Ubuntu): assignee |
Leo Iannacone (l3on) |
|
|
2012-02-22 03:36:50 |
Bryce Harrington |
description |
This is the same as Debian Bug#595922 and was introduced in 0.7.25.3ubuntu9.9. It was not present in 0.7.25.3ubuntu9.7.
apt-ftparchive changes permissions on the Packages files to 001:
strace -F -e chmod /usr/bin/apt-ftparchive generate conf/apt-ftparchive.conf
chmod("./dists/lucid/main/binary-amd64/Packages.bz2", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages.gz", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages", 01) = 0
E: Could not open file ./dists/lucid/main/binary-amd64/Packages - open (13: Permission denied)
E: Error processing contents dists/lucid/Contents-amd64 |
[Impact]
<fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Text Case]
<fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
1.
2.
3.
Broken Behavior:
Fixed Behavior:
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
This is the same as Debian Bug#595922 and was introduced in 0.7.25.3ubuntu9.9. It was not present in 0.7.25.3ubuntu9.7.
apt-ftparchive changes permissions on the Packages files to 001:
strace -F -e chmod /usr/bin/apt-ftparchive generate conf/apt-ftparchive.conf
chmod("./dists/lucid/main/binary-amd64/Packages.bz2", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages.gz", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages", 01) = 0
E: Could not open file ./dists/lucid/main/binary-amd64/Packages - open (13: Permission denied)
E: Error processing contents dists/lucid/Contents-amd64 |
|
2012-02-29 17:10:24 |
Evan Broder |
branch linked |
|
lp:~l3on/ubuntu/lucid/apt/fix-917845 |
|
2012-02-29 19:11:22 |
Evan Broder |
description |
[Impact]
<fill me in with explanation of severity and frequency of bug on users and justification for backporting the fix to the stable release>
[Development Fix]
<fill me in with an explanation of how the bug has been addressed in the development branch, including the relevant version numbers of packages modified in order to implement the fix. >
[Stable Fix]
<fill me in by pointing out a minimal patch applicable to the stable version of the package.>
[Text Case]
<fill me in with detailed *instructions* on how to reproduce the bug. This will be used by people later on to verify the updated package fixes the problem.>
1.
2.
3.
Broken Behavior:
Fixed Behavior:
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected.
[Original Report]
This is the same as Debian Bug#595922 and was introduced in 0.7.25.3ubuntu9.9. It was not present in 0.7.25.3ubuntu9.7.
apt-ftparchive changes permissions on the Packages files to 001:
strace -F -e chmod /usr/bin/apt-ftparchive generate conf/apt-ftparchive.conf
chmod("./dists/lucid/main/binary-amd64/Packages.bz2", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages.gz", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages", 01) = 0
E: Could not open file ./dists/lucid/main/binary-amd64/Packages - open (13: Permission denied)
E: Error processing contents dists/lucid/Contents-amd64 |
[Impact]
When using apt-ftparchive with a config file, BinDirectory blocks don't inherit the default file permissions, causing them to end up with a permission of 0001
[Development Fix]
Fixed upstream in http://anonscm.debian.org/loggerhead/apt/debian-sid/revision/2013 ; incorporated into releases after Lucid.
[Stable Fix]
Cherry-picked the upstream patch - http://bazaar.launchpad.net/~l3on/ubuntu/lucid/apt/fix-917845/revision/107
[Text Case]
(lucid-amd64)root@caron:~# mkdir -p apt/conf
(lucid-amd64)root@caron:~# mkdir -p apt/dists/sid/{main,contrib,non-free}/{binary-i386,source}
(lucid-amd64)root@caron:~# mkdir -p apt/pool/{main,contrib,non-free}
(lucid-amd64)root@caron:~# cd apt/
(lucid-amd64)root@caron:~/apt# cp /usr/share/doc/apt-utils/examples/apt-ftparchive.conf conf/
(lucid-amd64)root@caron:~/apt# apt-ftparchive generate conf/apt-ftparchive.conf
[...]
(lucid-amd64)root@caron:~/apt# ls -l dists/sid/main/binary-i386/Packages
Broken result: ---------x 1 root root 0 Feb 29 09:37 dists/sid/main/binary-i386/Packages
Fixed result: -rw-r--r-- 1 root root 0 Feb 29 11:11 dists/sid/main/binary-i386/Packages
[Regression Potential]
Patch is isolated, straightforward, and contained within the apt-ftparchive tool.
[Original Report]
This is the same as Debian Bug#595922 and was introduced in 0.7.25.3ubuntu9.9. It was not present in 0.7.25.3ubuntu9.7.
apt-ftparchive changes permissions on the Packages files to 001:
strace -F -e chmod /usr/bin/apt-ftparchive generate conf/apt-ftparchive.conf
chmod("./dists/lucid/main/binary-amd64/Packages.bz2", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages.gz", 01) = 0
chmod("./dists/lucid/main/binary-amd64/Packages", 01) = 0
E: Could not open file ./dists/lucid/main/binary-amd64/Packages - open (13: Permission denied)
E: Error processing contents dists/lucid/Contents-amd64 |
|
2012-02-29 19:12:55 |
Evan Broder |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-03-01 09:38:43 |
Torsten Spindler |
apt (Ubuntu): status |
New |
Triaged |
|
2012-03-05 16:39:00 |
Martin Pitt |
nominated for series |
|
Ubuntu Lucid |
|
2012-03-05 16:39:00 |
Martin Pitt |
bug task added |
|
apt (Ubuntu Lucid) |
|
2012-03-05 16:39:08 |
Martin Pitt |
apt (Ubuntu): status |
Triaged |
Fix Released |
|
2012-03-05 16:39:14 |
Martin Pitt |
apt (Ubuntu Lucid): status |
New |
Fix Committed |
|
2012-03-05 16:39:17 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2012-03-05 16:39:19 |
Martin Pitt |
tags |
|
verification-needed |
|
2012-03-05 18:35:21 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/apt |
|
2012-03-06 21:14:34 |
Clint Byrum |
tags |
verification-needed |
verification-done |
|
2012-03-14 19:48:09 |
Launchpad Janitor |
apt (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|