Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You could live a better life, if you had a better mind and a better body.


comp / comp.os.linux.misc / Re: systemd Removing Backward sysvinit Compatibility?

SubjectAuthor
* systemd Removing Backward sysvinit Compatibility?Lawrence D'Oliveiro
+* Re: systemd Removing Backward sysvinit Compatibility?John Ames
|`* Re: systemd Removing Backward sysvinit Compatibility?Lawrence D'Oliveiro
| +- Re: systemd Removing Backward sysvinit Compatibility?Shadow
| +- Re: systemd Removing Backward sysvinit Compatibility?Computer Nerd Kev
| `- Re: systemd Removing Backward sysvinit Compatibility?John Ames
`* Re: systemd Removing Backward sysvinit Compatibility?Marco Moock
 `* Re: systemd Removing Backward sysvinit Compatibility?Marc Haber
  `* Re: systemd Removing Backward sysvinit Compatibility?Marco Moock
   `- Re: systemd Removing Backward sysvinit Compatibility?Marc Haber

1
Subject: systemd Removing Backward sysvinit Compatibility?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 24 Oct 2024 21:21 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: systemd Removing Backward sysvinit Compatibility?
Date: Thu, 24 Oct 2024 21:21:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <vfedns$2q0bv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 24 Oct 2024 23:21:01 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f4e50c47efa3e669267791fe76a6c176";
logging-data="2949503"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/M2MtOMNUMXzslXBOBoj76"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:x6oEFDDQFS3ksRvs+fwbrL/wNZA=
View all headers

I did my regular Debian Unstable upgrade the other day, and this time I
noticed warnings about scripts in /etc/init.d lacking native systemd
service files.

Seems like the sysvinit compatibility that has been in systemd for so long
is on its way out ... I guess that means nobody cares about sysvinit any
more ...

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 24 Oct 2024 21:53 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Thu, 24 Oct 2024 14:53:30 -0700
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <20241024145330.0000612b@gmail.com>
References: <vfedns$2q0bv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 24 Oct 2024 23:53:34 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="cc8221774b85f4c1fec61ac287bbed48";
logging-data="2941006"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19U/t9OMkG03hSWN5l8aPjD3kPg3TxPtD0="
Cancel-Lock: sha1:m/ca4XOUdHfzBrKU9UPzCXJtUXU=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Thu, 24 Oct 2024 21:21:00 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

> I did my regular Debian Unstable upgrade the other day, and this time
> I noticed warnings about scripts in /etc/init.d lacking native
> systemd service files.
>
> Seems like the sysvinit compatibility that has been in systemd for so
> long is on its way out ... I guess that means nobody cares about
> sysvinit any more ...

*sips coffee*

*runs Devuan*

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Thu, 24 Oct 2024 23:19 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Thu, 24 Oct 2024 23:19:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <vfekmg$2qk0v$16@dont-email.me>
References: <vfedns$2q0bv$1@dont-email.me>
<20241024145330.0000612b@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Oct 2024 01:19:44 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="6f8a7da226e86ac28e6e28397b51281d";
logging-data="2969631"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1993sMTc9fy4/1dj0MVMRAA"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:xlUqBN/76JncQJTuSZ2xepPc2Xk=
View all headers

On Thu, 24 Oct 2024 14:53:30 -0700, John Ames wrote:

> *runs Devuan*

How well is Devuan keeping up these days?

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Shadow
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Shadow
Date: Fri, 25 Oct 2024 00:18 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Sh@dow.br (Shadow)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Thu, 24 Oct 2024 21:18:51 -0300
Organization: A noiseless patient Shadow
Lines: 17
Message-ID: <gsolhjh51iqbn5oldk25bm0ij954quffaj@4ax.com>
References: <vfedns$2q0bv$1@dont-email.me> <20241024145330.0000612b@gmail.com> <vfekmg$2qk0v$16@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Oct 2024 02:18:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b376d09d770f498e3a9d78b243f80cc8";
logging-data="3003111"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Kyz3eBwMx5u2Yza2eKQMKIZ2UyD+7OiE="
Cancel-Lock: sha1:HqJDUk+OP9I5Tl7lu8CFhb+7jm8=
X-Newsreader: Forte Agent 3.3/32.846
View all headers

On Thu, 24 Oct 2024 23:19:44 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote:

>On Thu, 24 Oct 2024 14:53:30 -0700, John Ames wrote:
>
>> *runs Devuan*
>
>How well is Devuan keeping up these days?

