New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'bash--norc': 'bash--norc' #738

Josh-West-Bose opened this Issue Aug 19, 2018 · 2 comments


2 participants

Josh-West-Bose commented Aug 19, 2018

What were you trying to do?

Use Telepresence

What did you expect to happen?

Telepresence to work

What happened instead?

Telepresence exited with an error

Automatically included information

Command line: ['/usr/bin/telepresence', '--method', 'vpn-tcp', '--namespace', 'core-platform-telepresence']
Version: 0.91
Python version: 3.6.6 (default, Jul 19 2018, 16:29:00) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
kubectl version: Client Version: v1.8.15 // Server Version: v1.8.15
oc version: (error: [Errno 2] No such file or directory: 'oc': 'oc')
OS: Linux jupiter 4.17.14-102.fc27.x86_64 #1 SMP Wed Aug 15 12:26:40 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Traceback (most recent call last):
  File "/usr/bin/telepresence/telepresence/", line 129, in crash_reporting
  File "/usr/bin/telepresence/telepresence/", line 78, in main
    runner, remote_info, env, socks_port, ssh, mount_dir
  File "/usr/bin/telepresence/telepresence/outbound/", line 60, in launch
    runner_, remote_info, command, args.also_proxy, env, ssh
  File "/usr/bin/telepresence/telepresence/outbound/", line 123, in launch_vpn
    process = Popen(command, env=env)
  File "/usr/lib64/python3.6/", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'bash--norc': 'bash--norc'


DIRECT --dest -p udp --dport 5355 --to-ports 12300 -m ttl ! --ttl 42
  12.4  25 | conntrack v1.4.4 (conntrack-tools): 0 flow entries have been deleted.
  12.4  25 | c : DNS request from ('', 47962) to None: 37 bytes
  12.5  17 | 2018-08-19T00:36:01+0000 [stdout#info] Set DNS suffix we filter out to: [()]
  12.5  17 | 2018-08-19T00:36:01+0000 [stdout#info] Result for b'hellotelepresence15' is ['']
  13.5 TEL | [42] Capturing: python3 -c 'import socket; socket.gethostbyname('"'"'hellotelepresence16'"'"')'
  13.5  25 | c : DNS request from ('', 54031) to None: 57 bytes
  13.5  17 | 2018-08-19T00:36:02+0000 [stdout#info] Set DNS suffix we filter out to: [(b'hsd1', b'ma', b'comcast', b'net'), ()]
  13.5  17 | 2018-08-19T00:36:02+0000 [stdout#info] Result for b'' is ['']
  13.5 TEL | END SPAN,sshuttle-wait)    4.8s
  13.5 TEL | END SPAN    4.8s


This comment has been minimized.

Josh-West-Bose commented Aug 19, 2018

Note: Telepresence is working just fine with 0.90


This comment has been minimized.


ark3 commented Aug 20, 2018

Sorry, a typo crept into the 0.91 refactor and exposed a hole in our testing. Please use --run bash as a workaround.

@ark3 ark3 self-assigned this Aug 20, 2018

@ark3 ark3 added the bug label Aug 20, 2018

@ark3 ark3 added this to To do in Tel Tracker via automation Aug 20, 2018

ark3 added a commit that referenced this issue Aug 21, 2018

Fix typo
Fixes #738

@ark3 ark3 moved this from To do to In progress in Tel Tracker Aug 21, 2018

@ark3 ark3 closed this in #744 Aug 21, 2018

Tel Tracker automation moved this from In progress to Done Aug 21, 2018

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