Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6110 - usermode utils (dev-util/usermode) build without TUNTAP support
Summary: usermode utils (dev-util/usermode) build without TUNTAP support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-06 14:40 UTC by David Leadbeater
Modified: 2003-05-07 17:39 UTC (History)
2 users (show)

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


Attachments
from scratch to uml networking (LOG.uml,3.17 KB, text/plain)
2002-08-07 22:35 UTC, Ulf Bartelt (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Leadbeater 2002-08-06 14:40:20 UTC
usermode uses some makefile hackery to enable TUNTAP support (it appends a 
-DTUNTAP to the end of CFLAGS). 
The ebuild isn't building with tuntap support and i guess it's because gentoo 
sets specific CFLAGS.  
  
This applies to the masked ebuild as well..
Comment 1 David Leadbeater 2002-08-06 14:50:43 UTC
Actually the other thing with uml - some of uml uses /dev/net/tun, but the 
symlink to /dev/misc/net/tun was wrong on my system (and another system):  
% ls -l /dev/net/tun  
lr-xr-xr-x    1 root     root           12 Aug  6 20:50 /dev/net/tun ->  
misc/net/tun  
ie. it links to /dev/net/misc/net/tun..  
  
Comment 2 Ulf Bartelt (RETIRED) gentoo-dev 2002-08-06 17:08:34 UTC
to comment #1:

look at bug 1585.  there is a fix but this fix needs more testing.
Comment 3 Ulf Bartelt (RETIRED) gentoo-dev 2002-08-07 22:35:46 UTC
Created attachment 2912 [details]
from scratch to uml networking

the attachment shows a simple solution.

assuming everyone runs a 2.4 kernel nowadays, constantly adding -DTUNTAP to the
ebuild solves the problem.
Comment 4 Ulf Bartelt (RETIRED) gentoo-dev 2002-12-12 10:41:55 UTC
Hello maintainer?!?!?!

Manson?!?! Or who is ist?

Is this fixed?
Comment 5 Michael Imhof (RETIRED) gentoo-dev 2003-02-27 06:19:04 UTC
Date: Wed, 26 Feb 2003 23:26:31 +0100
From: Cristiano Paris <paris@disp.uniroma2.it>
To: tantive@gentoo.org
Subject: Gentoo Usermode Utilities


I was running an UML vm using the tuntap transport when uml_net reported
"Unknown transport 'tuntap'.

Looking at UML-utils Makefile and uml_net in particular I see the
following conditional:

TUNTAP = $(shell [ -e /usr/include/linux/if_tun.h ] && echo -DTUNTAP)

which correctly evaluates to "-DTUNTAP". Anyway this compilation define
doesn't shows up during uml_net compilation. I think it conflicts with
ebuild's CFLAGS env variable. I had to add -DTUNTAP by hand to the ebuild.

I think this can easily fixed.

Thanks for your work,

Cristiano

----
JabberID : paris@jabber.at
ICQ #    : 168127096
Yahoo    : cristiano_paris
MSN	 : cristiano_paris@hotmail.com

GnuPG Public Key Fingerprint (keyserver.linux.it)
pub  1024D/9F064556 2002-01-18 Cristiano Paris
     Key fingerprint = 9D20 667A 9B12 1DA2 2A41  F32E C93E 490C 9F06 4556
----
Comment 6 Michael Imhof (RETIRED) gentoo-dev 2003-05-07 17:38:27 UTC
As I already corrected this in #16834 some time ago and mholzer reassigned this bug to me i'm going to close it now.

sys-apps/usermode-utilities-20030205-r1 have -DTUNTAP in the emake line.
Comment 7 Michael Imhof (RETIRED) gentoo-dev 2003-05-07 17:39:08 UTC
Closing.