-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Hi @shannona
I have tried to run the standup script with debian 12 first as you asked here
I am able to run the script and it seems to work
But there is one problem I have encountered during the execution of the script:
./standup.sh - Downloading Bitcoin; this will also take a while!
wget-log: Permission denied; disabling logging.
wget-log: Permission denied; disabling logging.
wget-log: Permission denied; disabling logging.
....
I have checked the standup.log
file and got this:
>>> cat /standup.log | grep wget-log | wc -l; wc -l /standup.log
51169
51983 /standup.log
So in short we have roughly 51k rows with this log message.
As we can read from the first line I reported above, these log messages are raised in the bitcoin download section and specifically by the series of wget commands (from row 308 to 312):
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/$BITCOINPLAIN-x86_64-linux-gnu.tar.gz -O ~standup/$BITCOINPLAIN-x86_64-linux-gnu.tar.gz
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS.asc -O ~standup/SHA256SUMS.asc
sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/SHA256SUMS -O ~standup/SHA256SUMS
sudo -u standup wget https://raw.githubusercontent.com/bitcoin/bitcoin/23.x/contrib/builder-keys/keys.txt -O ~standup/keys.txt
Not an expert here but I cannot understand why a Permission denied
error is raised when each wget
is run as sudo -u standup
After this series of logs, I'd expect to find the standup
folder empty, but instead all files are found:
>>> ls -l /home/standup/
total 43164
-rw-r--r-- 1 standup sudo 2850 Apr 25 2022 SHA256SUMS
-rw-r--r-- 1 standup sudo 13482 Apr 25 2022 SHA256SUMS.asc
-rw-r--r-- 1 standup sudo 44173568 Apr 25 2022 bitcoin-23.0-x86_64-linux-gnu.tar.gz
-rw-r--r-- 1 standup sudo 3591 Oct 7 12:27 keys.txt
I even tried to run this manually like this:
>>> sudo -u standup mkdir /home/standup/manual
>>> sudo -u standup wget https://bitcoincore.org/bin/$BITCOIN/$BITCOINPLAIN-x86_64-linux-gnu.tar.gz -O /home/standup/manual/$BITCOINPLAIN-x86_64-linux-gnu.tar.gz
and it worked smoothly without any wget
log error
any idea ?