Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123703 - New version of usermode-utilities
Summary: New version of usermode-utilities
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://www.user-mode-linux.org/~blais...
Whiteboard:
Keywords:
Depends on:
Blocks: 72366
  Show dependency tree
 
Reported: 2006-02-22 04:43 UTC by Joel Palmius
Modified: 2006-08-13 17:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
usermode-utilities-20060323.ebuild (usermode-utilities-20060323.ebuild,847 bytes, text/plain)
2006-06-10 18:39 UTC, Dean Baender
Details
files/20060323-ldflags.patch (20060323-ldflags.patch,674 bytes, patch)
2006-06-10 18:41 UTC, Dean Baender
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Palmius 2006-02-22 04:43:26 UTC
From blaisorblade's homepage:

16 February 2006: uml_utilities 20060216: I've fixed here all kinds of bugs in various utilities

    * Finally included the security fix against local DoS - an attacker with local access could easily bring down an interface by using uml_net, if installed setuid (as done by default). It was included in distros' packages from a lot of time, however.
    * Fixed the misbehaviour of COW utilities (especially uml_moo) compiled on 64-bit platform:
         1. when manipulating COW files generated by 32-bit UML binaries, it crashed immediately without action with floating point exception (moo-64-bit-padding-fix);
         2. after fixing that, it gave wrong results (and this probably affected also 64-bit COW files.
    * Some fixes to honeypot.pl.
    * Various code fixlets
    * Better compilation system - by 'make CFLAGS="-O2 -Wall"' you get an optimized build (it was more awkward before).
Comment 1 Joel Palmius 2006-02-22 04:48:01 UTC
As a side-note, the current version of usermode-utilities (20040406-r1) is marked stable on amd64. This is a pity, since that version has a pretty decent chance of producing corrupt uml/cow filesystems, something which will probably not be seen by the user until it is too late.
Comment 2 Dean Baender 2006-06-10 18:39:24 UTC
Created attachment 88872 [details]
usermode-utilities-20060323.ebuild

I'm just getting a UML setup going, so while this builds I can't yet test if it actually works.
Comment 3 Dean Baender 2006-06-10 18:41:01 UTC
Created attachment 88873 [details, diff]
files/20060323-ldflags.patch

Fixes the QA Notice.

QA Notice: the following files are setXid, dyn linked, and using lazy bindings
 This combination is generally discouraged.  Try re-emerging the package:
 LDFLAGS='-Wl,-z,now' emerge usermode-utilities
LAZY usr/bin/uml_net
Comment 4 Wulf Krueger (RETIRED) gentoo-dev 2006-07-02 06:29:42 UTC
This should really get into portage soon because version 20040406-r1 can't handle large files properly. Using an 8 GB backing file and a corresponding cow file resulted in

COW file open: File too large

when using uml_moo to merge both:

uml_moo -b gentoo_root_fs_unstable1 gentoo_unstable_cow gentoo_root_fs_unstable

20060216 just does the job using the exact same syntax. The new backing file has the right size and works as expected. 

I haven't tried the ebuild here but compiled 20060216 manually and so far everything works nicely.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 12:08:25 UTC
@dang: would like to have a look by chance?
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-08-13 17:56:15 UTC
20060323 added.