Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Don't plan any hasty moves. You'll be evicted soon anyway.


comp / comp.os.linux.advocacy / Re: Système D

SubjectAuthor
* Re: Syst?me DSebastian
`* Re: Système DLawrence D'Oliveiro
 +* Re: Système Dcandycanearter07
 |+- Re: Système DSebastian Wells
 |`* Re: Système DLawrence D'Oliveiro
 | `- Re: Système Dcandycanearter07
 `* Re: Système DSebastian Wells
  `- Re: Système DLawrence D'Oliveiro

1
Subject: Re: Syst?me D
From: Sebastian
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sun, 19 May 2024 09:37 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sebastian@here.com.invalid (Sebastian)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Syst?me D
Date: Sun, 19 May 2024 09:37:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <v2ch8m$3ala3$1@dont-email.me>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me> <v08lbg$1n00b$1@dont-email.me> <6627ecd2$0$3711206$882e4bbb@reader.netnews.com> <v09ano$1s2pn$4@dont-email.me>
Injection-Date: Sun, 19 May 2024 11:37:28 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4311d44ae4d82d68901f16b48db4f5e8";
logging-data="3495235"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+v61RS0SyEgMpEmLhrxkjroNfL2jJFUzc="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-18-amd64 (x86_64))
Cancel-Lock: sha1:V7nH+qf1JAOOmL2QUyp8ibqpa58=
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On 23 Apr 2024 17:16:02 GMT, Andrzej Matuch wrote:
>
>> On Tue, 23 Apr 2024 15:50:08 +0000, candycanearter07 wrote:
>>
>>> I don't get why, but systemd hate is pretty common.
>>
>> Because it removes some of the control users have over the services run
>> on their system.
>
> I don?t see why. It gives you very fine-grained control.
>
> For example, with sysvinit, if you don?t like the existing sysvinit
> script, you have to write an entire new one (perhaps copying/pasting from
> the existing one). With systemd, you can create ?drop-in? unit files that
> modify an existing config without replacing it completely. Much less work
> for small changes.

One thing you can't do with Systemd is write a simple shell script that
runs when the system finishes booting, without having to learn any of
the ins and outs of Systemd. Some distros used to have a unit file to
run /etc/rc.local like SysVInit does, but it wasn't guaranteed to run
last, so it wasn't even really equivalent to a real /etc/rc.local.
But it was often good enough.

So of course they got rid of it, so now if you want something to run
at boot, you have to figure out how to write and install a unit file.
Or, just install FreeBSD, which might actually be easier.

Subject: Re: Système D
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 25 Jun 2024 05:56 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Tue, 25 Jun 2024 05:56:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <v5dm63$1dttg$4@dont-email.me>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 07:56:19 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="250b38e1e4730787d8a829a06e323428";
logging-data="1505200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1p9Q4lh6D0WxtlH5nkgyV"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:XoIbyCdVbZRx45LdQ81rcpO/I1A=
View all headers

On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:

> One thing you can't do with Systemd is write a simple shell script that
> runs when the system finishes booting, without having to learn any of
> the ins and outs of Systemd.

Sure you can. Just have a “WantedBy” dependency in your service definition
on whichever target represents the state you want the script to run in,
e.g. “multi-user.target” for normal system operation.

Subject: Re: Système D
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Tue, 25 Jun 2024 06:10 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Tue, 25 Jun 2024 06:10:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 15
Message-ID: <slrnv7knpl.f29.candycanearter07@candydeb.host.invalid>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
<v5dm63$1dttg$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 08:10:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2837c1d5b04960403d7af42939d017de";
logging-data="1515613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j9so3QJ36972UgI0hQ47c0+TfmZTzsm5cdxZee5rgAA=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Ja+UmRuzAdIrt67N5osjUoLAHR4=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 05:56 this Tuesday (GMT):
> On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:
>
>> One thing you can't do with Systemd is write a simple shell script that
>> runs when the system finishes booting, without having to learn any of
>> the ins and outs of Systemd.
>
> Sure you can. Just have a “WantedBy” dependency in your service definition
> on whichever target represents the state you want the script to run in,
> e.g. “multi-user.target” for normal system operation.

Or use @reboot in your crontab.
--
user <candycane> is generated from /dev/urandom

Subject: Re: Système D
From: Sebastian Wells
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 25 Jun 2024 06:27 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sebastian@here.com.invalid (Sebastian Wells)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Tue, 25 Jun 2024 06:27:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <v5do0p$1e5og$2@dont-email.me>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
<v5dm63$1dttg$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 08:27:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7b52c6c234035b9f273b502a0faa6d3a";
logging-data="1513232"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Pus0eMB36ocR2ZI9dweJYsF71VnEw4jQ="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:DVd8X1dqQqeqRv+mcyVYYU9o0rA=
View all headers

On Tue, 25 Jun 2024 05:56:19 -0000 (UTC), Lawrence D'Oliveiro wrote:

> On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:
>
>> One thing you can't do with Systemd is write a simple shell script that
>> runs when the system finishes booting, without having to learn any of
>> the ins and outs of Systemd.
>
> Sure you can. Just have a “WantedBy” dependency in your service
> definition on whichever target represents the state you want the script
> to run in,
> e.g. “multi-user.target” for normal system operation.

Figuring out which "target" is the right one, and then how to write
a "WantedBy dependency" would constitute "learning any of the ins and outs
of Systemd". It's way more involved than the process of using
/etc/rc.local is on a SysVInit system.

Subject: Re: Système D
From: Sebastian Wells
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 25 Jun 2024 06:54 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sebastian@here.com.invalid (Sebastian Wells)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Tue, 25 Jun 2024 06:54:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <v5dpjv$1e5og$4@dont-email.me>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
<v5dm63$1dttg$4@dont-email.me>
<slrnv7knpl.f29.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 08:54:56 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7b52c6c234035b9f273b502a0faa6d3a";
logging-data="1513232"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/f8tbxNFNwStI8hY/9IpKOprbS8AHBlLs="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:5CE1hJQTAUKGLBIjgrGFcKV1Y5M=
View all headers

On Tue, 25 Jun 2024 06:10:03 -0000 (UTC), candycanearter07 wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 05:56 this Tuesday (GMT):
>> On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:
>>
>>> One thing you can't do with Systemd is write a simple shell script
>>> that runs when the system finishes booting, without having to learn
>>> any of the ins and outs of Systemd.
>>
>> Sure you can. Just have a “WantedBy” dependency in your service
>> definition on whichever target represents the state you want the script
>> to run in,
>> e.g. “multi-user.target” for normal system operation.
>
>
> Or use @reboot in your crontab.

That feature hasn't made it to Debian yet, and the man
page where it is available gives this warning:

Please note that startup, as far as @reboot is concerned, is the time
when the cron(8) daemon startup. In particular, it may be before
some system daemons, or other facilities, were startup. This is due
to the boot order sequence of the machine.
Therefore there's no guarantee at all that this feature can be used
as a replacement for rc.local.

Subject: Re: Système D
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 25 Jun 2024 06:55 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Tue, 25 Jun 2024 06:55:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <v5dpki$1eh23$7@dont-email.me>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
<v5dm63$1dttg$4@dont-email.me>
<slrnv7knpl.f29.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 08:55:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="250b38e1e4730787d8a829a06e323428";
logging-data="1524803"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//DplVG407ZMdBV6jIm3+d"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:zqh2lpla8I9uubEvVNSCRLE42Tw=
View all headers

On Tue, 25 Jun 2024 06:10:03 -0000 (UTC), candycanearter07 wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 05:56 this Tuesday (GMT):
>
>> On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:
>>
>>> One thing you can't do with Systemd is write a simple shell script
>>> that runs when the system finishes booting, without having to learn
>>> any of the ins and outs of Systemd.
>>
>> Sure you can. Just have a “WantedBy” dependency in your service
>> definition on whichever target represents the state you want the script
>> to run in, e.g. “multi-user.target” for normal system operation.
>
> Or use @reboot in your crontab.

In systemd, timer definitions have to do with time, not to do with whether
the system is rebooting. (Though you can define time relative to when the
system starts, if you want.)

This is a cleaner approach than crontab, which is trying to stuff a number
of different functions into an ill-fitting box.

Subject: Re: Système D
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Tue, 25 Jun 2024 06:55 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Tue, 25 Jun 2024 06:55:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <v5dplg$1eh23$8@dont-email.me>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
<v5dm63$1dttg$4@dont-email.me> <v5do0p$1e5og$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Jun 2024 08:55:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="250b38e1e4730787d8a829a06e323428";
logging-data="1524803"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/a+U852Tq/HEGjJcmQ9+c3"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:4FUycUgUjbO041sUjWQoxJ7odGg=
View all headers

On Tue, 25 Jun 2024 06:27:37 -0000 (UTC), Sebastian Wells wrote:

> On Tue, 25 Jun 2024 05:56:19 -0000 (UTC), Lawrence D'Oliveiro wrote:
>
>> On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:
>>
>>> One thing you can't do with Systemd is write a simple shell script
>>> that runs when the system finishes booting, without having to learn
>>> any of the ins and outs of Systemd.
>>
>> Sure you can. Just have a “WantedBy” dependency in your service
>> definition on whichever target represents the state you want the script
>> to run in, e.g. “multi-user.target” for normal system operation.
>
> Figuring out which "target" is the right one, and then how to write a
> "WantedBy dependency" would constitute "learning any of the ins and outs
> of Systemd". It's way more involved than the process of using
> /etc/rc.local is on a SysVInit system.

It’s one line of directive in a unit file.

Subject: Re: Système D
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Wed, 26 Jun 2024 06:40 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Système D
Date: Wed, 26 Jun 2024 06:40:05 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 28
Message-ID: <slrnv7ndnb.21pl.candycanearter07@candydeb.host.invalid>
References: <v07d66$1e8u1$1@dont-email.me> <v08k00$1mk96$3@dont-email.me>
<v08lbg$1n00b$1@dont-email.me>
<6627ecd2$0$3711206$882e4bbb@reader.netnews.com>
<v09ano$1s2pn$4@dont-email.me> <v2ch8m$3ala3$1@dont-email.me>
<v5dm63$1dttg$4@dont-email.me>
<slrnv7knpl.f29.candycanearter07@candydeb.host.invalid>
<v5dpki$1eh23$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 26 Jun 2024 08:40:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="324a29690225d773b8110ef04bb5467d";
logging-data="2132661"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Rzz941h7MeuiKSdRCZAbFl/oOGTcrrEMU9BcBv/gaWQ=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:wJYGPpO3zF7CYt/wP5OdiQEXFr8=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 06:55 this Tuesday (GMT):
> On Tue, 25 Jun 2024 06:10:03 -0000 (UTC), candycanearter07 wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 05:56 this Tuesday (GMT):
>>
>>> On Sun, 19 May 2024 09:37:28 -0000 (UTC), Sebastian wrote:
>>>
>>>> One thing you can't do with Systemd is write a simple shell script
>>>> that runs when the system finishes booting, without having to learn
>>>> any of the ins and outs of Systemd.
>>>
>>> Sure you can. Just have a “WantedBy” dependency in your service
>>> definition on whichever target represents the state you want the script
>>> to run in, e.g. “multi-user.target” for normal system operation.
>>
>> Or use @reboot in your crontab.
>
> In systemd, timer definitions have to do with time, not to do with whether
> the system is rebooting. (Though you can define time relative to when the
> system starts, if you want.)
>
> This is a cleaner approach than crontab, which is trying to stuff a number
> of different functions into an ill-fitting box.

oh
--
user <candycane> is generated from /dev/urandom

1

rocksolid light 0.9.8
clearnet tor