what I wanted: install nix chroot on a remote desktop so that I can install git that is younger than my grandma
what I got: locked out of vps
what I got: locked out of vps
Good news: I still haven't locked myself out of the dev desktop.
Good news: the nix shell actually works! I was able to install new git!
Bad news: somehow chroot brakes ssh command execution, i.e.
Any ideas why the last thing can be?
Good news: the nix shell actually works! I was able to install new git!
Bad news: somehow chroot brakes ssh command execution, i.e.
ssh dev-desktop works, but ssh dev-desktop "echo 1" hangs. This is a problem because vscode ssh uses this :(Any ideas why the last thing can be?
мне не нравится реальность
Good news: I still haven't locked myself out of the dev desktop. Good news: the nix shell actually works! I was able to install new git! Bad news: somehow chroot brakes ssh command execution, i.e. ssh dev-desktop works, but ssh dev-desktop "echo 1" hangs.…
K, so.
The problem was that I was re-executing fish in a chroot, which basically blocked initialization of the shell before
The fix is to check
The problem was that I was re-executing fish in a chroot, which basically blocked initialization of the shell before
ssh's command (echo 1) got executed.The fix is to check
status is-interactive and enter chroot only if it is.ЧТО ОЗНАЧАЕТ ЧТО У МЕНЯ ВСЁ СНОВА РАБОТАЕТ И Я ВСЁ СДЕЛАЛ ХОРОШО И Я МОЛОДЕЦ И У МЕНЯ ТЕПЕРЬ НОВЫЙ ГИТ
Оцените прошедший день
Final Results
11%
+2 (прекрасно)
15%
+1
33%
0 (нейтрально)
15%
-1
26%
-2 (ужасно)
мне не нравится реальность
ЧТО ОЗНАЧАЕТ ЧТО У МЕНЯ ВСЁ СНОВА РАБОТАЕТ И Я ВСЁ СДЕЛАЛ ХОРОШО И Я МОЛОДЕЦ И У МЕНЯ ТЕПЕРЬ НОВЫЙ ГИТ
Update
:~/rust-b (better_docs_for_e0223); git push --force-with-lease
sudo: /etc/sudo.conf is owned by uid 65534, should be 0
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
^C⏎
мне не нравится реальность
Update :~/rust-b (better_docs_for_e0223); git push --force-with-lease sudo: /etc/sudo.conf is owned by uid 65534, should be 0 sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set ^C⏎
Оказывается credentials helper использует
sudo, которое не работает в чруте..."обожаю" шеллы. казалось бы простая задача "соеденить и форварднуть
казалось бы можно сделать
argv и stdin в nc" совершенно не гуглиться и непонятно как её делать.казалось бы можно сделать
echo $argv (cat -), но cat - почему-то преобразует переводы строк в пробелы 😐
мне не нравится реальность
"обожаю" шеллы. казалось бы простая задача "соеденить и форварднуть argv и stdin в nc" совершенно не гуглиться и непонятно как её делать. казалось бы можно сделать echo $argv (cat -), но cat - почему-то преобразует переводы строк в пробелы 😐
В итоге сделал
echo -e $argv "\n" (string join "\n" (cat -))а как по английски говорят "костыль" (в смысле в котором его программисты используют)?
Оцените прошедший день
Final Results
12%
+2 (прекрасно)
23%
+1
28%
0 (нейтрально)
9%
-1
28%
-2 (ужасно)
мне не нравится реальность
Следующий стрим (среда, 29 марта) (мультивыбор)
Сегодня провести стрим не получиться, у меня внезапно появились неотложные дела :(
Поэтому стрим переносится на завтра, простите :(
(btw результат опроса забавный..)
Поэтому стрим переносится на завтра, простите :(
(btw результат опроса забавный..)
Оцените прошедший день
Final Results
5%
+2 (прекрасно)
24%
+1
29%
0 (нейтрально)
12%
-1
31%
-2 (ужасно)