Mailinglist Archive: opensuse-factory (469 mails)

< Previous Next >
Re: [opensuse-factory] Re: [openSUSE:Leap:15.2, Build 617.1] pulseaudio and systemd vs. setup-pulseaudio
On Thu, 02 Apr 2020 12:08:53 +0200,
Andrei Borzenkov wrote:

02.04.2020 11:54, Andreas Schwab пишет:
On Apr 01 2020, Jan Engelhardt wrote:

On Wednesday 2020-04-01 21:01, Stefan Brüns wrote:

[ -e /etc/systemd/system/pulseaudio.service ] && echo "already exists" ||
touch /etc/systemd/system/pulseaudio.service

The official way to mask the service is

ln -s /dev/null /etc/systemd/system/pulseaudio.service

The *official* way is systemctl mask pulseaudio.serivce.

"mask" is not intended as normal way to disable unit. "mask" is really
last resort - if you need to use "mask", you likely have more general
design issue. "mask" is really for units that cannot be enabled/diabled
and are always active, and is more a debugging tool to troubleshoot or
temporary work around a problem.

It makes no sense to first unconditionally "enable" unit and then to
conditionally "mask" it. Do not "enable" it in the first place, it is as
simple as that.

Well, but for a user socket, mask (with --global option) would be the
straightforward way, no?

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >