| 28 Sep 2023 |
uep | consored is probably a running process though | 01:50:05 |
@cifre:matrix.org | i can't paste every line, it'd be a wall.
/proc/14659/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14531/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14367/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14367/fd/63 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/85 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/32 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14469/exe -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/66 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14367/fd/127 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
/proc/14582/fd/41 -> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8
| 01:52:06 |
uep | also try nix-store --query --referrers <path> | 01:53:20 |
@cifre:matrix.org | ok, what is that for | 01:53:34 |
uep | yeah, are there any that are not /proc/... ? | 01:53:41 |
uep | the running processes are roots to stop the exe being gc'd while running | 01:54:07 |
@cifre:matrix.org | In reply to @uep:matrix.org yeah, are there any that are not /proc/... ? nix-store --query --roots <path> no | 01:54:22 |
uep | referrers will also give you a clie about what's pulling it in.. | 01:54:33 |
uep | like a ...-system-path derivation | 01:55:00 |
@cifre:matrix.org | In reply to @uep:matrix.org also try nix-store --query --referrers <path> /nix/store/03i8ch7wfzwf2fhdi9ql5j0m33h0razb-firefox-devedition-unwrapped-116.0b8 | 01:56:05 |
uep | ok, so your firefox is still running, but should not be in the system path anymore and can get gc'd after you quit it | 01:56:31 |
uep | that's not quite the same as understanding why the .desktop files are still there or how they were installed | 01:57:03 |
@cifre:matrix.org | In reply to @uep:matrix.org ok, so your firefox is still running, but should not be in the system path anymore and can get gc'd after you quit it yes, it works, but it should be there at this point, i tried to remove it many times, many rebuilds. | 01:57:10 |
@cifre:matrix.org | In reply to @uep:matrix.org ok, so your firefox is still running, but should not be in the system path anymore and can get gc'd after you quit it * yes, it works, imean, it runs, i can browse with it, but it should not be there at this point, i tried to remove it many times, many rebuilds. | 01:57:25 |
uep | but those will turn into broken links once the store path is gc'd | 01:57:40 |
@cifre:matrix.org | i ran this sudo nix-collect-garbage -d thought it would fix it. | 01:58:34 |
uep | not if the process is running, those /proc/... gc roots will keep it alive | 01:59:18 |
@cifre:matrix.org | * i ran this sudo nix-collect-garbage -d thought it would fix it, like a few minutes ago. | 01:59:32 |