Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread tito via Dng
On Tue, 27 Jul 2021 13:11:47 -0400 Steve Litt wrote: > tito via Dng said on Tue, 27 Jul 2021 08:26:03 +0200 > > > >Ten Commandments > > > > 1) use the least amount of code possible > > 2) try harder and go to point 1 > > 3) if the code doesn't fit into one screen go to point 2 > > 4) always

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread tito via Dng
On Tue, 27 Jul 2021 13:07:01 -0400 Steve Litt wrote: > tito via Dng said on Tue, 27 Jul 2021 08:26:03 +0200 > > > >Ten Commandments > > > > 1) use the least amount of code possible > > 2) try harder and go to point 1 > > 3) if the code doesn't fit into one screen go to point 2 > > Do you me

Re: [DNG] Missing syslog

2021-07-27 Thread Simon Hobson
Hendrik Boom wrote: > I did a ls -l on syslog* > > april:~# ls -l /var/log/syslog* > -rw-r- 1 root adm 734459 May 17 2013 /var/log/syslog > -rw-r- 1 root adm 1197017 May 17 2013 /var/log/syslog.0 > -rw-r- 1 root adm 79876 May 13 2013 /var/log/syslog.1.gz > -rw-r- 1 root ad

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread Steve Litt
Josef Grosch via Dng said on Tue, 27 Jul 2021 07:31:12 -0700 >7) Pay attention to the scope of variables and functions. LOL. When I was a lot younger and stupider, my C code enabling 40 data entry people to input data crashed once or twice a day, costing about 1/2 hour of work for each (20 hours

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread Steve Litt
Miles Fidelman said on Tue, 27 Jul 2021 09:59:49 -0400 Andreas Messer said on Mon, 26 Jul 2021 09:38:23 +0200 > My feeling is, that you can not simply teach someone how to write > safe software. Why not? You can teach a person to do anything else. But maybe not

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread Steve Litt
tito via Dng said on Tue, 27 Jul 2021 08:26:03 +0200 >Ten Commandments > > 1) use the least amount of code possible > 2) try harder and go to point 1 > 3) if the code doesn't fit into one screen go to point 2 > 4) always initialize your vars at declaration time > 5) always set your vars to N

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread Steve Litt
tito via Dng said on Tue, 27 Jul 2021 08:26:03 +0200 >Ten Commandments > > 1) use the least amount of code possible > 2) try harder and go to point 1 > 3) if the code doesn't fit into one screen go to point 2 Do you mean if the code OF ONE SUBROUTINE doesn't fit into one screen, go to point 2

Re: [DNG] Missing syslog

2021-07-27 Thread Hendrik Boom
On Tue, Jul 27, 2021 at 12:50:36PM -0400, tempforever wrote: > Question: do you have /var mounted on a separate partition?  I > encountered some weird behavior when I attempted to do so.  That is, > there were files opened before the mount command was issued, resulting > in some weird things like t

Re: [DNG] Missing syslog

2021-07-27 Thread tempforever
Question: do you have /var mounted on a separate partition?  I encountered some weird behavior when I attempted to do so.  That is, there were files opened before the mount command was issued, resulting in some weird things like that. Hendrik Boom wrote: > well, by syslog isn't exactly missing, b

[DNG] Missing syslog

2021-07-27 Thread Hendrik Boom
well, by syslog isn't exactly missing, but ... Today my server was mysteriously unresponsive; that is, ssh to its IP address did not work. So I went over to it, and found the screen blanl. I tried directly into its keyboard (and yes, at this point I had checked that that power was on and the re

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread Josef Grosch via Dng
On 7/26/21 11:26 PM, tito via Dng wrote: On Mon, 26 Jul 2021 22:53:02 -0400 Steve Litt wrote: Hendrik Boom said on Mon, 26 Jul 2021 17:21:24 -0400 On Mon, Jul 26, 2021 at 11:48:53AM -0400, Steve Litt wrote: Andreas Messer said on Mon, 26 Jul 2021 09:38:23 +0200 My feeling is, that you

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread Miles Fidelman
Andreas Messer said on Mon, 26 Jul 2021 09:38:23 +0200 My feeling is, that you can not simply teach someone how to write safe software. Why not? You can teach a person to do anything else. But maybe not in college, because college is built to make money, not to teach. Consider the average t

Re: [DNG] Nasty Linux systemd security bug revealed

2021-07-27 Thread g4sra via Dng
On Tuesday, July 27th, 2021 at 7:26 AM, tito via Dng wrote: > On Mon, 26 Jul 2021 22:53:02 -0400 > Steve Litt sl...@troubleshooters.com wrote: > > Hendrik Boom said on Mon, 26 Jul 2021 17:21:24 -0400 > > > On Mon, Jul 26, 2021 at 11:48:53AM -0400, Steve Litt wrote: > > > > Andreas Messer said on M