Re: unmask silently fails
On Mon 19 Sep 2022 at 12:12:51 (-0400), Felix Miata wrote:
> Reco composed on 2022-09-19 14:46 (UTC+0300):
> > On Mon, Sep 19, 2022 at 12:05:43AM -0400, Felix Miata wrote:
>
> >> Anyone know what it takes to unmask nfs-common.service successfully?
>
> > Why would you need it with systemd? As of bullseye, nfs-common package
> > just provide this symlink instead of the proper systemd unit:
>
> It was prompted by an error message trying to configure or enable something else,
> which I had already forgotten before posting, that said enabling it was a dependency.
>
> > # ls -la /lib/systemd/system/nfs-common.service
> > lrwxrwxrwx 1 root root 9 Jun 28 2021 /lib/systemd/system/nfs-common.service -> /dev/null
>
> That's what masking looks like. Why is it masked?
My /guess/ is that it's because systemd doesn't need it: there's
a systemd service for each component (imapd, gssd, … … ).
However, if you don't run systemd, then all those services are
started by an init.d script called nfs-common, turned on and off
with /etc/default/.
Cheers,
David.
Reply to: