cloudfoundry-attic / cfdev

A fast and easy local Cloud Foundry experience on native hypervisors, powered by LinuxKit with VPNKit
Apache License 2.0
227 stars 64 forks source link

RTNETLINK answers: Operation not permitted #106

Closed Xhings closed 5 years ago

Xhings commented 5 years ago

Hello,

Trying to run tc command in a local instance and getting below exception:

RTNETLINK answers: Operation not permitted

Possibly due to privilege issue hence trying sudo. Are there default credentials?

Regards, Xhings

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/166960285

The labels on this github issue will be updated when the story is started.

aemengo commented 5 years ago

What do you mean by in a local instance? What commands are you performing to access the instance?

Xhings commented 5 years ago

Its a local cfdev instance. SSHing into the local running instance I am running tc cmd, when it throws this exception. Thought it might be the permission issue, so tried sudo. Question is how do I run tc? Also, is there a sudo default credentials? admin and user did not work.

aemengo commented 5 years ago

@Xhings If you are performing cf ssh, that means that you are ssh'ing under the application developer persona. On any incarnation of Cloud Foundry, sudo access is unavailable to the application developer, not just CF Dev. This is expected behavior.