[Netkit.users] Sudo vs Su

Massimo Rimondini rimondin at dia.uniroma3.it
Fri Feb 26 12:54:14 CET 2010


Dear Giovambattista,

patches and bugs can be submitted via email or the bug tracking system,
the latter being the preferred alternative.
This issue is already documented in this bug report:
http://bugs.netkit.org/show_bug.cgi?id=9

However, thank you for reporting.

Regards,
Massimo.*

*
Giovambattista Ianni wrote:
> Dear all,
>
> I found that current netkit always uses su for invoking the
> manage_tuntap command, no matter of the USE_SUDO variable value: I'm
> not an expert of sh programming, but I found that the culprit was just
> a '==' instead of '=' in a string comparison.
>
> Hope the attached patch helps: sorry if I post this on the list, I'm
> not sure which is the 'official' way of submitting patches/bugs (nor
> if this is has been already solved)
>
> regards, gb
>
> Massimo Rimondini ha scritto:
>> Dear Giovambattista,
>>
>> this bug report addresses your problem:
>> http://bugs.netkit.org/show_bug.cgi?id=10
>>
>> Regards,
>> Massimo.
>>
>>
>> Giovambattista Ianni wrote:
>>> Dear all,
>>>
>>> I found some misbehavior when launching a VM with an alternative
>>> terminal, like
>>> vstart fw --eth0=A --xterm=gnome
>>>
>>> What happens is that the started machine cannot activate the eth0
>>> link on the hub A
>>> (excerpt from dmesg below)
>>> ----
>>> Computing a digest to use as ethernet address for device eth0
>>> Netdevice 0 (72:e8:99:2b:97:37) : daemon backend (uml_switch version
>>> 3) - unix:/home/ianni/.netkit/hubs/vhub_ianni_A.cnct
>>> daemon_open : control connect failed, errno = 2
>>> -----
>>>
>>> I did some tracing and found that the corresponding uml_switch
>>> process is started but dies as soon as the VM kernel is started, for
>>> no apparent reason.
>>>
>>> The problem could have something to deal with start timings but I'm
>>> not sure: for
>>>
>>> vstart fw -v --eth0=A --eth1=B --eth2=C --eth3=D --xterm=gnome
>>>
>>> I get that, randomly, eth3 and eth2 have their hub survive and get
>>> connected correctly.
>>>
>>> Is somebody else able to reproduce the same situation?
>>> (I'm using gnome-terminal 2.28.1 on a Ubuntu 9.10 as host machine,
>>> fresh netkit 2.7 installation)
>>>
>>>
>>> regards, gb
>>> _______________________________________________
>>> Netkit.users mailing list
>>> Netkit.users a list.dia.uniroma3.it
>>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>>
>>>   
>> _______________________________________________
>> Netkit.users mailing list
>> Netkit.users a list.dia.uniroma3.it
>> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Netkit.users mailing list
> Netkit.users a list.dia.uniroma3.it
> http://list.dia.uniroma3.it/mailman/listinfo/netkit.users


More information about the Netkit.users mailing list