I've been using Devuan for years. You have a choice .. stable,
bit risky and bleeding edge. same as Debian. Without systemd, of
course.
[]'s
--
Don't be evil - Google 2004
We have a new policy - Google 2012
Google Fuchsia - 2021

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Computer Nerd Kev
Newsgroups: comp.os.linux.misc
Organization: Ausics - https://newsgroups.ausics.net
Date: Fri, 25 Oct 2024 05:04 UTC
References: 1 2 3
Message-ID: <671b26c2@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Newsgroups: comp.os.linux.misc
References: <vfedns$2q0bv$1@dont-email.me> <20241024145330.0000612b@gmail.com> <vfekmg$2qk0v$16@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i686))
NNTP-Posting-Host: news.ausics.net
Date: 25 Oct 2024 15:04:03 +1000
Organization: Ausics - https://newsgroups.ausics.net
Lines: 13
X-Complaints: abuse@ausics.net
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!news.bbs.nz!news.ausics.net!not-for-mail
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> How well is Devuan keeping up these days?

Fine generally. I did just recently try to convert a free VPS on
Oracle Cloud over to it though and had to give up in the end. I
think the "cloud-init" system they use probably expects Systemd. It
might work better with their paid accounts where you can supply
your own OS image instead of my elaborate process converting Ubuntu
to Debian and then Debian to Devuan.

--
__ __
#_ < |\| |< _#

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: John Ames
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 25 Oct 2024 15:40 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Fri, 25 Oct 2024 08:40:50 -0700
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <20241025084050.00002b16@gmail.com>
References: <vfedns$2q0bv$1@dont-email.me>
<20241024145330.0000612b@gmail.com>
<vfekmg$2qk0v$16@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Oct 2024 17:40:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9e2eb26fd3e810fe519f8d6c600e6462";
logging-data="3405422"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FUqq6O3Xw3i5sX9an6Vmwidw+pzoex8E="
Cancel-Lock: sha1:0S833YH+AJtBRFhn1g8JDreWoDg=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Thu, 24 Oct 2024 23:19:44 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

> How well is Devuan keeping up these days?

Just fine for my purposes...

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Marco Moock
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 25 Oct 2024 15:41 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Fri, 25 Oct 2024 17:41:45 +0200
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <vfge7q$37meb$1@dont-email.me>
References: <vfedns$2q0bv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Oct 2024 17:41:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="aeb3439886d48ab65cfef6116b83c3a7";
logging-data="3398091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195aoMi5xIljgikPAtlElAc"
Cancel-Lock: sha1:v22AGmzEZaYy1IHx1bRDrVFjso8=
View all headers

On 24.10.2024 um 21:21 Uhr Lawrence D'Oliveiro wrote:

> Seems like the sysvinit compatibility that has been in systemd for so
> long is on its way out ... I guess that means nobody cares about
> sysvinit any more ...

This has been announced some time ago.

You can create a systemd unit to call your sysvinit script.

SysVinit is still being used on BSD and on Slackware Linux, so some
people still care about it, but not on systems with systemd.

--
kind regards
Marco

Send spam to 1729797660muell@cartoonies.org

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Marc Haber
Newsgroups: comp.os.linux.misc
Organization: private site, see http://www.zugschlus.de/ for details
Date: Fri, 25 Oct 2024 16:23 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!weretis.net!feeder8.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!.POSTED.torres.zugschlus.de!not-for-mail
From: mh+usenetspam1118@zugschl.us (Marc Haber)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Fri, 25 Oct 2024 18:23:06 +0200
Organization: private site, see http://www.zugschlus.de/ for details
Message-ID: <vfggla$2vlpr$1@news1.tnib.de>
References: <vfedns$2q0bv$1@dont-email.me> <vfge7q$37meb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Oct 2024 16:23:07 -0000 (UTC)
Injection-Info: news1.tnib.de; posting-host="torres.zugschlus.de:81.169.166.32";
logging-data="3135291"; mail-complaints-to="abuse@tnib.de"
X-Newsreader: Forte Agent 6.00/32.1186
View all headers

Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
>You can create a systemd unit to call your sysvinit script.

And use the Generator Template as, hm, yes, a template.

Debian's release goal for Trixie is that no init scripts are used on a
systemd system. We (Debian) are just behind Red Hat a little less than
a decade in this regard.

