Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I have a theory that it's impossible to prove anything, but I can't prove it.


computers / alt.os.linux.slackware / sysklog and Slackware

SubjectAuthor
* sysklog and SlackwareMike Small
+- Re: sysklog and SlackwareEdward McGuire
`- Re: sysklog and SlackwareHenrik Carlqvist

1
sysklog and Slackware

<jpk356hogy4.fsf@panix5.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1649&group=alt.os.linux.slackware#1649

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: sma...@panix.com (Mike Small)
Newsgroups: alt.os.linux.slackware
Subject: sysklog and Slackware
Date: Mon, 06 Mar 2023 13:47:15 -0500
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <jpk356hogy4.fsf@panix5.panix.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader2.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="3934"; mail-complaints-to="abuse@panix.com"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)
Cancel-Lock: sha1:qJS6cn/J3i1g9rrdfq8MtdMqSMQ=
 by: Mike Small - Mon, 6 Mar 2023 18:47 UTC

Hi,

I was curious about the history of syslogd in Slackware and the
motivations for using the logging project that it does. I'm reading the
book How Linux Works by Brian Ward, which lists the common logging
possibilities under Linux as involving journald, rsyslog, and/or
syslog-ng.

Slackware instead uses sysklog, a port from the original BSD code that
goes all the way back to Eric Allman and Sendmail, to 1980. 15.0 has a
refreshed version of that by Joachim Wiberg with code from NetBSD and
FreeBSD that implements newer RFCs. Among the few LinuxQuestions threads
I could find on sysklog -- mostly of the "could you patch this bug"
variety --the two sysklogd versions are referred to as the troglobit
version (Wiberg's updates, 2.X) and the infodrom version (Dr. Wettstein,
Martin Schulze, et al; 1.5.1). Wikipedia seems to lack any mention of
sysklog, but /usr/doc has some decent info.

Do you remember any discussions describing this preference vs. other
distros' for rsyslog or syslog-ng? Or do you have your own opinions?

Regards,
Mike Sm.

Re: sysklog and Slackware

<22c043b5-c5f2-4318-9c5d-7769be5d6518n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1650&group=alt.os.linux.slackware#1650

  copy link   Newsgroups: alt.os.linux.slackware
X-Received: by 2002:ad4:5a0e:0:b0:571:e9d3:24a9 with SMTP id ei14-20020ad45a0e000000b00571e9d324a9mr2962164qvb.10.1678132690157;
Mon, 06 Mar 2023 11:58:10 -0800 (PST)
X-Received: by 2002:a05:620a:2296:b0:72d:4b50:f156 with SMTP id
o22-20020a05620a229600b0072d4b50f156mr2598487qkh.14.1678132689869; Mon, 06
Mar 2023 11:58:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.os.linux.slackware
Date: Mon, 6 Mar 2023 11:58:09 -0800 (PST)
In-Reply-To: <jpk356hogy4.fsf@panix5.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=70.117.52.110; posting-account=99-szAoAAABeqjQXkwq9U3xS8fVveYhv
NNTP-Posting-Host: 70.117.52.110
References: <jpk356hogy4.fsf@panix5.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <22c043b5-c5f2-4318-9c5d-7769be5d6518n@googlegroups.com>
Subject: Re: sysklog and Slackware
From: met...@gmail.com (Edward McGuire)
Injection-Date: Mon, 06 Mar 2023 19:58:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Edward McGuire - Mon, 6 Mar 2023 19:58 UTC

On Monday, March 6, 2023 at 12:47:20 PM UTC-6, Mike Small wrote:
> Do you remember any discussions describing this preference vs. other
> distros' for rsyslog or syslog-ng? Or do you have your own opinions?

My first impression of sysklog was poor -- multiple bugs bit me:

* Pointer error causing truncation when forwarding to a tty
* Pointer error causing overread when scanning message buffer
* Logfile corruption by control codes in kernel messages
* Memory leak in socket table breaks message forwarding

But Mr Wiberg was very responsive and welcomed patches. These
problems were all resolved in sysklogd 2.4.1 (1-Aug-22). So I
continue to use the patched sysklogd with confidence.

Note that Slackware 15.0 (stable) still has sysklogd 2.3 (27-Nov-21)
so still has these memory and logfile corruption issues. That's
risky given that sysklog runs as superuser, but looks like it will
not get resolved before the final release of Slackware 15.1.

Cheers! Edward

Re: sysklog and Slackware

<tu6lvf$a4qp$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1651&group=alt.os.linux.slackware#1651

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Henrik.C...@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: sysklog and Slackware
Date: Tue, 7 Mar 2023 06:35:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <tu6lvf$a4qp$1@dont-email.me>
References: <jpk356hogy4.fsf@panix5.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 7 Mar 2023 06:35:27 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d9395751b85b84b0bd992fd0844c92be";
logging-data="332633"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JpfRDV5oYHqXiRY9JNMHr"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:iHSq0bWaar+lvrPJsnB0MV4Cp/Q=
 by: Henrik Carlqvist - Tue, 7 Mar 2023 06:35 UTC

On Mon, 06 Mar 2023 13:47:15 -0500, Mike Small wrote:
> Do you remember any discussions describing this preference vs. other
> distros' for rsyslog or syslog-ng? Or do you have your own opinions?

I would say that it makes sense to use a syslog software derived from BSD
distributions as Slackware in other parts like starup scripts is rather
"BSD-like". However, my guess is that the main reason that sysklogd whas
choosen was the simple fact that neither syslog-ng (first release 1998)
or rsyslog (first release 2004) was available as choices back in the
early 90s when Slackware was initiated.

I once had the need to configure a log server where clients could send
their messages encrypted to the log server. As Slackware clients with
sysklogd does not natively support encryption to remote servers my
solution ended up using OpenVPN and connecting the sysklogd clients to an
IP address of the server in the OpenVPN network. I don't remember for
sure which software I used for the log server, but it was probably syslog-
ng or possibly rsyslog. However, that software was only used for the
collecting log server, the server which it ran to was also running
sysklogd.

regards Henrik

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor