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


Groups > alt.os.linux > #59229 > unrolled thread

sysvinit vs systemd

Started byMike Easter <MikeE@ster.invalid>
First post2019-10-07 12:56 -0700
Last post2019-10-13 12:10 -0400
Articles 20 on this page of 61 — 14 participants

Back to article view | Back to alt.os.linux


Contents

  sysvinit vs systemd Mike Easter <MikeE@ster.invalid> - 2019-10-07 12:56 -0700
    Re: sysvinit vs systemd F Russell <fr@random.info> - 2019-10-07 22:38 +0000
      Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-08 08:30 +0200
        Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:14 +0200
          Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-09 07:12 +0200
      Re: sysvinit vs systemd Mike Easter <MikeE@ster.invalid> - 2019-10-08 16:40 -0700
        Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 20:11 +0200
          Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-13 19:23 +0000
            Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 00:44 +0200
              Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-14 05:14 +0000
                Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 13:48 +0200
                  Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-14 14:31 +0000
                    Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-15 11:40 +0200
                Re: sysvinit vs systemd "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-10-14 09:06 -0400
      Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:10 +0200
        Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-08 20:59 +0000
          Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 20:07 +0200
            Re: sysvinit vs systemd William Unruh <unruh@invalid.ca> - 2019-10-13 19:21 +0000
              Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 00:48 +0200
        Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-08 19:49 +0200
          Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 14:21 +0200
            Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 20:05 +0200
              Re: sysvinit vs systemd F Russell <fr@random.info> - 2019-10-14 10:23 +0000
                Re: sysvinit vs systemd "Carlos E.R." <robin_listas@es.invalid> - 2019-10-14 13:39 +0200
                  Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-14 14:12 +0200
                F. Russell's version of "init" (Was: sysvinit vs systemd) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-14 12:42 +0000
                  Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "F. Russell" <frussell@random.info> - 2019-10-14 13:24 +0000
                    Re: F. Russell's version of "init" (Was: sysvinit vs systemd) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-14 13:50 +0000
                      Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "F. Russell" <frussell@random.info> - 2019-10-14 14:21 +0000
                        Re: F. Russell's version of "init" (Was: sysvinit vs systemd) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-14 15:28 +0000
                          Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-14 11:55 -0500
                      Re: F. Russell's version of "init" (Was: sysvinit vs systemd) William Unruh <unruh@invalid.ca> - 2019-10-14 14:41 +0000
                        Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-14 18:43 +0200
                          Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Aragorn <thorongil@telenet.be> - 2019-10-14 19:06 +0200
                            Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Eric Pozharski <whynot@pozharski.name> - 2019-10-15 11:24 +0300
                              Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Aragorn <thorongil@telenet.be> - 2019-10-15 11:43 +0200
                                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-15 13:41 +0200
                                  Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Aragorn <thorongil@telenet.be> - 2019-10-15 14:42 +0200
                                    Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-15 20:45 +0200
                                Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-15 21:18 +0000
                                  Re: Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 02:05 +0200
                                    Re: Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-16 00:44 +0000
                                      Re: Old farts showing off their knowledge of ancient PC operating systems... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 13:49 +0200
                                Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Eric Pozharski <whynot@pozharski.name> - 2019-10-16 11:25 +0300
                                  More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-16 10:20 +0000
                                    Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 13:58 +0200
                                    Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) Yrrah <Yrrah-aol@aol.invalid> - 2019-10-16 14:51 +0200
                                      Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-16 20:15 +0000
                                        Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) Yrrah <Yrrah-aol@aol.invalid> - 2019-10-17 14:52 +0200
                                          Re: More archaic OS trivia... (Was: F. Russell's version of "init" (Was: sysvinit vs systemd)) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-18 00:24 +0200
                                            Re: More archaic OS trivia... Bud Frede <frede@mouse-potato.com> - 2019-10-19 06:38 -0400
                                      Re: More archaic OS trivia... Bud Frede <frede@mouse-potato.com> - 2019-10-19 06:30 -0400
                                  Re: F. Russell's version of "init" (Was: sysvinit vs systemd) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-16 13:56 +0200
                                    Re: F. Russell's version of "init" (Was: sysvinit vs systemd) Eric Pozharski <whynot@pozharski.name> - 2019-10-17 09:32 +0300
                Re: sysvinit vs systemd Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-14 18:33 +0200
                Re: sysvinit vs systemd Bud Frede <frede@mouse-potato.com> - 2019-10-19 06:20 -0400
                  Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-19 13:12 +0200
                    Re: sysvinit vs systemd Bud Frede <frede@mouse-potato.com> - 2019-10-19 11:14 -0400
                      Re: sysvinit vs systemd Aragorn <thorongil@telenet.be> - 2019-10-19 17:45 +0200
                        Re: sysvinit vs systemd Ken Hart <kwhart1@frontier.com> - 2019-10-19 17:28 -0400
      Re: sysvinit vs systemd Bud Frede <frede@mouse-potato.com> - 2019-10-13 12:10 -0400

Page 1 of 4  [1] 2 3 4  Next page →


#59229 — sysvinit vs systemd

FromMike Easter <MikeE@ster.invalid>
Date2019-10-07 12:56 -0700
Subjectsysvinit vs systemd
Message-ID<h01jjpFccv2U1@mid.individual.net>
While looking for something else today, I ran into this useful comment 
to an opinion.

The opinion was:

https://lwn.net/Articles/770239/  NO TO SYSVINIT - or initscripts, rather!

... in which the OP opined (at some length) "Stop pushing sysvinit! 
Instead invest in communities that are trying to bring benefits systemd 
has in a way that does not require daemons to couple with them..." (and 
much more).

