Bug 496 - Upstream waf bug affects --enable-sudo for emu and tap
Upstream waf bug affects --enable-sudo for emu and tap
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-13 13:59 UTC by Craig Dowell
Modified: 2009-02-14 09:12 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Dowell 2009-02-13 13:59:34 UTC
There is a bug in waf that prevents serializing the sudo commands used during --enable-sudo in emu and tap.  Gustavo has reported the bug and is awaiting a response.  This manifests itself as an inability to enter a correct password since two sudo instances are running at the same time.  There are workarounds,

0) If you don't know what I'm talking about, chances are this won't affect you;

1) If you don't use emu or tap, don't worry about it;

2) If you run your simulations that use emu and tap as root, you won't be affected; just don't --enable-sudo and don't worry about it;

3) If you run your simulations that use emu and tap as a regular peon user, the workaround is to get yourself a sudo ticket before you try to build the socket creators.

For example,

  sudo ls
  ./waf
Comment 1 Gustavo J. A. M. Carneiro 2009-02-14 07:25:32 UTC
Actually the bug was fixed upstream, and I backported the fix to my waf tree.  I was preparing for a portuguese mobile communications SIG presentation (about NS-3!), so had no time lately for this, but I will fix it today.
Comment 2 Gustavo J. A. M. Carneiro 2009-02-14 09:12:30 UTC
Should be fixed.