Re: [DNG] Nasty Linux systemd security bug revealed

2021-08-01 Thread al3xu5
Hi Thu, 29 Jul 2021 16:57:44 -0400 - Steve Litt : > al3xu5 said on Thu, 29 Jul 2021 17:33:10 +0200 > > > >9) Write code to debug and log > > I'm not sure what you mean here. Do you mean to write errors and > warnings to log files, or do you mean something more. Both. I do definitely mean

Re: [DNG] May I use Netaid source as an example of good code?

2021-08-01 Thread aitor
Hi, On 1/8/21 1:39, aitor wrote: I'm looking for a safer way to run the binary with suid permissions using the shared memory of the system to send a signal. Time ago somebody said me: "you can do nothing from your binary that i can't do externally from another binary". So, am i wasting time

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Jim Jackson
On Fri, 30 Jul 2021, Steve Litt wrote: > idea, although one screenfull sounds a little too short for prose, to "one screenfull" what's that. When I started interactive programming it was on an teletype with continuous scroll of paper - you tended to print one or teo lines at a time - just t6

Re: [DNG] difficulty issuing commands

2021-08-01 Thread Haines Brown
On Sun, Aug 01, 2021 at 02:54:55AM -0400, Steve Litt wrote: > Haines Brown said on Sat, 31 Jul 2021 21:54:56 -0400 > > >Sorry for the ambivalent subject line. > > > >I'm running Beowulf with Fluxbox window manager but without a desktop > >environment. Without knowing what might have triggered it,

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Hendrik Boom
On Fri, Jul 30, 2021 at 03:33:05PM +0200, Enrico Weigelt, metux IT consult wrote: > On 30.07.21 00:32, Josef Grosch via Dng wrote: > > > Global variables are a disaster looking for a place to happen, avoid at > > all cost. The scope of variables should be as small as possible. > > it depends ...

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Hendrik Boom
On Fri, Jul 30, 2021 at 01:49:46PM -0400, Steve Litt wrote: > Josef Grosch via Dng said on Thu, 29 Jul 2021 15:32:05 -0700 > > > >Another suggestion I have is to use the variable and method naming > >convention that java uses. I like the way it looks and I think camel > >case is more readable t

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread tito via Dng
On Sun, 1 Aug 2021 07:56:18 -0400 Hendrik Boom wrote: > On Fri, Jul 30, 2021 at 01:49:46PM -0400, Steve Litt wrote: > > Josef Grosch via Dng said on Thu, 29 Jul 2021 15:32:05 -0700 > > > > > > >Another suggestion I have is to use the variable and method naming > > >convention that java uses. I

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread wirelessduck--- via Dng
> On 1 Aug 2021, at 21:56, Hendrik Boom wrote: > > On Fri, Jul 30, 2021 at 01:49:46PM -0400, Steve Litt wrote: >> Josef Grosch via Dng said on Thu, 29 Jul 2021 15:32:05 -0700 >> >> >>> Another suggestion I have is to use the variable and method naming >>> convention that java uses. I like t

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread aitor
Hi, On 1/8/21 14:41, tito via Dng wrote: Hi, I really prefer if (mybool) { do_my_stuff(); do_other_stuff); } for the rule of least vertical screen usage (same as yours) and the brace and the if on the same indentation level make it clear where the conditional block of code stops. Me

Re: [DNG] routine ascii upgrade mysteriously on hold

2021-08-01 Thread Bernard Rosset via Dng
On 31/07/2021 22:03, Hendrik Boom wrote: I'm practicing upgrades on my spare laptop, getting ready for doing my server upgrade from ascii to beowulf.. They are both running ascii. Starting, of course, by making the ascii up to date still as ascii, before I try tye upgrade to beowulf. Having t

Re: [DNG] May I use Netaid source as an example of good code?

2021-08-01 Thread Arnt Karlsen
On Sun, 1 Aug 2021 12:41:58 +0200, aitor wrote in message : > Hi, > > On 1/8/21 1:39, aitor wrote: > > I'm looking for a safer way to run the binary with suid permissions > > using the shared memory of the system to send a signal. > > Time ago somebody said me: "you can do nothing from your

Re: [DNG] difficulty issuing commands

