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

2016-06-14 Thread Chandler Wise
In python you can definitely fork/wait as I have done it, and I have also made an init entirely in Python 3 :P. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

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

2016-06-14 Thread Joel Roth
On Wed, Jun 15, 2016 at 06:21:36AM +0200, Edward Bartolo wrote: > Hi, > > Before I give up writing Felker's C code in bash, can I use another > interpreted language that has more probability of having wait(int*) > and fork()? Perl will do it. There excellent introductory books available for free

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

2016-06-14 Thread Edward Bartolo
Hi, Before I give up writing Felker's C code in bash, can I use another interpreted language that has more probability of having wait(int*) and fork()? Edward ___ Dng mailing list Dng@lists.dyne.org

Re: [DNG] LXC template for Devuan

2016-06-14 Thread Simon Walter
On 06/15/2016 10:26 AM, Greg Olsen wrote: On 2016-06-14 09:22, Simon Walter wrote: > I think that maybe you read my email too fast. So I will try to be verbose. Hi Simon, If I misread then I apologize. No need to! ... > > Also I notice gcc-4.8-base is being removed towards the end. I

Re: [DNG] LXC template for Devuan

2016-06-14 Thread Greg Olsen
On 2016-06-14 09:22, Simon Walter wrote: > I think that maybe you read my email too fast. So I will try to be verbose. Hi Simon, If I misread then I apologize. > I install Devuan on my hardware from an iso CD-ROM image file copied to > a USB memory device. > > Next I install LXC. > > Next I

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-14 Thread emninger
Am Tue, 14 Jun 2016 14:22:41 + schrieb Florian Zieboll : > From tty 2 or 3, you can wget that missing library, then move the deb > to /target and chroot there to install it manually. > > libre Grüße, > > Florian Hi Florian! I tried it that way but it did not work. I was

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-14 Thread emninger
Am Tue, 14 Jun 2016 18:08:50 + schrieb Paweł Cholewiński : > Hi, > could You reproduce this error with another install? If yes, are there > any other errors before package dependency problem with libjson-c2 on > console4? > > Regards, > Paweł I can reproduce this

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-14 Thread Robert Storey
On Tue, 14 Jun 2016 14:50:55 +0200 wrote: > Hi all. > > I have an urgent problem with the Devuan Jessie 1.0 installer: > > When it comes to install the basic system at a certain point the > installation stops with an error. On console 4 i see the following > error msg: > >

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 22:21:00 +0200, Edward Bartolo wrote: > Irrwahn wrote: > << apparently simply content with > writing bad code >> > > Bad code is not good for anyone let alone as an init. What I am doing > it experimenting so that I further understand which lines of the code > play the central

Re: [DNG] Devuan migrate and install

2016-06-14 Thread richard lucassen
On Tue, 14 Jun 2016 22:12:21 +0200 Florian Zieboll wrote: [--8<-- snip sources.list --8<--] > You might want to choose another mirror, or the redirector: > auto.mirror.devuan.org Yep, I think that might be better > Depending on your configuration and personal preferences,

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

2016-06-14 Thread Edward Bartolo
Hi, Irrwahn wrote: << apparently simply content with writing bad code >> Bad code is not good for anyone let alone as an init. What I am doing it experimenting so that I further understand which lines of the code play the central roles and which lines play auxiliary roles. In my almost fifty

Re: [DNG] Devuan migrate and install

2016-06-14 Thread Florian Zieboll
On Tue, 14 Jun 2016 21:27:00 +0200 richard lucassen wrote: > 1) IIRC there used to be a "sources.list" somewhere to migrate from > Debian Jessie to Devuan Jessie. Does someone have a URL? I had thought that it's part of the devuan-baseconf package, but apparently it's

Re: [DNG] Devuan migrate and install

2016-06-14 Thread richard lucassen
On Tue, 14 Jun 2016 16:00:10 -0400 etech3 wrote: Ok, thnx! > Here's what I have so far: > > most from the 64 bit install. added non-free and contrib so far so > good > > # deb http://us.mirror.devuan.org/merged/ jessie main > > deb

Re: [DNG] Devuan migrate and install

2016-06-14 Thread etech3
Here's what I have so far: most from the 64 bit install. added non-free and contrib so far so good # deb http://us.mirror.devuan.org/merged/ jessie main deb http://us.mirror.devuan.org/merged/ jessie main non-free contrib deb-src http://us.mirror.devuan.org/merged/ jessie main non-free contrib

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

