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 Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o
Linux Format2 min read
Specialist Tool Organisation
K ali works differently from the others as it has the security tools in the root of the app launcher. If you know what you’re looking for, the whole thing is searchable from the launcher. The ‘normal’ apps are located in the Usual Applications folder
Linux Format14 min read
Ubuntu at 20
Without Ubuntu, the current Linux landscape would be unrecognisable. Back in October 2004, the first 4.10 (2004.10) release of Ubuntu, with its intriguing Warty Warthog code name, leapt from obscurity to being one of the most downloaded Linux distrib

Related Books & Audiobooks