2012-02-16 02:06:59 |
Harald Sitter |
bug |
|
|
added bug |
2012-02-16 02:07:06 |
Harald Sitter |
update-manager (Ubuntu): status |
New |
Triaged |
|
2012-02-16 02:07:09 |
Harald Sitter |
update-manager (Ubuntu): importance |
Undecided |
Critical |
|
2012-02-16 02:08:05 |
Harald Sitter |
update-manager (Ubuntu): assignee |
|
Marc Deslauriers (mdeslaur) |
|
2012-02-16 02:08:27 |
Harald Sitter |
nominated for series |
|
Ubuntu Oneiric |
|
2012-02-16 02:08:27 |
Harald Sitter |
bug task added |
|
update-manager (Ubuntu Oneiric) |
|
2012-02-16 02:08:35 |
Harald Sitter |
update-manager (Ubuntu Oneiric): status |
New |
Triaged |
|
2012-02-16 02:08:38 |
Harald Sitter |
update-manager (Ubuntu Oneiric): importance |
Undecided |
Critical |
|
2012-02-16 02:08:45 |
Harald Sitter |
update-manager (Ubuntu Oneiric): assignee |
|
Marc Deslauriers (mdeslaur) |
|
2012-02-16 02:08:49 |
Harald Sitter |
update-manager (Ubuntu Oneiric): milestone |
|
oneiric-updates |
|
2012-02-16 02:08:53 |
Harald Sitter |
update-manager (Ubuntu): milestone |
|
ubuntu-12.04-beta-1 |
|
2012-02-16 02:11:29 |
Harald Sitter |
bug |
|
|
added subscriber Kubuntu Bugs |
2012-02-16 03:13:53 |
Marc Deslauriers |
nominated for series |
|
Ubuntu Hardy |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
bug task added |
|
update-manager (Ubuntu Hardy) |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
nominated for series |
|
Ubuntu Lucid |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
bug task added |
|
update-manager (Ubuntu Lucid) |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
nominated for series |
|
Ubuntu Natty |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
bug task added |
|
update-manager (Ubuntu Natty) |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
nominated for series |
|
Ubuntu Maverick |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
bug task added |
|
update-manager (Ubuntu Maverick) |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
nominated for series |
|
Ubuntu Precise |
|
2012-02-16 03:13:53 |
Marc Deslauriers |
bug task added |
|
update-manager (Ubuntu Precise) |
|
2012-02-16 03:14:06 |
Marc Deslauriers |
update-manager (Ubuntu Hardy): status |
New |
Confirmed |
|
2012-02-16 03:14:08 |
Marc Deslauriers |
update-manager (Ubuntu Lucid): status |
New |
Confirmed |
|
2012-02-16 03:14:11 |
Marc Deslauriers |
update-manager (Ubuntu Maverick): status |
New |
Confirmed |
|
2012-02-16 03:14:13 |
Marc Deslauriers |
update-manager (Ubuntu Natty): status |
New |
Confirmed |
|
2012-02-16 03:14:16 |
Marc Deslauriers |
update-manager (Ubuntu Hardy): assignee |
|
Marc Deslauriers (mdeslaur) |
|
2012-02-16 03:14:19 |
Marc Deslauriers |
update-manager (Ubuntu Lucid): assignee |
|
Marc Deslauriers (mdeslaur) |
|
2012-02-16 03:14:20 |
Marc Deslauriers |
update-manager (Ubuntu Maverick): assignee |
|
Marc Deslauriers (mdeslaur) |
|
2012-02-16 03:14:22 |
Marc Deslauriers |
update-manager (Ubuntu Natty): assignee |
|
Marc Deslauriers (mdeslaur) |
|
2012-02-16 03:21:26 |
Marc Deslauriers |
summary |
inability to QA utterly broke DistUpgradeViewKDE |
DistUpgradeViewKDE broken since lastupdate |
|
2012-02-16 03:21:39 |
Marc Deslauriers |
summary |
DistUpgradeViewKDE broken since lastupdate |
DistUpgradeViewKDE broken since last security update |
|
2012-02-16 18:37:52 |
Launchpad Janitor |
update-manager (Ubuntu Oneiric): status |
Triaged |
Fix Released |
|
2012-02-16 18:37:52 |
Launchpad Janitor |
update-manager (Ubuntu Natty): status |
Confirmed |
Fix Released |
|
2012-02-16 18:37:52 |
Launchpad Janitor |
update-manager (Ubuntu Maverick): status |
Confirmed |
Fix Released |
|
2012-02-16 18:37:52 |
Launchpad Janitor |
update-manager (Ubuntu Lucid): status |
Confirmed |
Fix Released |
|
2012-02-16 18:37:52 |
Launchpad Janitor |
update-manager (Ubuntu Hardy): status |
Confirmed |
Fix Released |
|
2012-02-16 20:05:24 |
Launchpad Janitor |
update-manager (Ubuntu Precise): status |
Triaged |
Fix Released |
|
2012-02-16 20:24:45 |
Marc Deslauriers |
description |
copyXauth = tempfile.mkstemp("", "adept")
if 'XAUTHORITY' in os.environ and os.environ['XAUTHORITY'] != copyXauth:
shutil.copy(os.environ['XAUTHORITY'], copyXauth)
os.environ["XAUTHORITY"] = copyXauth
<apachelogger> can't load DistUpgradeViewKDE (coercing to Unicode: need string or buffer, tuple found)
<apachelogger> bug 881541
<ubottu> Launchpad bug 881541 in update-manager (Ubuntu) "DistUpgrade/DistUpgradeViewKDE.py uses mktemp -- which is insecure" [Medium,Fix released] https://launchpad.net/bugs/881541
<apachelogger> http://docs.python.org/library/tempfile.html
<apachelogger> mkstemp() returns a tuple containing an OS-level handle to an open file (as would be returned by os.open()) and the absolute pathname of that file, in that order.
<apachelogger> shutil.copy(os.environ['XAUTHORITY'], copyXauth)
<apachelogger> I am the touple in your string <3
print os.environ['XAUTHORITY'] => /tmp/kde-me/xauth-1000-_0
print copyXauth => (13, '/tmp/adeptTXo9jf')
Also: http://docs.python.org/library/shutil.html
shutil.copy(src, dst)
Copy the file src to the file or directory dst. If dst is a directory, a file with the same basename as src is created (or overwritten) in the directory specified. Permission bits are copied. src and dst are path names given as strings.
Thank you for not reading documentation, no testing and getting me to waste time on this!
I really heart this.... <3 broken software... see.
"The guy who broke my upgrader now has to fix it and send me cookies" ~ Oscar Wild |
copyXauth = tempfile.mkstemp("", "adept")
if 'XAUTHORITY' in os.environ and os.environ['XAUTHORITY'] != copyXauth:
shutil.copy(os.environ['XAUTHORITY'], copyXauth)
os.environ["XAUTHORITY"] = copyXauth
<apachelogger> can't load DistUpgradeViewKDE (coercing to Unicode: need string or buffer, tuple found)
<apachelogger> bug 881541
<ubottu> Launchpad bug 881541 in update-manager (Ubuntu) "DistUpgrade/DistUpgradeViewKDE.py uses mktemp -- which is insecure" [Medium,Fix released] https://launchpad.net/bugs/881541
<apachelogger> http://docs.python.org/library/tempfile.html
<apachelogger> mkstemp() returns a tuple containing an OS-level handle to an open file (as would be returned by os.open()) and the absolute pathname of that file, in that order.
<apachelogger> shutil.copy(os.environ['XAUTHORITY'], copyXauth)
<apachelogger> I am the touple in your string <3
print os.environ['XAUTHORITY'] => /tmp/kde-me/xauth-1000-_0
print copyXauth => (13, '/tmp/adeptTXo9jf')
Also: http://docs.python.org/library/shutil.html
shutil.copy(src, dst)
Copy the file src to the file or directory dst. If dst is a directory, a file with the same basename as src is created (or overwritten) in the directory specified. Permission bits are copied. src and dst are path names given as strings. |
|
2012-04-24 10:19:17 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/update-manager |
|
2012-04-24 10:19:33 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/hardy-updates/update-manager |
|
2012-04-24 10:19:47 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-security/update-manager |
|
2012-04-24 10:20:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-updates/update-manager |
|
2012-04-24 10:20:32 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-security/update-manager |
|
2012-04-24 10:20:34 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-updates/update-manager |
|