2021-08-01 Thread Arnt Karlsen
On Sun, 1 Aug 2021 07:16:00 -0400, Haines wrote in message <2021080600.ge29...@engels.histomat.net>: > On Sun, Aug 01, 2021 at 02:54:55AM -0400, Steve Litt wrote: > > Haines Brown said on Sat, 31 Jul 2021 21:54:56 -0400 > > > > >Sorry for the ambivalent subject line. > > > > > >I'm running

Re: [DNG] routine ascii upgrade mysteriously on hold

2021-08-01 Thread Hendrik Boom
On Sun, Aug 01, 2021 at 05:33:23PM +0200, Bernard Rosset via Dng wrote: > On 31/07/2021 22:03, Hendrik Boom wrote: > > I'm practicing upgrades on my spare laptop, getting ready for doing my > > server > > upgrade from ascii to beowulf.. > > > > They are both running ascii. > > > > Starting, of c

Re: [DNG] [SPAM] Re: May I use Netaid source as an example of good code?

2021-08-01 Thread aitor
Hi Arnt, On 1/8/21 17:59, Arnt Karlsen wrote: I'm looking for a safer way to run the binary with suid permissions using the shared memory of the system to send a signal. Time ago somebody said me: "you can do nothing from your binary that i can't do externally from another binary". So, am i wa

Re: [DNG] May I use Netaid source as an example of good code?

2021-08-01 Thread aitor
Hi again, On 1/8/21 19:20, aitor wrote: Hi Arnt, On 1/8/21 17:59, Arnt Karlsen wrote: I'm looking for a safer way to run the binary with suid permissions using the shared memory of the system to send a signal. Time ago somebody said me: "you can do nothing from your binary that i can't do ex

Re: [DNG] [SPAM] Re: May I use Netaid source as an example of good code?

2021-08-01 Thread aitor
On 1/8/21 19:20, aitor wrote:   /*  trigger the signal handler in order to receive the SIGUSR1 signal emited by the suid binary */ *emitted* ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] difficulty issuing commands

2021-08-01 Thread Steve Litt
Haines Brown said on Sun, 1 Aug 2021 07:16:00 -0400 >On Sun, Aug 01, 2021 at 02:54:55AM -0400, Steve Litt wrote: >> Haines Brown said on Sat, 31 Jul 2021 21:54:56 -0400 >> >> >Sorry for the ambivalent subject line. >> > >> >I'm running Beowulf with Fluxbox window manager but without a >> >deskt

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Steve Litt
tito via Dng said on Sun, 1 Aug 2021 14:41:31 +0200 >Hi, >I really prefer > >if (mybool) { > do_my_stuff(); > do_other_stuff); >} Vim prefers it that way too, which is why (and the only reason) I use the preceding brace placement. SteveT Steve Litt Spring 2021 featured book: Troubleshoot

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Steve Litt
wirelessduck--- via Dng said on Sun, 1 Aug 2021 22:43:35 +1000 >> On 1 Aug 2021, at 21:56, Hendrik Boom wrote: >> >> On Fri, Jul 30, 2021 at 01:49:46PM -0400, Steve Litt wrote: >>> Josef Grosch via Dng said on Thu, 29 Jul 2021 15:32:05 -0700 >>> >>> Another suggestion I have is to us

Re: [DNG] difficulty issuing commands

2021-08-01 Thread Haines Brown
On Sun, Aug 01, 2021 at 01:59:35PM -0400, Steve Litt wrote: > The preceding paragraphs have a lot of articles (such as "it"), so I > can't be sure what you're saying, but it sounds like "the balance > program" is hogging CPU, so don't use it, or at least don't use it when > you're doing other work.

[DNG] Are there any other archives besides https://lists.dyne.org/lurker/list/dng.en.html

2021-08-01 Thread Steve Litt
Hi all, Are there any other archives besides https://lists.dyne.org/lurker/list/dng.en.html ? I've found the preceding web archive to be worse than useless, in so many ways I can't enumerate them all, but suffice it to say I was trying to find some recent messages in the archives and was unable t

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Josef Grosch via Dng
On 8/1/21 12:50 PM, Steve Litt wrote: wirelessduck--- via Dng said on Sun, 1 Aug 2021 22:43:35 +1000 On 1 Aug 2021, at 21:56, Hendrik Boom wrote: On Fri, Jul 30, 2021 at 01:49:46PM -0400, Steve Litt wrote: Josef Grosch via Dng said on Thu, 29 Jul 2021 15:32:05 -0700 Another suggestion

