Re: [DNG] ideas for system startup

2015-08-08 Thread Rainer Weikusat
> On Fri, Aug 07, 2015 at 01:58:19PM +0100, Rainer Weikusat wrote: [...] >> The general idea would be >> >> 1) Keep a relatively simple init which kicks off execution of commands in >>response to 'change the system state' request and nothing else (get >>rid of as much of /etc/inittab as

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-08 Thread karl
Steve Litt: ... > /etc/inittab is unique to sysvinit and OpenRC (which uses sysvinit as > PID1). If we're ever forced to move to another (besides systemd) init, > we won't have /etc/inittab either, but we'll still be able to do > everything we did with sysvinit, just differently. ... busybox init

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-08 Thread Steve Litt
On Fri, 7 Aug 2015 17:06:14 -0700 Gregory Nowak wrote: > This is something that systemd did, and one of the things about it > that really ticked me off. Let me provide a couple of examples: > > 1. One of the things I did when playing with debian jessie was to > install a virtual machine which w

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-07 Thread T.J. Duchene
On Friday, August 07, 2015 06:13:10 PM Gregory Nowak wrote: > > I actually don't mind dropping gnome. It does depend on systemd by > defacto, and is bulky. I did try xfce in a fresh install of debian > jessie, and found it gave me speech when I rebooted after the > install. I'm sorry, I don't k

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-07 Thread Gregory Nowak
On Fri, Aug 07, 2015 at 07:53:37PM -0500, T.J. Duchene wrote: > =( Bummer! > > There must be a way to get what you want, although I honestly do not know > enough about systemd to help you out. Like yourself, I am more familiar with > the System 5 way of doing things. > > Wish I could be mor

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-07 Thread T.J. Duchene
On Friday, August 07, 2015 05:46:00 PM Gregory Nowak wrote: > > I also did do an aptitude search sysv when I had debian jessie freshly > installed, but didn't get a match. If I could have installed sysvinit > or sysvinit-core in a fresh installed, I might have tried that just to > see what I got.

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-07 Thread Gregory Nowak
On Fri, Aug 07, 2015 at 07:25:50PM -0500, T.J. Duchene wrote: > I am just curious, but did you try installing sysvinit and systemd-shim? > Theoretically, it should give you System 5 startup and shutdown, while > keeping > compatibility with things that depend on systemd, like Gnome. No. If it

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-07 Thread T.J. Duchene
On Friday, August 07, 2015 05:06:14 PM Gregory Nowak wrote: > 2. I want ctrl+alt+del to do shutdown -h, instead of shutdown -r > (another real use case on another virtual system). I couldn't figure > out a way to do this in debian jessie. > > Now, what you proposed above from what I understand s

Re: [DNG] ideas for system startup (was: Init scripts in packages)

2015-08-07 Thread Gregory Nowak
On Fri, Aug 07, 2015 at 01:58:19PM +0100, Rainer Weikusat wrote: > As someone else pointed out, the control flow code could be abstracted > away into some kind of 'universal init script' and individual ones would > just need to define the start and stop commands. And there's nothing > horrible abou

Re: [DNG] ideas for system startup

2015-08-07 Thread Go Linux
Good grief . . . this is turning into some sort of battle of the titans . . . would be nice to take the egos down a notch . . . On Fri, 8/7/15, Rainer Weikusat wrote: Subject: Re: [DNG] ideas for system startup To: dng@lists.dyne.org Date: Friday

Re: [DNG] ideas for system startup

2015-08-07 Thread Rainer Weikusat
Laurent Bercot writes: [...] >> 1) Keep a relatively simple init which kicks off execution of commands in >> response to 'change the system state' request and nothing else (get >> rid of as much of /etc/inittab as possible at some point in time) [...] > You keep hammering that down a

Re: [DNG] ideas for system startup

2015-08-07 Thread Laurent Bercot
On 07/08/2015 14:58, Rainer Weikusat wrote: There's obviously a TOCTOU race here because "A is ready now" doesn't mean "A is still ready" at any later time. Of course. That's why you need a supervisor to receive death notifications and publish them to whomever subscribes. If there's somethi