The comment I liked for its contribution (as a 'balanced' pro-systemd) was:

//  systemd is one of half a gazillion replacement inits written in 
$compiled_language which roughly all provide about the same feature set 
(and make the same errors), there's nothing special about it beyond 
"it's the RedHat replacement init!". It's arguably an improvement 
compared to the mess RedHat, SuSE, Debian etc used to ship in 
/etc/init.d. So is upstart, runit, s6, monit, $younameit etc, they just 
never became "mainstream" because RedHat didn't adopt any of them.

But the "mess in /etc/init.d" RH, SuSE, etc used to ship wasn't created 
by some force of nature, it just represents about 20 years of "organic 
shell script growth" based on lack of sensible support tools for process 
management and Bourne shell ad hocery. A large part of this codeheap 
isn't really good for anything and could just be deleted (I still fondly 
remember a comment in one SuSE init script complaining that it was 
necessary to work around bugs in another SuSE init script --- why not 
just fix them?). Another large part can be condensed into a set of 
support tools written in C which can be reused in other init scripts (or 
simliar situations).

That's not much different from what systemd and other members of the zoo 
offer, it's just more flexible in that it retains a fully capable 
high-level, standardized programming language as backbone engine instead 
of some non-extensible, declaratory language intepreted by a dedicated 
interpreter which has some random set of "process management support 
code" aggregated in one (or some) fairly large program(s).
//


-- 
Mike Easter

[toc] | [next] | [standalone]


#59238

FromF Russell <fr@random.info>
Date2019-10-07 22:38 +0000
Message-ID<qngeos01fsd@news3.newsguy.com>
In reply to#59229
On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:

> Another large part can be condensed into a set of 
> support tools written in C which can be reused in other init scripts (or 
> simliar situations).
> 
> That's not much different from what systemd and other members of the zoo 
> offer, it's just more flexible
>

For some odd reason, the author of the article assumes that systemd
is just an init system.

RedHat's goals for systemd, as they have clearly stated, are to make
it the sole interface between the kernel and userspace.  This means
that ALL software that is written for Linux will have to be written
for systemd.

RedHat, rather than forking Linux for its own purposes, is instead
totally absconding a free and open source project while transmogrifying
it in the process.

[toc] | [prev] | [next] | [standalone]


#59241

FromAragorn <thorongil@telenet.be>
Date2019-10-08 08:30 +0200
Message-ID<20191008083021.4554abfb@nx-74205>
In reply to#59238
On 07.10.2019 at 22:38, F Russell scribbled:

> On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:
> 
> > Another large part can be condensed into a set of 
> > support tools written in C which can be reused in other init
> > scripts (or simliar situations).
> > 
> > That's not much different from what systemd and other members of
> > the zoo offer, it's just more flexible
> >  
> 
> For some odd reason, the author of the article assumes that systemd
> is just an init system.

If it was, then it would have been called initd. ;)  It's called
systemd because it's intended as a kind of userland kernel — a watchdog
of some sorts.

> RedHat's goals for systemd, as they have clearly stated, are to make
> it the sole interface between the kernel and userspace.  This means
> that ALL software that is written for Linux will have to be written
> for systemd.

No, that means that in RedHat *proper*, they are seeking to abandon the
sysvinit compatibility scripts which are currently still being used by
certain system services that haven't been ported to systemd yet.

> RedHat, rather than forking Linux for its own purposes, is instead
> totally absconding a free and open source project while
> transmogrifying it in the process.

Even version 2 of the GNU General Public License does not allow them to
proprietarize the Linux kernel, so what you're saying doesn't make any
sense.

Furthermore, I'm not going to deny that RedHat is definitely pushing
its own vision onto the rest of the GNU/Linux landscape, but it's not
going to go without resistance.  

The code is still FLOSS, so as soon as someone's had enough of their
antics, the code will get forked.  In addition to that, there are
plenty of distributions that have resisted the push toward systemd and
are still offering an alternative init system — of which there are
many, including the traditional sysvinit.

RedHat is never going to become a monopolist, for all of the above
reasons.  Hell, Microsoft and Apple are both proprietary software
companies, and even they don't have an absolute monopoly.  

Microsoft only got to its dominance in the desktop market — and mind
you, that's the only market segment they have any dominance in —
through its bundle sales with hardware vendors.  If it were purely up
to the merits of the Windows platform, then they wouldn't have stood a
chance.

RedHat doesn't even have the financial means to pull off what Microsoft
did in the 1980s and 1990s — and what it's still doing today.

There is nothing to fear, as real as you perceive the threat to be.
It's FLOSS.  You will *always* have a choice.

