Linux Format

Answers

Q Disabled or stopped

I noticed that on my laptop running Fedora 31 under Xfce, Bluetooth is automatically activated upon starting up. I looked around for a way to disable it by default, but frankly the terminal’s output when checking whether the Bluetooth service is still running puzzles me. It tells me the service is still active, see below the terminal output. Is this correct and to be expected?

Jude Lee

A Sometimes systemd’s use of

English can be a little counterintuitive. You start and stop services using the start and stop commands for systemctl. The enable and disable options refer to what happens at boot, they do not affect the currently running instance. So $ systemctl stop bluetooth.service will stop the service, but it will be restarted at the next boot, while prevents it starting at next boot, but does not stop the running instance.

To stop it and prevent it restarting, you need to issue both of the commands. However, this may not be enough to prevent a service from running, as units can have dependencies. So if foo.service contains then starting foo will result in trying to start bar as well, even if you have run systemctl disable bar. This is usually a good thing, as it means you only need to

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related Books & Audiobooks