Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #234873

Re: exim update not responding to update-rc.d

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: exim update not responding to update-rc.d
Date 2021-05-05 16:40 +0200
Message-ID <CbqQW-i2-5@gated-at.bofh.it> (permalink)
References (5 earlier) <CbaCu-7l8-1@gated-at.bofh.it> <Cbc1A-843-3@gated-at.bofh.it> <CbnzH-6Qe-9@gated-at.bofh.it> <Cbocp-73P-3@gated-at.bofh.it> <CbqHg-f0-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 05, 2021 at 05:27:13PM +0300, Andrei POPESCU wrote:
> On Mi, 05 mai 21, 07:46:03, Greg Wooledge wrote:
> > 
> > You're using a package that has not yet been converted to systemd.  It's
> > still using an old init.d script, and systemd is performing a conversion
> > on the fly.
> > 
> > The basic start and stop subcommands will work fine, but disable may
> > not work.  It's not clear from the systemd-sysv-generator man page, but my
> > guess is that the auto-generation of systemd units takes place in memory
> > at boot time, and applies to all the init.d scripts that systemd sees.
> > Doing a "disable" after this would only affect the generated services,
> > which are ephemeral and go away when you reboot.
> 
> As far as I recall (but it's been a while since I needed this) 
> update-rc.d is the correct tool and it should even take care of 
> synchronizing state between systemd and sysv-rc.

Hmm.  Well, I suppose it's possible, especially if the OP kept using the
wrong filename (exim vs. exim4).

I still wouldn't care to try it, personally.  Knowing that it's a native
init.d service, I would use the appropriate tools for that.

> In any case, masking should work as the symlink to /dev/null is in /etc.
> 
>     systemctl mask exim4.service

That would, of course, prevent "start" and "stop" from working on it in
the future.  Which makes me wonder why on earth the OP wants to disable
exim4 in the first place.

I smell an X-Y problem here.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

exim update not responding to update-rc.d conover@rahul.net (John Conover) - 2021-05-04 18:30 +0200
  Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-04 18:50 +0200
    Re: exim update not responding to update-rc.d conover@rahul.net (John Conover) - 2021-05-04 19:10 +0200
      Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-04 19:20 +0200
        Re: exim update not responding to update-rc.d Joe <joe@jretrading.com> - 2021-05-04 19:30 +0200
          Re: exim update not responding to update-rc.d Joe <joe@jretrading.com> - 2021-05-04 23:20 +0200
            Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-05 00:50 +0200
              Re: exim update not responding to update-rc.d Joe <joe@jretrading.com> - 2021-05-05 13:10 +0200
                Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-05 13:50 +0200
                Re: exim update not responding to update-rc.d Andrei POPESCU <andreimpopescu@gmail.com> - 2021-05-05 16:30 +0200
                Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-05 16:40 +0200
        Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-04 19:40 +0200
      Re: exim update not responding to update-rc.d Joe <joe@jretrading.com> - 2021-05-04 19:30 +0200
        Re: exim update not responding to update-rc.d Erwan David <erwan@rail.eu.org> - 2021-05-04 19:30 +0200
          Re: exim update not responding to update-rc.d john doe <johndoe65534@mail.com> - 2021-05-04 20:00 +0200
            Re: exim update not responding to update-rc.d conover@rahul.net (John Conover) - 2021-05-04 22:30 +0200
              Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-04 22:40 +0200
                Re: exim update not responding to update-rc.d Greg Wooledge <greg@wooledge.org> - 2021-05-04 23:00 +0200
  Re: exim update not responding to update-rc.d Michael Biebl <biebl@debian.org> - 2021-05-07 02:20 +0200
    Re: exim update not responding to update-rc.d Michael Biebl <biebl@debian.org> - 2021-05-07 02:20 +0200

csiph-web