Skip to content

f-stack tools add root user check #829

Description

@typochecker

I am accustomed to using sudo instead of directly using the root user. When I forget to add the sudo prefix, the program only outputs an error message with a reason that is hard to guess.

aaa@aaaubuntu:~/speedtest$ /data/f-stack/tools/sbin/ifconfig
EAL: Cannot open '/run/user/1000/dpdk/rte/config' for rte_mem_config
EAL: FATAL: Cannot init config
EAL: Cannot init config
EAL: Error - exiting with code: 1
Cause: Error with EAL initialization

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions