Created attachment 569702 [details, diff] Patch rust removing openssl-probe /boot path With a separate /boot partition that is not mounted by default and systemd creating an automount unit for it, running cargo --list causes /boot to be mounted. This happens frequently because the cargo Bash autocompletion file runs cargo --list every time a new Bash session is started e.g. a new GNOME terminal or terminal tab. This also happens with cargo version, cargo rustc, cargo build. cargo uses the openssl-probe crate that searches hard-coded paths for certificates, and the following was included for Haiku: "/boot/system/data/ssl", I've used the attached patch against rust to stop this. (It also drops: /data/data/com.termux/files/usr/etc/tls) Reported upstream: https://github.com/rust-lang/cargo/issues/6737 https://github.com/alexcrichton/openssl-probe/issues/11
Fixed in dev-lang/rust-1.42.0: https://github.com/rust-lang/cargo/issues/6737#issuecomment-609527844