Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Adam Borowski
On Thu, Jun 16, 2016 at 10:47:42PM +0200, Irrwahn wrote: > For the record: Should I ever find myself sitting at a > machine running a Perl interpreter for PID1, I'd either > immediately kill myself or drink the SystemD Kool-Aid > by the gallon. (The net effect not being that different.) On Thu,

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Lars Noodén
On 06/16/2016 11:01 PM, Edward Bartolo wrote: [snip] > if (fork()) { > # We are in the parent which must reap zombies. > while(1) { > $status = wait(); > } > } else { > # We are in the child which must load the operating system by executing a > script > >

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Joel Roth
Steve Litt wrote: > Bear in mind that Perl is different on every computer due to CPAN. ?? I did a test with Memory::Usage, that reports the interpreter's virtual memory size as 22MB. Seems cheap to me. We've come a long way since the IBM-PC with 20MB hard disk. > But as an educational thing,

[DNG] OT: PHP help needed

2016-06-16 Thread Go Linux
I have a misbehaving file on a blog that I have no idea how to fix . . . other than removing the widget that's screwing up. :( The error that pops up starts like this "Strict Standards: Only variables should be passed by reference in *path-to-file* on line 302 If there are any PHP wizards on

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Arnt Karlsen
On Thu, 16 Jun 2016 17:16:38 -0400, Steve wrote in message <20160616171638.42400...@mydesk.domain.cxm>: > If the machine were anything but a demonstration experimental machine, > so would I contemplate suicide or systemd. Same with Python, Ruby, and > (urk) Javascript. But truth be told, if PID1

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Steve Litt
If the machine were anything but a demonstration experimental machine, so would I contemplate suicide or systemd. Same with Python, Ruby, and (urk) Javascript. But truth be told, if PID1 were written in Lua, I would not be dismayed in the slightest. SteveT Steve Litt June 2016 featured book:

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Steve Litt
On Thu, 16 Jun 2016 22:01:32 +0200 Edward Bartolo wrote: > Hi, > > The following simple Perl script successfully booted a useable > XFCE4.10 session. Orderly shutdown was done through using "agetty tty1 > &", logging in as root in the tty1 terminal, and issuing the command: >

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Irrwahn
P.S.: For the record: Should I ever find myself sitting at a machine running a Perl interpreter for PID1, I'd either immediately kill myself or drink the SystemD Kool-Aid by the gallon. (The net effect not being that different.) U. On Thu, 16 Jun 2016 22:28:31 +0200, Irrwahn Grausewitz

Re: [DNG] Finding package 'firmware-b43-installer'

2016-06-16 Thread Lars Noodén
On 06/16/2016 11:08 PM, Irrwahn wrote: > On Thu, 16 Jun 2016 22:51:24 +0300, Lars Noodén wrote: >> I'd like to find how to get the packages firmware-b43-installer and >> b43-fwcutter in devuan beta. >> >> I've searched for info in the mailing lists and I've looked at the main >> Devuan site and

Re: [DNG] Mini init script written in Perl boots.

2016-06-16 Thread Irrwahn
On Thu, 16 Jun 2016 22:01:32 +0200, Edward Bartolo wrote: > The Perl script: > -- > > #!/usr/bin/perl -w > > if ($<) { > printf "Only root can run this program.\n"; > exit 1; > } The real user ID the script is running under (represented by "$<") should be of no

Re: [DNG] Finding package 'firmware-b43-installer'

2016-06-16 Thread Irrwahn
On Thu, 16 Jun 2016 22:51:24 +0300, Lars Noodén wrote: > I'd like to find how to get the packages firmware-b43-installer and > b43-fwcutter in devuan beta. > > I've searched for info in the mailing lists and I've looked at the main > Devuan site and the FAQ. But neither turned up relevant

[DNG] Mini init script written in Perl boots.

2016-06-16 Thread Edward Bartolo
Hi, The following simple Perl script successfully booted a useable XFCE4.10 session. Orderly shutdown was done through using "agetty tty1 &", logging in as root in the tty1 terminal, and issuing the command: "/etc/init.d/rc 0". The Perl script is this. Please, note this is a very miniscule

Re: [DNG] Devuan migrate and install

2016-06-16 Thread aitor_czr
On 06/16/2016 06:12 AM, aitor_czr wrote: 6) Clean the content generated by the failed attempt and try again: apt-get autoremove make build_cdrom_isolinux The initrd.gz and the vmlinuz will be generated in the dest folder:) HTH, Aitor. I rectify: *make

Re: [DNG] Devuan migrate and install

2016-06-16 Thread aitor_czr
Hi Richard, On 06/14/2016 04:21 PM, richard lucassen wrote: I run a PXE server. For Debian I can download an "initrd.gz" and a "vmlinuz" to start a net install. Each version has its own vmlinuz/initrd.gz. The repository I use is an apt-cacher-ng proxy, this works

Re: [DNG] avahi & dbus ? Was: Re: cosmetic installer issues

2016-06-16 Thread dev1fanboy
I have some info about d-bus in devuan on the wiki pages that might be worth a look. https://git.devuan.org/dev1fanboy/Upgrade-Install-Devuan/wikis/home Cheers, chillfan On Thursday, June 16, 2016 9:27 AM, dev1fanboy wrote: > Neither avahi or dbus are really

Re: [DNG] avahi & dbus ? Was: Re: cosmetic installer issues

2016-06-16 Thread Joel Roth
emnin...@riseup.net wrote: > Am Thu, 16 Jun 2016 06:28:16 + > schrieb Adam Borowski : > > > avahi -> die die die > > In the slackware world i learned, that avahi was not needed and could > be removed (respectively not installed at all) without any problem. And > indeed

[DNG] avahi & dbus ? Was: Re: cosmetic installer issues

2016-06-16 Thread emninger
Am Thu, 16 Jun 2016 06:28:16 + schrieb Adam Borowski : > avahi -> die die die In the slackware world i learned, that avahi was not needed and could be removed (respectively not installed at all) without any problem. And indeed it was so for me, i did not notice any loss

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-16 Thread emninger
Am Thu, 16 Jun 2016 06:28:16 + schrieb Robert Storey : > I'm not a good programmer and thus not capable of writing a better > installer, but I would like to suggest the possibility of taking the > Ubuntu approach which allows the option to complete an installation >

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-16 Thread emninger
Am Thu, 16 Jun 2016 06:28:16 + schrieb KatolaZ : Hi KatolaZ! > This is most probably the source of your problems. Have you tried to > install jessie and then upgrade to ascii? > > My2Cents > > KatolaZ Yes, i did - to no extent. Now, in a lot of frustration, i tried

Re: [DNG] Custom OS initiator. In need of some hints...

2016-06-16 Thread Didier Kryn
Le 15/06/2016 18:57, Edward Bartolo a écrit : Hi, I am saying the child and parent at not the same at the point fork() executes for the following reasons taken from "man 2 fork". Quote taken from "man 2 fork": (Please not the*except*) << The new process, referred to as the child, is an