Services enabled on a freshly installed system without a need for them?


I notice that btrfsmaintenance-refresh.service is enabled on a freshly installed system without BTRFS partitions.

  1. What is the reason for this?
  2. Do I need it?
  3. Should I better disable it? (supposedly saving a few seconds of boot time and memory?)

I also see that bluetooth.service is enabled but this computer has no Bluetooth adapter on it. So I ask 1, 2, 3 for it too :slight_smile:

I have just disabled btrfsmaintenance-refresh and bluetooth – on Tumbleweed running in a virtual machine (where there are no “btrfs” file systems). I’m not expecting any problems. And it booted fine after that change. I didn’t notice any obvious difference in boot-up time.

They are probably started on the principle that they do no harm, and will quickly exit if not needed.

I have occasionally have updates of “btrfsmainenance” hang during the update. I’ll be looking to whether disabling that service prevents the hang – or will a future update just re-enable the service.

Thanks. I disabled them too.

Do I need to start the bluetooth service in case I plug a USB bluetooth adapter (for example to transfer files or anything else)?

Well, I don’t know.

I have an older laptop, and Tumbleweed does not like its bluetooth hardware at all. I see a process running at 100% cpu (“systemd+udef” or similar). So I have been disabling bluetooth in the BIOS to avoid that problem.

Yesterday, I re-enable bluetooth in the BIOS, and booted into Tumbleweed. Yes, it was looping.
I disabled the bluetooth service, and rebooted. It was still looping.
I uninstalled “bluez” and rebooted. Now it no longer loops.

So it looks to me as if something is initializing bluetooth, even when that service is disabled.

You would need to try it to be sure.

I see.