HiddenService not set up in torrc file because of sed expression error
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- shell
- 領域
- devops, infrastructure
調査の方向性
Scripts/LinodeStandUp.sh の214~225行付近から始め、/etc/tor/torrc に対して sed コマンドを再現し、報告された式エラーがないか /standup.err を確認します。セットアップが完了し、sed エラーなしで HiddenService 行が torrc に追加されるように、HiddenServiceDir エントリを更新します。
索引モデルが issue の本文から書いたものです。
説明
I tried installing the standup script following your directions. I noticed that the HiddenService lines were not added to my /etc/tor/torrc. Then, I saw this error in /standup.err:
standup@localhost:~$ grep ^sed /standup.err
sed: -e expression #1, char 253: unknown option to `s'
I was able to reproduce the error by running the code https://github.com/BlockchainCommons/Bitcoin-Standup-Scripts/blob/master/Scripts/LinodeStandUp.sh#L214-L225:
standup@localhost:~$ sed -i -e 's/## address y:z./## address y:z.\
\
HiddenServiceDir \/var\/lib\/tor\/standup\/\
HiddenServiceVersion 3\
HiddenServicePort 18332 127.0.0.1:18332\
HiddenServicePort 18443 127.0.0.1:18443\
HiddenServicePort 8332 127.0.0.1:8332\
\
HiddenServiceDir \/var/\lib/\tor/\cypherpunkpay\
HiddenServiceVersion 3\
HiddenServicePort 8081 127.0.0.1:8081\
/g' /etc/tor/torrc
sed: -e expression #1, char 253: unknown option to `s'
I think the problem is this line that doesn't properly escape the directory forward slashes. It needs changed to:
HiddenServiceDir \/var\/lib\/tor\/cypherpunkpay\
- 主要言語
- Shell
- スター
- 57
- フォーク
- 36
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
BlockchainCommons/Bitcoin-Standup-Scripts のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
BlockchainCommons/Bitcoin-Standup-Scripts#33 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
BlockchainCommons/Bitcoin-Standup-Scripts#32 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
BlockchainCommons/Bitcoin-Standup-Scripts#24 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
BlockchainCommons/Bitcoin-Standup-Scripts の issue をすべて見る
似ている issue
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
oSoWoSo/vOid_Community_repOsitory#148 · コメント 1 件 ·
-
chore
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
alunduil/alunduil-chezmoi#792 ·
-
area: compat bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
zenhub-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
OpenLiberty/ci.docker#747 ·