-- 
With respect,
= Aragorn =

[toc] | [prev] | [next] | [standalone]


#59251

FromSoviet_Mario <SovietMario@CCCP.MIR>
Date2019-10-08 19:14 +0200
Message-ID<qnig53$dm6$1@dont-email.me>
In reply to#59241
Il 08/10/19 08:30, Aragorn ha scritto:
> On 07.10.2019 at 22:38, F Russell scribbled:
> 
>> On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:
>>
>>> Another large part can be condensed into a set of
>>> support tools written in C which can be reused in other init
>>> scripts (or simliar situations).
>>>
>>> That's not much different from what systemd and other members of
>>> the zoo offer, it's just more flexible
>>>   
>>
>> For some odd reason, the author of the article assumes that systemd
>> is just an init system.
> 
> If it was, then it would have been called initd. ;)  It's called
> systemd because it's intended as a kind of userland kernel — a watchdog
> of some sorts.
> 
>> RedHat's goals for systemd, as they have clearly stated, are to make
>> it the sole interface between the kernel and userspace.  This means
>> that ALL software that is written for Linux will have to be written
>> for systemd.
> 
> No, that means that in RedHat *proper*, they are seeking to abandon the
> sysvinit compatibility scripts which are currently still being used by
> certain system services that haven't been ported to systemd yet.
> 
>> RedHat, rather than forking Linux for its own purposes, is instead
>> totally absconding a free and open source project while
>> transmogrifying it in the process.
> 
> Even version 2 of the GNU General Public License does not allow them to
> proprietarize the Linux kernel, so what you're saying doesn't make any
> sense.
> 
> Furthermore, I'm not going to deny that RedHat is definitely pushing
> its own vision onto the rest of the GNU/Linux landscape, but it's not
> going to go without resistance.
> 
> The code is still FLOSS, so as soon as someone's had enough of their
> antics, the code will get forked.  In addition to that, there are
> plenty of distributions that have resisted the push toward systemd and
> are still offering an alternative init system — of which there are
> many, including the traditional sysvinit.
> 
> RedHat is never going to become a monopolist, for all of the above
> reasons.  Hell, Microsoft and Apple are both proprietary software
> companies, and even they don't have an absolute monopoly.

uhm ... but things might scale badly downwards to such a 
point that, broken some minimal threshold in the developer 
number, viability gets lost :\
Is this not a risk ? I dunno the numbers of the various 
communities, I'm just speculating theoretically

> 
> Microsoft only got to its dominance in the desktop market — and mind
> you, that's the only market segment they have any dominance in —
> through its bundle sales with hardware vendors.  If it were purely up
> to the merits of the Windows platform, then they wouldn't have stood a
> chance.
> 
> RedHat doesn't even have the financial means to pull off what Microsoft
> did in the 1980s and 1990s — and what it's still doing today.

sb told me RedHat was purchased by IBM. True news ?

> 
> There is nothing to fear, as real as you perceive the threat to be.
> It's FLOSS.  You will *always* have a choice.
> 


-- 
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
Soviet_Mario - (aka Gatto_Vizzato)

[toc] | [prev] | [next] | [standalone]


#59284

FromAragorn <thorongil@telenet.be>
Date2019-10-09 07:12 +0200
Message-ID<20191009071207.16b7883c@nx-74205>
In reply to#59251
On 08.10.2019 at 19:14, Soviet_Mario scribbled:

> Il 08/10/19 08:30, Aragorn ha scritto:
>
> > Furthermore, I'm not going to deny that RedHat is definitely pushing
> > its own vision onto the rest of the GNU/Linux landscape, but it's
> > not going to go without resistance.
> > 
> > The code is still FLOSS, so as soon as someone's had enough of their
> > antics, the code will get forked.  In addition to that, there are
> > plenty of distributions that have resisted the push toward systemd
> > and are still offering an alternative init system — of which there
> > are many, including the traditional sysvinit.
> > 
> > RedHat is never going to become a monopolist, for all of the above
> > reasons.  Hell, Microsoft and Apple are both proprietary software
> > companies, and even they don't have an absolute monopoly.  
> 
> uhm ... but things might scale badly downwards to such a 
> point that, broken some minimal threshold in the developer 
> number, viability gets lost :\
> Is this not a risk ? I dunno the numbers of the various 
> communities, I'm just speculating theoretically

Well, systemd, and for that matter, GNOME, have been around for a long
time now — systemd since 2012, and GNOME since the late 1990s — and
there are still plenty of distributions that don't use either — almost
a new one every day. Code is getting forked all the time as well.

The FLOSS community is very large, very diverse, and very creative.  So
I wouldn't worry too much about that. ;)


-- 
With respect,
= Aragorn =

[toc] | [prev] | [next] | [standalone]


#59242

FromMike Easter <MikeE@ster.invalid>
Date2019-10-08 16:40 -0700
Message-ID<h04l3nF1c8fU1@mid.individual.net>
In reply to#59238
William Unruh wrote:
> Journald using a database rather than a text file I still think is a
> stupid idea. (You need logs when almost nothing is working).

systemd journald supporters allege that the binary logs are 'handled' 
(analyzed, evaluated) much better/ more efficiently/ than if they 
weren't so constructed.

I'm only stating some opinions of others, as I'm not personally 
conversant with how well the binary logs actually work compared to the 
older text logs.

I also think that Poettering's adverse personality characteristics and 
Siever's adverse behaviors shouldn't be part of the arguments weighed in 
pro/con systemd considerations.

-- 
Mike Easter

[toc] | [prev] | [next] | [standalone]


#59530

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-13 20:11 +0200
Message-ID<5v5c7g-v0i.ln1@Telcontar.valinor>
In reply to#59242
On 09/10/2019 01.40, Mike Easter wrote:
> William Unruh wrote:
>> Journald using a database rather than a text file I still think is a
>> stupid idea. (You need logs when almost nothing is working).
> 
> systemd journald supporters allege that the binary logs are 'handled'
> (analyzed, evaluated) much better/ more efficiently/ than if they
> weren't so constructed.

Probably.

> 
> I'm only stating some opinions of others, as I'm not personally
> conversant with how well the binary logs actually work compared to the
> older text logs.

Well, it allows when you ask about the status of a service to get logs
pertaining to it. At least in theory. It is also easier to prove that
the logs have not been manipulated.

And, traditional syslog implementations can also/instead store the logs
in binary format. In databases, such as mysql.

> I also think that Poettering's adverse personality characteristics and
> Siever's adverse behaviors shouldn't be part of the arguments weighed in
> pro/con systemd considerations.

Well, we are human...

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#59544

FromWilliam Unruh <unruh@invalid.ca>
Date2019-10-13 19:23 +0000
Message-ID<qnvtit$2nk$3@dont-email.me>
In reply to#59530
On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 09/10/2019 01.40, Mike Easter wrote:
>> William Unruh wrote:
>>> Journald using a database rather than a text file I still think is a
>>> stupid idea. (You need logs when almost nothing is working).
>> 
>> systemd journald supporters allege that the binary logs are 'handled'
>> (analyzed, evaluated) much better/ more efficiently/ than if they
>> weren't so constructed.
>
> Probably.
>
>> 
>> I'm only stating some opinions of others, as I'm not personally
>> conversant with how well the binary logs actually work compared to the
>> older text logs.
>
> Well, it allows when you ask about the status of a service to get logs
> pertaining to it. At least in theory. It is also easier to prove that
> the logs have not been manipulated.

HOW? Just because it is binary does not really prevent someone from
learning the format of the journals, and alter them.
>
> And, traditional syslog implementations can also/instead store the logs
> in binary format. In databases, such as mysql.
>
>> I also think that Poettering's adverse personality characteristics and
>> Siever's adverse behaviors shouldn't be part of the arguments weighed in
>> pro/con systemd considerations.
>
> Well, we are human...
>

[toc] | [prev] | [next] | [standalone]


#59560

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-14 00:44 +0200
Message-ID<30mc7g-tmt.ln1@Telcontar.valinor>
In reply to#59544
On 13/10/2019 21.23, William Unruh wrote:
> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 09/10/2019 01.40, Mike Easter wrote:
>>> William Unruh wrote:
>>>> Journald using a database rather than a text file I still think is a
>>>> stupid idea. (You need logs when almost nothing is working).
>>>
>>> systemd journald supporters allege that the binary logs are 'handled'
>>> (analyzed, evaluated) much better/ more efficiently/ than if they
>>> weren't so constructed.
>>
>> Probably.
>>
>>>
>>> I'm only stating some opinions of others, as I'm not personally
>>> conversant with how well the binary logs actually work compared to the
>>> older text logs.
>>
>> Well, it allows when you ask about the status of a service to get logs
>> pertaining to it. At least in theory. It is also easier to prove that
>> the logs have not been manipulated.
> 
> HOW? Just because it is binary does not really prevent someone from
> learning the format of the journals, and alter them.

Did you read about cryptographic keys and signatures?


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#59571

FromWilliam Unruh <unruh@invalid.ca>
Date2019-10-14 05:14 +0000
Message-ID<qo1082$3gi$5@dont-email.me>
In reply to#59560
On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 13/10/2019 21.23, William Unruh wrote:
>> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>>> On 09/10/2019 01.40, Mike Easter wrote:
>>>> William Unruh wrote:
>>>>> Journald using a database rather than a text file I still think is a
>>>>> stupid idea. (You need logs when almost nothing is working).
>>>>
>>>> systemd journald supporters allege that the binary logs are 'handled'
>>>> (analyzed, evaluated) much better/ more efficiently/ than if they
>>>> weren't so constructed.
>>>
>>> Probably.
>>>
>>>>
>>>> I'm only stating some opinions of others, as I'm not personally
>>>> conversant with how well the binary logs actually work compared to the
>>>> older text logs.
>>>
>>> Well, it allows when you ask about the status of a service to get logs
>>> pertaining to it. At least in theory. It is also easier to prove that
>>> the logs have not been manipulated.
>> 
>> HOW? Just because it is binary does not really prevent someone from
>> learning the format of the journals, and alter them.
>
> Did you read about cryptographic keys and signatures?

What has that to do with anything? youcan sign text logs just as easily
as binary logs. Or do you mean that say Mageia signs the logs, with a
cryptographic key on your machine, where you can get it and use it as
well after you have changed the logs? Ie, what are you trying to say?
>>>>

>
>

[toc] | [prev] | [next] | [standalone]


#59583

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-14 13:48 +0200
Message-ID<ls3e7g-nf7.ln1@Telcontar.valinor>
In reply to#59571
On 14/10/2019 07.14, William Unruh wrote:
> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 13/10/2019 21.23, William Unruh wrote:
>>> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>>>> On 09/10/2019 01.40, Mike Easter wrote:
>>>>> William Unruh wrote:
>>>>>> Journald using a database rather than a text file I still think is a
>>>>>> stupid idea. (You need logs when almost nothing is working).
>>>>>
>>>>> systemd journald supporters allege that the binary logs are 'handled'
>>>>> (analyzed, evaluated) much better/ more efficiently/ than if they
>>>>> weren't so constructed.
>>>>
>>>> Probably.
>>>>
>>>>>
>>>>> I'm only stating some opinions of others, as I'm not personally
>>>>> conversant with how well the binary logs actually work compared to the
>>>>> older text logs.
>>>>
>>>> Well, it allows when you ask about the status of a service to get logs
>>>> pertaining to it. At least in theory. It is also easier to prove that
>>>> the logs have not been manipulated.
>>>
>>> HOW? Just because it is binary does not really prevent someone from
>>> learning the format of the journals, and alter them.
>>
>> Did you read about cryptographic keys and signatures?
> 
> What has that to do with anything? youcan sign text logs just as easily
> as binary logs. Or do you mean that say Mageia signs the logs, with a
> cryptographic key on your machine, where you can get it and use it as
> well after you have changed the logs? Ie, what are you trying to say?

Yes, that.

Systemd journal can sign each entry cryptographically and can thus prove
that nothing was modified. It is not a feature of particular interest to
me, so I have not looked into how to do this verification. But I know it
is one of the systemd journal features.

Google:

<https://unix.stackexchange.com/questions/347499/how-does-journalctl-sign-the-logs-if-the-the-verification-key-should-be-stored>



+++....................
Firstly, we need to understand some points given by the LWN article :
Forward secure sealing[1]

       * FSS [Forward Secure Sealing] provides a way to at least detect
tampering using only a single system, though it won't provide all of the
assurances that external logging can.

       * the binary logs handled by the systemd journal can be "sealed"
at regular time intervals. That seal is a cryptographic operation on the
log data such that any tampering prior to the seal can be detected.

       * The algorithm for FSS is based on "Forward Secure Pseudo Random
Generators" (FSPRG),

       * One key is the "sealing key" which is kept on the system, and
the other is the "verification key" which should be securely stored
elsewhere. Using the FSPRG mechanism, a new sealing key is generated
periodically using a non-reversible process. The old key is then
securely deleted from the system after the change.

       * The verification key can be used to calculate the sealing key
for any given time range. That means that the attacker can only access
the current sealing key (which will presumably be used for the next
sealing operation), while the administrator can reliably generate any
sealing key to verify previous log file seals. Changing log file entries
prior to the last seal will result in a verification failure.
....................++-

[1] <https://lwn.net/Articles/512895/>


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#59600

FromWilliam Unruh <unruh@invalid.ca>
Date2019-10-14 14:31 +0000
Message-ID<qo20rs$9qn$4@dont-email.me>
In reply to#59583
On 2019-10-14, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 14/10/2019 07.14, William Unruh wrote:
>> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>>> On 13/10/2019 21.23, William Unruh wrote:
>>>> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>>>>> On 09/10/2019 01.40, Mike Easter wrote:
>>>>>> William Unruh wrote:
>>>>>>> Journald using a database rather than a text file I still think is a
>>>>>>> stupid idea. (You need logs when almost nothing is working).
>>>>>>
>>>>>> systemd journald supporters allege that the binary logs are 'handled'
>>>>>> (analyzed, evaluated) much better/ more efficiently/ than if they
>>>>>> weren't so constructed.
>>>>>
>>>>> Probably.
>>>>>
>>>>>>
>>>>>> I'm only stating some opinions of others, as I'm not personally
>>>>>> conversant with how well the binary logs actually work compared to the
>>>>>> older text logs.
>>>>>
>>>>> Well, it allows when you ask about the status of a service to get logs
>>>>> pertaining to it. At least in theory. It is also easier to prove that
>>>>> the logs have not been manipulated.
>>>>
>>>> HOW? Just because it is binary does not really prevent someone from
>>>> learning the format of the journals, and alter them.
>>>
>>> Did you read about cryptographic keys and signatures?
>> 
>> What has that to do with anything? youcan sign text logs just as easily
>> as binary logs. Or do you mean that say Mageia signs the logs, with a
>> cryptographic key on your machine, where you can get it and use it as
>> well after you have changed the logs? Ie, what are you trying to say?
>
> Yes, that.
>
> Systemd journal can sign each entry cryptographically and can thus prove

Can not does. And you can sign the text logs almost as easily. 

> that nothing was modified. It is not a feature of particular interest to
> me, so I have not looked into how to do this verification. But I know it
> is one of the systemd journal features.
>
> Google:
>
><https://unix.stackexchange.com/questions/347499/how-does-journalctl-sign-the-logs-if-the-the-verification-key-should-be-stored>
>
>
>
> +++....................
> Firstly, we need to understand some points given by the LWN article :
> Forward secure sealing[1]
>
>        * FSS [Forward Secure Sealing] provides a way to at least detect
> tampering using only a single system, though it won't provide all of the
> assurances that external logging can.
>
>        * the binary logs handled by the systemd journal can be "sealed"
> at regular time intervals. That seal is a cryptographic operation on the
> log data such that any tampering prior to the seal can be detected.
>
>        * The algorithm for FSS is based on "Forward Secure Pseudo Random
> Generators" (FSPRG),
>
>        * One key is the "sealing key" which is kept on the system, and
> the other is the "verification key" which should be securely stored
> elsewhere. Using the FSPRG mechanism, a new sealing key is generated
> periodically using a non-reversible process. The old key is then
> securely deleted from the system after the change.
>
>        * The verification key can be used to calculate the sealing key
> for any given time range. That means that the attacker can only access
> the current sealing key (which will presumably be used for the next
> sealing operation), while the administrator can reliably generate any
> sealing key to verify previous log file seals. Changing log file entries
> prior to the last seal will result in a verification failure.
> ....................++-
>
> [1] <https://lwn.net/Articles/512895/>
>
>

[toc] | [prev] | [next] | [standalone]


#59670

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-15 11:40 +0200
Message-ID<8qgg7g-0bj.ln1@Telcontar.valinor>
In reply to#59600
On 14/10/2019 16.31, William Unruh wrote:
> On 2019-10-14, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 14/10/2019 07.14, William Unruh wrote:
>>> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>>>> On 13/10/2019 21.23, William Unruh wrote:
>>>>> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>>>>>> On 09/10/2019 01.40, Mike Easter wrote:
>>>>>>> William Unruh wrote:
>>>>>>>> Journald using a database rather than a text file I still think is a
>>>>>>>> stupid idea. (You need logs when almost nothing is working).
>>>>>>>
>>>>>>> systemd journald supporters allege that the binary logs are 'handled'
>>>>>>> (analyzed, evaluated) much better/ more efficiently/ than if they
>>>>>>> weren't so constructed.
>>>>>>
>>>>>> Probably.
>>>>>>
>>>>>>>
>>>>>>> I'm only stating some opinions of others, as I'm not personally
>>>>>>> conversant with how well the binary logs actually work compared to the
>>>>>>> older text logs.
>>>>>>
>>>>>> Well, it allows when you ask about the status of a service to get logs
>>>>>> pertaining to it. At least in theory. It is also easier to prove that
>>>>>> the logs have not been manipulated.
>>>>>
>>>>> HOW? Just because it is binary does not really prevent someone from
>>>>> learning the format of the journals, and alter them.
>>>>
>>>> Did you read about cryptographic keys and signatures?
>>>
>>> What has that to do with anything? youcan sign text logs just as easily
>>> as binary logs. Or do you mean that say Mageia signs the logs, with a
>>> cryptographic key on your machine, where you can get it and use it as
>>> well after you have changed the logs? Ie, what are you trying to say?
>>
>> Yes, that.
>>
>> Systemd journal can sign each entry cryptographically and can thus prove
> 
> Can not does. And you can sign the text logs almost as easily. 

Not really. There is no chain of custody.


-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#59586

From"David W. Hodgins" <dwhodgins@nomail.afraid.org>
Date2019-10-14 09:06 -0400
Message-ID<op.z9nioxeca3w0dxdave@hodgins.homeip.net>
In reply to#59571
On Mon, 14 Oct 2019 01:14:42 -0400, William Unruh <unruh@invalid.ca> wrote:

> What has that to do with anything? youcan sign text logs just as easily
> as binary logs. Or do you mean that say Mageia signs the logs, with a
> cryptographic key on your machine, where you can get it and use it as
> well after you have changed the logs? Ie, what are you trying to say?

See "man journalctl", then search for setup-keys.

Regards, Dave Hodgins

-- 
Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
email replies.

[toc] | [prev] | [next] | [standalone]


#59250

FromSoviet_Mario <SovietMario@CCCP.MIR>
Date2019-10-08 19:10 +0200
Message-ID<qniftf$c9j$1@dont-email.me>
In reply to#59238
Il 08/10/19 00:38, F Russell ha scritto:
> On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:
> 
>> Another large part can be condensed into a set of
>> support tools written in C which can be reused in other init scripts (or
>> simliar situations).
>>
>> That's not much different from what systemd and other members of the zoo
>> offer, it's just more flexible
>>
> 
> For some odd reason, the author of the article assumes that systemd
> is just an init system.
> 
> RedHat's goals for systemd, as they have clearly stated, are to make
> it the sole interface between the kernel and userspace.  This means
> that ALL software that is written for Linux will have to be written
> for systemd.

the abstract question and practical aspect here diverge a lot.
 From a only formal view, to define a single uniform 
interface (a standardization of the interface layer) is a 
good thing in itself.
Posix is an attempt in that direction, and separates the 
interface layer (declarative) and its implementation

what could be (and seem to be bad) is another : to implement 
the layer interface as a single monolithic behemoth instead 
of independent modules.
There is no true necessity this should happen

This said, I do not have the particular skill even to assess 
if this standard interface has been chosen as the best 
possible. Ample discussion should precede a similar approach 
(the longlasting birth of POSIX itself and its partial yet 
coverage and support is symptomatic of the difficulty of 
having everybody to agree to an external formal standard ... 
but it is the only good way to describe interactions between 
things loosely bound)

> 
> RedHat, rather than forking Linux for its own purposes, is instead
> totally absconding a free and open source project while transmogrifying
> it in the process.
> 


-- 
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
Soviet_Mario - (aka Gatto_Vizzato)

[toc] | [prev] | [next] | [standalone]


#59273

FromWilliam Unruh <unruh@invalid.ca>
Date2019-10-08 20:59 +0000
Message-ID<qnitbf$1j3$1@dont-email.me>
In reply to#59250
On 2019-10-08, Soviet_Mario <SovietMario@CCCP.MIR> wrote:
> Il 08/10/19 00:38, F Russell ha scritto:
>> On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:
>> 
>>> Another large part can be condensed into a set of
>>> support tools written in C which can be reused in other init scripts (or
>>> simliar situations).
>>>
>>> That's not much different from what systemd and other members of the zoo
>>> offer, it's just more flexible
>>>
>> 
>> For some odd reason, the author of the article assumes that systemd
>> is just an init system.
>> 
>> RedHat's goals for systemd, as they have clearly stated, are to make
>> it the sole interface between the kernel and userspace.  This means
>> that ALL software that is written for Linux will have to be written
>> for systemd.
>
> the abstract question and practical aspect here diverge a lot.
>  From a only formal view, to define a single uniform 
> interface (a standardization of the interface layer) is a 
> good thing in itself.
> Posix is an attempt in that direction, and separates the 
> interface layer (declarative) and its implementation
>
> what could be (and seem to be bad) is another : to implement 
> the layer interface as a single monolithic behemoth instead 
> of independent modules.
> There is no true necessity this should happen

And is also not what systemd does. It sets up a huge buch of modules
(the .service files/programs) which acrually carry out the
initialisation, with rules as to dependencies so they can be run in
parallel. Many are C programs, which one could object to, but then all
of the kernel moduels are programs, not scripts. 

Journald using a database rather than a text file I still think is a
stupid idea. (You need logs when almost nothing is working).

>
> This said, I do not have the particular skill even to assess 
> if this standard interface has been chosen as the best 
> possible. Ample discussion should precede a similar approach 
> (the longlasting birth of POSIX itself and its partial yet 
> coverage and support is symptomatic of the difficulty of 
> having everybody to agree to an external formal standard ... 
> but it is the only good way to describe interactions between 
> things loosely bound)
>
>> 
>> RedHat, rather than forking Linux for its own purposes, is instead
>> totally absconding a free and open source project while transmogrifying
>> it in the process.

absconding? Hardly. It is there for all to see and use. systemd is free
and open source. 
And everybody writing programs "transmorgify" things. 
In the spirit of Linux they have offered their program for others to
use. And others do use it because it does needed things. 


>> 
>
>

[toc] | [prev] | [next] | [standalone]


#59528

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-13 20:07 +0200
Message-ID<vn5c7g-69h.ln1@Telcontar.valinor>
In reply to#59273
On 08/10/2019 22.59, William Unruh wrote:
> On 2019-10-08, Soviet_Mario <SovietMario@CCCP.MIR> wrote:
>> Il 08/10/19 00:38, F Russell ha scritto:
>>> On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:
>>>
>>>> Another large part can be condensed into a set of
>>>> support tools written in C which can be reused in other init scripts (or
>>>> simliar situations).
>>>>
>>>> That's not much different from what systemd and other members of the zoo
>>>> offer, it's just more flexible
>>>>
>>>
>>> For some odd reason, the author of the article assumes that systemd
>>> is just an init system.
>>>
>>> RedHat's goals for systemd, as they have clearly stated, are to make
>>> it the sole interface between the kernel and userspace.  This means
>>> that ALL software that is written for Linux will have to be written
>>> for systemd.
>>
>> the abstract question and practical aspect here diverge a lot.
>>  From a only formal view, to define a single uniform 
>> interface (a standardization of the interface layer) is a 
>> good thing in itself.
>> Posix is an attempt in that direction, and separates the 
>> interface layer (declarative) and its implementation
>>
>> what could be (and seem to be bad) is another : to implement 
>> the layer interface as a single monolithic behemoth instead 
>> of independent modules.
>> There is no true necessity this should happen
> 
> And is also not what systemd does. It sets up a huge buch of modules
> (the .service files/programs) which acrually carry out the
> initialisation, with rules as to dependencies so they can be run in
> parallel. Many are C programs, which one could object to, but then all
> of the kernel moduels are programs, not scripts. 
> 
> Journald using a database rather than a text file I still think is a
> stupid idea. (You need logs when almost nothing is working).

But you can easily use text log files as before. I do.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#59541

FromWilliam Unruh <unruh@invalid.ca>
Date2019-10-13 19:21 +0000
Message-ID<qnvtfb$2nk$2@dont-email.me>
In reply to#59528
On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 08/10/2019 22.59, William Unruh wrote:
...
>> Journald using a database rather than a text file I still think is a
>> stupid idea. (You need logs when almost nothing is working).
>
> But you can easily use text log files as before. I do.

Sure you can, at the expense of the journal still taking up a huger amount
of disk space. You can also (if you figure out how) limit the size of
the journal. But again that is extra work, esp in learning how to do it.
Why should you have to?

You can also replace almost all of the startup programs by sysvinit
script within systemd. 


>

[toc] | [prev] | [next] | [standalone]


#59561

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-14 00:48 +0200
Message-ID<27mc7g-tmt.ln1@Telcontar.valinor>
In reply to#59541
On 13/10/2019 21.21, William Unruh wrote:
> On 2019-10-13, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 08/10/2019 22.59, William Unruh wrote:
> ...
>>> Journald using a database rather than a text file I still think is a
>>> stupid idea. (You need logs when almost nothing is working).
>>
>> But you can easily use text log files as before. I do.
> 
> Sure you can, at the expense of the journal still taking up a huger amount
> of disk space.

Nope. Zero bytes if you want. Easy peasy.

It is easier in fact that learning about logrotate for syslog, where
each log has to be handled differently.

> You can also (if you figure out how) limit the size of
> the journal. But again that is extra work, esp in learning how to do it.
> Why should you have to?

Don't you love learning?

It is the current default in the distro I use, anyway.

> 
> You can also replace almost all of the startup programs by sysvinit
> script within systemd. 

No reason to waste that time. Didn't you say something about effort above?

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#59291

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-08 19:49 +0200
Message-ID<8ruu6g-bsb.ln1@Telcontar.valinor>
In reply to#59250
On 08/10/2019 19.10, Soviet_Mario wrote:
> Il 08/10/19 00:38, F Russell ha scritto:
>> On Mon, 07 Oct 2019 12:56:40 -0700, Mike Easter wrote:
>>
>>> Another large part can be condensed into a set of
>>> support tools written in C which can be reused in other init scripts (or
>>> simliar situations).
>>>
>>> That's not much different from what systemd and other members of the zoo
>>> offer, it's just more flexible
>>>
>>
>> For some odd reason, the author of the article assumes that systemd
>> is just an init system.
>>
>> RedHat's goals for systemd, as they have clearly stated, are to make
>> it the sole interface between the kernel and userspace.  This means
>> that ALL software that is written for Linux will have to be written
>> for systemd.
> 
> the abstract question and practical aspect here diverge a lot.
> From a only formal view, to define a single uniform interface (a
> standardization of the interface layer) is a good thing in itself.
> Posix is an attempt in that direction, and separates the interface layer
> (declarative) and its implementation
> 
> what could be (and seem to be bad) is another : to implement the layer
> interface as a single monolithic behemoth instead of independent modules.
> There is no true necessity this should happen

But it is not a behemoth:

-rwxr-xr-x 1 root root 1161608 Feb 18  2019 /usr/lib/systemd/systemd*

one megabyte...
> 
> top - 19:46:21 up 1 day,  7:21,  2 users,  load average: 0.52, 0.54, 0.47
> Tasks: 460 total,   1 running, 458 sleeping,   0 stopped,   1 zombie
> %Cpu(s):  5.6 us,  1.5 sy,  0.1 ni, 91.7 id,  1.0 wa,  0.0 hi,  0.0 si,  0.0 st
> KiB Mem :  8161224 total,  1394832 free,  5257324 used,  1509068 buff/cache
> KiB Swap: 25165820 total, 23194540 free,  1971280 used.  2352116 avail Mem 
> 
>   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
> 11994 root      20   0   40216   3780   2916 R 17.65 0.046   0:00.04 top
>     1 root      20   0  233124   8508   5072 S 0.000 0.104   0:24.52 systemd

5 megabits in shared ram, 5 in shared ram.


And it is modular, in fact.

> 
> This said, I do not have the particular skill even to assess if this
> standard interface has been chosen as the best possible. Ample
> discussion should precede a similar approach (the longlasting birth of
> POSIX itself and its partial yet coverage and support is symptomatic of
> the difficulty of having everybody to agree to an external formal
> standard ... but it is the only good way to describe interactions
> between things loosely bound)

VERY ample discussion was made. I saw it, in the distribution I use
places. Similarly on many other places.
What was possibly was what was available, though. Anybody or group was
free to create other candidates.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


Page 1 of 4  [1] 2 3 4  Next page →

Back to top | Article view | alt.os.linux


csiph-web