Problem
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.
I wouldn't expect cargo to need to mount /boot.
Because Bash autocompletion file runs cargo --list:
|
__cargo_commands=$(cargo --list 2>/dev/null | awk 'NR>1 {print $1}') |
Every time i create a new Bash session e.g. a new GNOME terminal or terminal tab /boot is automounted.
Steps
- /boot is not mounted
cargo --list
- /boot is mounted (
boot.automount: Got automount request for /boot in systemd journal)
Notes
Output of cargo version: cargo 1.32.0
Gentoo Linux:
dev-lang/rust-1.32.0
sys-apps/systemd-241-r1
Problem
With a separate /boot partition that is not mounted by default and systemd creating an automount unit for it, running
cargo --listcauses /boot to be mounted.I wouldn't expect cargo to need to mount /boot.
Because Bash autocompletion file runs
cargo --list:cargo/src/etc/cargo.bashcomp.sh
Line 150 in 5773aaa
Every time i create a new Bash session e.g. a new GNOME terminal or terminal tab /boot is automounted.
Steps
cargo --listboot.automount: Got automount request for /bootin systemd journal)Notes
Output of
cargo version: cargo 1.32.0Gentoo Linux:
dev-lang/rust-1.32.0
sys-apps/systemd-241-r1