Re: [DNG] [SPAM] Re: May I use Netaid source as an example of good code?

2021-08-01 Thread aitor
Hi, On 1/8/21 19:20, aitor wrote: After that, the suid binary can check _whether or not_ the emited signal has been received. If yes, both the gui and the suid will communicate each other through a unix socket or a fifo to know what to do. Better said, the suid binary can check whether or not t

Re: [DNG] May I use Netaid source as an example of good code?

2021-08-01 Thread aitor
On 2/8/21 0:41, aitor wrote: Hi, On 1/8/21 19:20, aitor wrote: After that, the suid binary can check _whether or not_ the emited signal has been received. If yes, both the gui and the suid will communicate each other through a unix socket or a fifo to know what to do. Better said, the suid bi

[DNG] Devuan as a hypervisor?

2021-08-01 Thread yamifag
Hi. I want to install a bare metal hypervisor in my computer to get the benefits from dual booting except without the mess that is dual booting. I'm going to use it for both linux and windows systems and all I want is for the vms and their files to be isolated, control over their resources,

Re: [DNG] Devuan as a hypervisor?

2021-08-01 Thread Curtis Maurand via Dng
I’ve been running a production system first on ascii, but upgraded to beowulf. the only trouble I’ve had has been hardware and that was just a failed power supply. i run the whole thing on kvm/libvirt. runs great. uptimes in the 100’s of days. Your mileage may vary. —Curtis Sent from my

Re: [DNG] Devuan as a hypervisor?

2021-08-01 Thread Rod Rodolico via Dng
We have been virtualizing machines, servers and workstations, for over a decade. First on Debian, then Devuan. My personal workstation is Devuan, and I have Windows 7 & 10, FreeBSD, Devuan, and CentOS available as virtuals that I spool up as needed. On our servers, we mainly virtualize Devuan ser

Re: [DNG] Only a few packages now still on hold

2021-08-01 Thread Hendrik Boom
On Sun, Aug 01, 2021 at 01:13:26PM -0400, Hendrik Boom wrote: > On Sun, Aug 01, 2021 at 05:33:23PM +0200, Bernard Rosset via Dng wrote: > > On 31/07/2021 22:03, Hendrik Boom wrote: > > > I'm practicing upgrades on my spare laptop, getting ready for doing my > > > server > > > upgrade from ascii to

Re: [DNG] Only a few packages now still on hold

2021-08-01 Thread Hendrik Boom
On Sun, Aug 01, 2021 at 09:54:33PM -0400, Hendrik Boom wrote: > On Sun, Aug 01, 2021 at 01:13:26PM -0400, Hendrik Boom wrote: > > On Sun, Aug 01, 2021 at 05:33:23PM +0200, Bernard Rosset via Dng wrote: > > > On 31/07/2021 22:03, Hendrik Boom wrote: > > > > I'm practicing upgrades on my spare laptop

Re: [DNG] routine ascii upgrade mysteriously on hold

2021-08-01 Thread Rod Rodolico via Dng
May not mean anything, but I quit using aptitude back with Jessie, I think. Maybe ASCII. The main reason was exactly what you describe. There was a major difference between what apt/apt-get did and what aptitude did. It may not be maintained anymore, or maybe maintained, but not as strongly, but ap

Re: [DNG] Only a few packages now still on hold

2021-08-01 Thread tito via Dng
On Sun, 1 Aug 2021 21:58:47 -0400 Hendrik Boom wrote: > On Sun, Aug 01, 2021 at 09:54:33PM -0400, Hendrik Boom wrote: > > On Sun, Aug 01, 2021 at 01:13:26PM -0400, Hendrik Boom wrote: > > > On Sun, Aug 01, 2021 at 05:33:23PM +0200, Bernard Rosset via Dng wrote: > > > > On 31/07/2021 22:03, Hendri

Re: [DNG] Starting outline for the DNG Safe Programmer Certificate

2021-08-01 Thread Steve Litt
Josef Grosch via Dng said on Sun, 1 Aug 2021 14:58:18 -0700 >On 8/1/21 12:50 PM, Steve Litt wrote: >> wirelessduck--- via Dng said on Sun, 1 Aug 2021 22:43:35 +1000 >> On 1 Aug 2021, at 21:56, Hendrik Boom wrote: On Fri, Jul 30, 2021 at 01:49:46PM -0400, Steve Litt wrote: