9 Jul 2025 |
Linux Hackerman | In reply to @tom:dragar.de mhm, ja, vielleicht habe ich zu kompliziert gedacht. Das was ich so bei meinen Suchen gefunden hatte waren jetzt Skripte Sachen automatisch machen sollten. Das tat nun aber irgendwie nicht direkt.
Aber einfach mal kexec und dann weiter schauen scheint eine gute Idee jo, nixos-anywhere ist da noch ganz praktisch um die ganze kexec-geschichte zu skripten | 12:12:10 |
Tom | Redacted or Malformed Event | 16:51:59 |
Tom | https://github.com/nix-community/nixos-images?tab=readme-ov-file#using-the-kexec-installer
das tat jetzt prima | 16:52:11 |
Tom | UEFI auf dem Serverbörse Server welchen ich hier zum testen habe tut aber bislang nicht | 16:55:38 |
Tom | * UEFI auf dem Serverbörse Server, welchen ich hier gerade zum testen gebucht habe, tut aber bislang nicht | 16:57:37 |
15 Jul 2025 |
niklaskorz | @grimmauld:grapevine.grimmauld.de ich nehme mal an du benutzt security.polkit.persistentAuthentication aus deinem run0-sudo-shim Modul? Bei mir scheint das keinen Effekt zu haben, irgendwelche Tipps wie ich das debuggen könnte? 🥹 | 07:06:43 |
niklaskorz | Die Rules in /etc/polkit-1/rules.d/10-nixos.rules sehen jedenfalls alle korrekt aus | 07:07:52 |
Grimmauld (any/all) | probier mal ein vanilla bash, ohne fancy prompt oder so. Wichtig für die persistent authentication in polkit ist, dass die parent process id (ppid ) zwischen verschiedenen aufrufen konsistent bleibt. | 07:08:12 |
Grimmauld (any/all) |  Download image.png | 07:08:41 |
Grimmauld (any/all) | hier geht das jedenfalls einfach, aber ein anderer bekannter hatte wphl ähnliche probleme | 07:09:01 |
Grimmauld (any/all) | * hier geht das jedenfalls einfach, aber ein anderer bekannter hatte wohl ähnliche probleme | 07:09:11 |
Grimmauld (any/all) | Oder probier mal mehrmals ps -o ppid auszuführen, das sollte konsistentes output geben | 07:11:47 |
niklaskorz | In reply to @grimmauld:grapevine.grimmauld.de Oder probier mal mehrmals ps -o ppid auszuführen, das sollte konsistentes output geben Hm, ist konsistent, sowohl in fish + starship als auch vanilla bash, trotzdem jedesmal erneute Aufforderung zur Authentifizierung | 07:12:44 |
Grimmauld (any/all) | Spannend.... | 07:13:58 |
Grimmauld (any/all) | und die commands werden nicht in irgend einem wrapper ausgeführt? | 07:14:59 |
Grimmauld (any/all) | also probier mal run0 pstree -s pstree | 07:16:23 |
Grimmauld (any/all) |  Download image.png | 07:16:57 |
Grimmauld (any/all) | also pstree sollte direkt von deiner $SHELL den fork+exec bekommen, kein wrapper drin | 07:18:33 |
Grimmauld (any/all) | und wenn du das mehrmals machst sollte die shell pid gleich bleiben | 07:18:45 |
Grimmauld (any/all) |  Download image.png | 07:20:12 |
Grimmauld (any/all) | funktioniert hier btw auch in ghostty+fish, sollte also nicht an bash-isms liegen | 07:20:32 |
niklaskorz | ~ via 🐍 v3.13.4 ❄️
❯ run0 pstree -s pstree
-+= 00001 root /run/current-system/systemd/lib/systemd/systemd
\-+= 02568 niklasko /nix/store/73l80gfxnnchah2dzd97w42dc71dv4vx-systemd-257.6/lib/systemd/systemd --user
\-+= 03117 niklasko /run/current-system/sw/bin/ghostty
\-+= 14781 niklasko /run/current-system/sw/bin/fish
\-+= 15356 niklasko /run/current-system/sw/bin/fish
\-+= 15488 niklasko run0 pstree -s pstree
\--- 15489 niklasko /run/current-system/sw/bin/pkttyagent --notify-fd 6 --fallback
~ via 🐍 v3.13.4 ❄️ took 2s
❯ run0 pstree -s pstree
-+= 00001 root /run/current-system/systemd/lib/systemd/systemd
\-+= 02568 niklasko /nix/store/73l80gfxnnchah2dzd97w42dc71dv4vx-systemd-257.6/lib/systemd/systemd --user
\-+= 03117 niklasko /run/current-system/sw/bin/ghostty
\-+= 14781 niklasko /run/current-system/sw/bin/fish
\-+= 15356 niklasko /run/current-system/sw/bin/fish
\-+= 15613 niklasko run0 pstree -s pstree
\--- 15614 niklasko /run/current-system/sw/bin/pkttyagent --notify-fd 6 --fallback
ne sieht auch alles korrekt aus, hab auch in der repl nochmal sicherheitshalber config.security.polkit.package.patches gecheckt und der PR Patch ist definitiv drin... | 07:24:10 |
Grimmauld (any/all) | vorsicht | 07:24:54 |
Grimmauld (any/all) | du hast da fish -> fish | 07:24:59 |
Grimmauld (any/all) | wait nvm ist beides 15356, sollte passen... | 07:25:17 |
Grimmauld (any/all) | ich bin verwirrt. | 07:25:52 |
niklaskorz | ja der nested fish ist wegen nix shell , hatte kein pstree in der config^^ | 07:25:54 |
Grimmauld (any/all) | ah okay fair | 07:26:01 |
niklaskorz | aber gut, dann fällt mir auch nichts ein außer dass die polkit authkeep PR aus mysteriösen Gründen nicht mit meinem Setup kompatibel ist | 07:27:26 |
niklaskorz | trotzdem danke^^ | 07:27:58 |