media-automount-generator is not automounting drive
I made a fresh install of Bazzite and my freshly formatted drive appears to not auto mount. The drive has only one partition which is formatted as btrfs.
30 Replies
this is interesting cases, the issue is at boot the generator only found the nvme drives as seen here

but if you trigger daemon-reload, the generator will find the other device that is initially not included

below the red line is when you trigger the daemon-reload
the generated mount unit arent active so it still doesnt work

@Zeglius any idea what causes this? i think there is some race condition
https://paste.centos.org/view/029e77cd
the full logs
somewhat the storage devices arent detected the moment the generator runs
The weird part is even nvme0 aren't even detected initially
I had someone with an nvme, and they got it detected
By any chance is there any LVM/LUKS related with these partitions?
@Neil
shouldn't be
I only used the defaults for installing Bazzite
only other OS on here is Windows 11
okay, turn off the pc, turn on again and run this in the terminal
This will put a graph image into your clipboard, paste it here
Something kinda like this

After that run the
sudo systemctl daemon-reload
and run the command above again and paste herebash: dot: command not found
oh god forgot,
brew install graphviz
and try againBefore reload

After Reload

mm okay no clue maybe lsblk for some reason is not detecting the devices. What we can do is try with the next release of the generator and see if works
try running that, and reboot
./install.sh: line 1: +#!/bin/bash: No such file or directory
typo in the install script?aaaa
it seems yeah
edit it out are rerun?
ye
well actually simply run
sudo DESTDIR=/usr/local ./install.sh
after editing itok done that
didnt work
pfff no clue then, need to look into that. For now run this to uninstall and after do the manual steps in the docs
rm: cannot remove '/usr/local/lib/systemd/system-generators/media-automount-generator': Is a directory
what

file /usr/local/lib/systemd/system-generators/media-automount-generator
output:
/usr/local/lib/systemd/system-generators/media-automount-generator: directory
okay so
sudo rm -rf /usr/local/lib/systemd/system-generators/media-automount-generator /usr/local/lib/media-automount.d/
should do itdone