Stack limit testing broken in Lucid

Bug #617944 reported by Soren Hansen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
user-mode-linux (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: user-mode-linux

user-mode-linux builds against the linux-source-2.6.32 package. At the time user-mode-linux was built, the kernel source package had a bug in the stack limit checking in fs/exec.c. This makes virtually everything in uml fail miserably. Luckily, this bug has been fixed in linux-source-2.6.32, so a simple rebuild will fix everything.

Test case:
wget http://cloonix.net/downloads/guests_64_bits/ubuntu_uml.tar.bz2
tar xjf ubuntu_uml.tar.bz2
linux ubd0=ubuntu_uml root=/dev/udba

It's supposed to give you a root prompt in properly booted, usable Lucid system. With the broken package, it'll fail *somehow*. If it doesn't segfault on you straight away, or spew a whole bunch of errors from upstart about stuff like "hostname" or some mount getting killed, it'll probably dump you in a root shell with pid 1 and stderr pointed nowhere.

Revision history for this message
Soren Hansen (soren) wrote :

Oh, and this will require a completely different fix in maverick (where it'll ftbfs, because linux-source-2.6.32 isn't available there anymore), so the usual rule of fixing it in the dev release doesn't apply here.

Changed in user-mode-linux (Ubuntu Lucid):
status: New → Triaged
Changed in user-mode-linux (Ubuntu):
status: New → Invalid
Revision history for this message
Soren Hansen (soren) wrote :

Targeted for lucid, and marked the primary bug task invalid, since it doesn't apply to maverick.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted user-mode-linux 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!

Changed in user-mode-linux (Ubuntu Lucid):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Vish Ishaya (vishvananda) wrote :

Fixed package works for me.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package user-mode-linux - 2.6.32-1um-3ubuntu3.1

---------------
user-mode-linux (2.6.32-1um-3ubuntu3.1) lucid-proposed; urgency=low

  * No change upload to build against fresh kernel. (LP: #617944)
 -- Soren Hansen <email address hidden> Sat, 14 Aug 2010 21:07:10 +0200

Changed in user-mode-linux (Ubuntu Lucid):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.