Greetings
Marc
--
----------------------------------------------------------------------------
Marc Haber | " Questions are the | Mailadresse im Header
Rhein-Neckar, DE | Beginning of Wisdom " |
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Marco Moock
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Fri, 25 Oct 2024 17:35 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Fri, 25 Oct 2024 19:35:40 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <vfgktc$37meb$4@dont-email.me>
References: <vfedns$2q0bv$1@dont-email.me>
<vfge7q$37meb$1@dont-email.me>
<vfggla$2vlpr$1@news1.tnib.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Oct 2024 19:35:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="aeb3439886d48ab65cfef6116b83c3a7";
logging-data="3398091"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kwTPxf0yjLDdaQ+L3yoM2"
Cancel-Lock: sha1:ByTzF5gsUbhjBtJPVIW1T+HHKOc=
View all headers

On 25.10.2024 um 18:23 Uhr Marc Haber wrote:

> Debian's release goal for Trixie is that no init scripts are used on a
> systemd system. We (Debian) are just behind Red Hat a little less than
> a decade in this regard.

How will stuff be handled that involves more that just starting a
daemon, e.g. preparing certain stuff?
Should that all be packed in ExecStart=?

--
kind regards
Marco

Send spam to 1729873386muell@cartoonies.org

Subject: Re: systemd Removing Backward sysvinit Compatibility?
From: Marc Haber
Newsgroups: comp.os.linux.misc
Organization: private site, see http://www.zugschlus.de/ for details
Date: Fri, 25 Oct 2024 18:18 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!weretis.net!feeder8.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!.POSTED.torres.zugschlus.de!not-for-mail
From: mh+usenetspam1118@zugschl.us (Marc Haber)
Newsgroups: comp.os.linux.misc
Subject: Re: systemd Removing Backward sysvinit Compatibility?
Date: Fri, 25 Oct 2024 20:18:28 +0200
Organization: private site, see http://www.zugschlus.de/ for details
Message-ID: <vfgndk$301he$1@news1.tnib.de>
References: <vfedns$2q0bv$1@dont-email.me> <vfge7q$37meb$1@dont-email.me> <vfggla$2vlpr$1@news1.tnib.de> <vfgktc$37meb$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Oct 2024 18:18:28 -0000 (UTC)
Injection-Info: news1.tnib.de; posting-host="torres.zugschlus.de:81.169.166.32";
logging-data="3147310"; mail-complaints-to="abuse@tnib.de"
X-Newsreader: Forte Agent 6.00/32.1186
View all headers

Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
>On 25.10.2024 um 18:23 Uhr Marc Haber wrote:
>> Debian's release goal for Trixie is that no init scripts are used on a
>> systemd system. We (Debian) are just behind Red Hat a little less than
>> a decade in this regard.
>
>How will stuff be handled that involves more that just starting a
>daemon, e.g. preparing certain stuff?
>Should that all be packed in ExecStart=?

You can either ship a systemd unit that calls the init script or use
ExecStart and ExecStartPre et al. The holy war against scripts and
shells is one of the favorite beefs that I have with systemd. It's a
sound point from the security point of view, but it reduces the
usability and readability of Unit Files.

The exim4 packages are a case of this. The maintainer¹ has resorted to
(relevant parts only)
|Environment="EXIMSERVICE=-bdf -q30m" "UPEX4OPTS="
|EnvironmentFile=-/etc/default/exim4
|ExecStartPre=/usr/sbin/update-exim4.conf $UPEX4OPTS
|ExecStart=/usr/sbin/exim4 $EXIMSERVICE
|ExecReload=/usr/sbin/update-exim4.conf $UPEX4OPTS ; \
|kill -HUP $MAINPID

EnvironmentFile is something that the systemd people already wanted to
remove years ago (my opposition against this got me banned from
systemd-devel for some time), and I don't like the ExecReload part at
all. Sending a signal to the daemon and not waiting for confirmation
is explicitly not recommended in the systemd.service manual page, and
the fiddling with a MAINPID variable is something I don't like at all.
systemd can put all processes for a unit into its own cgroup and then
signal the cgroup, I would at least investigate this matter further.

Greetings
Marc

¹ I am still formally a member of this maintainer team but haven't
contributed in a decade.
--
----------------------------------------------------------------------------
Marc Haber | " Questions are the | Mailadresse im Header
Rhein-Neckar, DE | Beginning of Wisdom " |
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402

1

rocksolid light 0.9.8
clearnet tor