2016-06-14 Thread Irrwahn
[Afer the fact I notice this has become a rather wordy message, mainly due to my difficulties to express myself clearly in plain English; please ignore at at will.] On Tue, 14 Jun 2016 14:14:15 -0400, Steve Litt wrote: > You and I have a difference of beliefs concerning learning. You believe

[DNG] Devuan migrate and install

2016-06-14 Thread richard lucassen
1) IIRC there used to be a "sources.list" somewhere to migrate from Debian Jessie to Devuan Jessie. Does someone have a URL? 2) 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

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

2016-06-14 Thread Steve Litt
On Tue, 14 Jun 2016 17:35:52 +0200 Irrwahn wrote: > At the moment, at least to me, it unfortunately looks like he > refuses to learn _anything_ of what he's being told, up to the > point I am beginning to have doubts he's not simply trolling. I can assure you he's not

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

2016-06-14 Thread Edward Bartolo
Hi, KatolaZ wrote: << but when somebody writes to a ML asking for suggestions on a topic I usually assume that s/he really wants to receive some information on that topic >> Thanks to this mailing thread, I now understand what fork() actually does. To me fork() looks much more than simply a

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

2016-06-14 Thread Hendrik Boom
On Tue, Jun 14, 2016 at 10:59:05AM -0400, Steve Litt wrote: > > I think Edward's being sucked into a vortex of basics at lightning > speed, and within a couple weeks will know as much about the basics > necessary for Felker PID1 as you do (which would be twice what I know, > I found your

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

2016-06-14 Thread KatolaZ
On Tue, Jun 14, 2016 at 10:59:05AM -0400, Steve Litt wrote: > On Tue, 14 Jun 2016 15:50:37 +0200 > Irrwahn wrote: > > > We could play this game day in, day out for months or even > > years, without having you grasp the basics necessary to > > fully understand the

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-14 Thread Paweł Cholewiński
W dniu 14.06.2016 o 14:50, emnin...@riseup.net pisze: > Hi all. > > I have an urgent problem with the Devuan Jessie 1.0 installer: > > When it comes to install the basic system at a certain point the > installation stops with an error. On console 4 i see the following > error msg: > > . >

Re: [DNG] kill command does not match manual page.

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 11:37:46 -0400, Hendrik Boom wrote: > On Tue, Jun 14, 2016 at 04:59:55PM +0200, Irrwahn wrote: > >> BOOOM! I just halted your init by simply using #kill -TSTP 1. > > I'm trying to figure out what -TSTP means. SIGTSTP is the stop signal sent from a terminal, usually by

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 10:59:05 -0400, Steve Litt wrote: > On Tue, 14 Jun 2016 15:50:37 +0200 > Irrwahn wrote: > >> We could play this game day in, day out for months or even >> years, without having you grasp the basics necessary to >> fully understand the implications of

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 15:51:23 +0200, Edward Bartolo wrote: > Hi, > > I am trying to implement a small shell script to serve as an init but > I am failing to find C equivalent functions to wait(int) and > fork(void). These two functions are essential to create an init as > zombies have to be

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

2016-06-14 Thread Steve Litt
On Tue, 14 Jun 2016 15:50:37 +0200 Irrwahn wrote: > We could play this game day in, day out for months or even > years, without having you grasp the basics necessary to > fully understand the implications of even moderately > sophisticated C programs. This discussion is

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

2016-06-14 Thread Steve Litt
On Tue, 14 Jun 2016 15:51:23 +0200 Edward Bartolo wrote: > Hi, > > I am trying to implement a small shell script to serve as an init but > I am failing to find C equivalent functions to wait(int) and > fork(void). These two functions are essential to create an init as >

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

2016-06-14 Thread Steve Litt
Edward, please comment the daylights out of it. Your shellscript might be used for education, proof of concept, and propaganda for years to come. If your shellscript had existed in the fall of 2014, I would have tried it before I tried Felker. SteveT On Tue, 14 Jun 2016 13:16:03 +0200 Edward

Re: [DNG] Installer Devuan Jessie 1.0 fails

2016-06-14 Thread Florian Zieboll
On Tue, 14 Jun 2016 14:50:55 +0200 wrote: > Hi all. > > I have an urgent problem with the Devuan Jessie 1.0 installer: > > When it comes to install the basic system at a certain point the > installation stops with an error. On console 4 i see the following > error msg: >

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 13:08:59 +0200, Edward Bartolo wrote: [...] > Now I would like to ask what is the need of the fork() call in > Felker's code. Yes, I know, it creates a child that continues > execution just after the fork call. [...] > I checked with XFCE4 loaded how many instances of

[DNG] Installer Devuan Jessie 1.0 fails

2016-06-14 Thread emninger
Hi all. I have an urgent problem with the Devuan Jessie 1.0 installer: When it comes to install the basic system at a certain point the installation stops with an error. On console 4 i see the following error msg: . dpkg: error processing package rsyslog (--configure): dependency problems

Re: [DNG] [BUG] unresolved dependencies for qemu-system-* in ascii

2016-06-14 Thread Jaromil
On Tue, 14 Jun 2016, KatolaZ wrote: > Is there anything I can do to solve the problem? I relly need > qemu-system-*, for several reasons, I would not like to have it > compiled from scratch and installed without a prope .deb, and I > would stay on ascii to help reporting issues like this :) this

[DNG] [BUG] unresolved dependencies for qemu-system-* in ascii

2016-06-14 Thread KatolaZ
Hi all, just to report that qemu-system-* is not installable in ascii, since there are a few unmet dependencies, namely: The following packages have unmet dependencies: qemu-system-x86 : Depends: libiscsi2 (>= 1.10.0) but it is not installable Depends: libpng12-0 (>=

Re: [DNG] package request

2016-06-14 Thread Florian Zieboll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tue, 14 Jun 2016 02:04:08 -0400 (EDT) Peter Olson wrote: > > On June 14, 2016 at 1:43 AM Irrwahn wrote: > > > > On Tue, 14 Jun 2016 00:37:59 -0400 (EDT), Peter Olson wrote: > > > > [About possible

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

2016-06-14 Thread Edward Bartolo
Hi, Since Felker's minimal init as coded in C works, I will now try to implement it in /bin/sh script, hopefully. If it works as intended, I will post the resulting script. Edward On 14/06/2016, Edward Bartolo wrote: > Hi, > > I wrote a small shell script, nothing special,

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

2016-06-14 Thread Edward Bartolo
Hi, I wrote a small shell script, nothing special, mind you, that calls rc S and then rc 2 if rc S is successful. With Felker's minimal init, which I edited to call my script version, I was able to load a useable XFCE4 session through which I am sending this email. I am attaching both Felker's C

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

2016-06-14 Thread KatolaZ
On Tue, Jun 14, 2016 at 12:13:12PM +0200, Irrwahn wrote: [cut] > > Well, I was thinking about being able to shutdown or > reboot the machine by sending signals to PID1. I am > however aware it's debatable if that can still be > considered a sane concept in the 21st century. > > And TBH,

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 11:20:25 +0200, Edward Bartolo wrote: > On 14/06/2016, Irrwahn wrote: >> On Tue, 14 Jun 2016 10:47:02 +0200, Edward Bartolo wrote: >>> With some code editing to load a shell using the command system(), I >>> finally am using Felker's minimal init. [...]

Re: [DNG] LXC template for Devuan

2016-06-14 Thread Simon Walter
Hi Greg, I've read had a look and a test. Please see my ramblings below. I am in no hurry. So please take your time. ;) On 06/14/2016 10:02 AM, Greg Olsen wrote: On 2016-06-14 00:39, Simon Walter wrote: > Well, maybe I didn't say it correctly. Is there already a devuan-keyring > package

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

2016-06-14 Thread Edward Bartolo
Hi, On 14/06/2016, Irrwahn wrote: > On Tue, 14 Jun 2016 10:47:02 +0200, Edward Bartolo wrote: >> Hi, >> >> With some code editing to load a shell using the command system(), I >> finally am using Felker's minimal init. In fact, I am posting this >> through XFCE4 using

Re: [DNG] LXC template for Devuan

2016-06-14 Thread Greg Olsen
Hi Folks, The lxc-devuan README is now updated to contain the LXC testing coverage to this point: Test Machine Specs / LXC Version Coverage LXC versions tested: * LXC 1.1.5 on my Workstation/Laptop o Devuan Ceres o Devuan Jessie o Devuan Jessie (32-bit) * Nested LXC

Re: [DNG] package request

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 04:15:00 -0400, Hendrik Boom wrote: > On Tue, Jun 14, 2016 at 08:37:29AM +0200, Irrwahn wrote: >> On Tue, 14 Jun 2016 02:04:08 -0400 (EDT), Peter Olson wrote: >>> On June 14, 2016 at 1:43 AM Irrwahn wrote: On Tue, 14 Jun 2016 00:37:59 -0400 (EDT),

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 09:33:59 +0200, Irrwahn Grausewitz wrote: [Sorry for piggy-backing on my own post here.] Just for the fun of it, here's a more elaborate discussion of Felker's minimal init code: > #define _XOPEN_SOURCE 700 > #include > #include Add #include here to satisfy the

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

2016-06-14 Thread Steve Litt
On Tue, 14 Jun 2016 08:54:12 +0200 Edward Bartolo wrote: > According to my logic the endless loops should be at the > end rather than at the middle of the code. You need to write several programs using fork(). After a call to fork(), there are two copies of that same program

Re: [DNG] package request

2016-06-14 Thread Hendrik Boom
On Tue, Jun 14, 2016 at 08:37:29AM +0200, Irrwahn wrote: > On Tue, 14 Jun 2016 02:04:08 -0400 (EDT), Peter Olson wrote: > > On June 14, 2016 at 1:43 AM Irrwahn wrote: > >> On Tue, 14 Jun 2016 00:37:59 -0400 (EDT), Peter Olson wrote: > >>> > >>> This is why there is Iceweasel

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

2016-06-14 Thread Didier Kryn
Le 14/06/2016 10:11, Steve Litt a écrit : >With all the due respect, anyone can put a few lines in a shell script >or in a C code to create two devices and call rc. But we should be >honest and tell Bartolo, and anybody else willing to go down this >path, that this is not exactly "making a

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

2016-06-14 Thread Steve Litt
On Tue, 14 Jun 2016 08:54:12 +0200 Edward Bartolo wrote: > Hi, > > I downloaded and compiled Felker's minimal init but found it didn't > work. Examining the code it seems that the website had been > vandalised. According to my logic the endless loops should be at the > end

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

2016-06-14 Thread Steve Litt
On Tue, 14 Jun 2016 05:44:27 +0100 KatolaZ wrote: > On Mon, Jun 13, 2016 at 09:37:11PM -0400, Steve Litt wrote: > > [cut] > > > > > Right now, Felker's PID1 is the acknowledged "Hello World" PID1. > > But as I remember you have to add an #include to get it to work with >

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

2016-06-14 Thread Didier Kryn
Le 14/06/2016 08:54, Edward Bartolo a écrit : Hi, I downloaded and compiled Felker's minimal init but found it didn't work. Examining the code it seems that the website had been vandalised. According to my logic the endless loops should be at the end rather than at the middle of the code.

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

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 08:54:12 +0200, Edward Bartolo wrote: > Hi, > > I downloaded and compiled Felker's minimal init but found it didn't > work. Examining the code it seems that the website had been > vandalised. Assuming you are referring to the code quoted below: No, it's the correct version,

Re: [DNG] package request

2016-06-14 Thread Didier Kryn
Le 14/06/2016 01:34, dev1fanboy a écrit : I have heard Debian will follow the ESR releases (even in stable) so avoiding any of that whilst having a non chrom(e|ium) browser will be harder if that's true. Actually, if you apt-get upgrade Devuan Jessie now, it will replace Iceweasel

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

2016-06-14 Thread Edward Bartolo
Hi, I downloaded and compiled Felker's minimal init but found it didn't work. Examining the code it seems that the website had been vandalised. According to my logic the endless loops should be at the end rather than at the middle of the code. Furthermore, the code seems to first block signals

Re: [DNG] package request

2016-06-14 Thread Irrwahn
On Tue, 14 Jun 2016 02:04:08 -0400 (EDT), Peter Olson wrote: > On June 14, 2016 at 1:43 AM Irrwahn wrote: >> On Tue, 14 Jun 2016 00:37:59 -0400 (EDT), Peter Olson wrote: >>> >>> This is why there is Iceweasel instead of Firefox. >> >> Not anymore. It's plain "firefox" from

Re: [DNG] package request

2016-06-14 Thread Peter Olson
> On June 14, 2016 at 1:43 AM Irrwahn wrote: > > On Tue, 14 Jun 2016 00:37:59 -0400 (EDT), Peter Olson wrote: > > [About possible branding issues for a hypothetical > future Pale Moon package in De(vu|bi)an.] > > > This is why there is Iceweasel instead of Firefox. > >