Skip to content

Cannot run mahimahi, seemingly because of permission issues. #159

@NotSpecial

Description

@NotSpecial

Hi everyone, and a happy new year!

I am trying to run mahimahi on Ubuntu 20.04LTS using binaries installed from the official repositories.

I'm trying to execute mm-delay 10, which instantly fails with the message:

Died on std::runtime_error: dnsmasq: did not start after 20 attempts
Died on std::runtime_error: `packetshell': process exited with failure status 

I initially thought the problem might be related to #143, but I do not experience any delay before the crash; it is instant.

Thus I did a bit of digging and compiled mahimahi myself from source to get additional debug output. The problem seems to come from lacking permissions:

At this point, I am unsure what to do next to get mahimahi to work. I cannot run it as root (sudo mm-delay 10 throws mm-delay: please run as non-root). Is there any specific configuration I need to make mahimahi work?

Thanks and best,
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions