Re: [DNG] [Dng] epoch feature request

2015-06-17 Thread Isaac Dunham
On Wed, Jun 17, 2015 at 09:21:03AM +0200, Anto wrote: > Hello Isaac, > > After reading http://sources.debian.net/src/dpkg/1.18.1/doc/triggers.txt/ > (over and over), it looks that dpkg-trigger is a better solution than > monitoring /etc/init.d using inotify(). However, I still fail to understand >

Re: [DNG] [Dng] epoch feature request

2015-06-17 Thread KatolaZ
On Wed, Jun 17, 2015 at 11:25:28AM -0400, Steve Litt wrote: [cut] > > What you say above is true. And what you say above is a catastrophe, > because sysvinit scripts are so crazy complicated that it's useless for > a mere mortal to understand them. The same is true of OpenRC init > scripts. May

Re: [DNG] [Dng] epoch feature request

2015-06-17 Thread Steve Litt
On Wed, 17 Jun 2015 09:09:32 + Roger Leigh wrote: > On 16/06/2015 19:47, Anto wrote: > > On 16/06/15 20:42, Roger Leigh wrote: > >> On 16/06/2015 18:14, Anto wrote: > >>> I was not really sure if script similar to update-rc.d would be > >>> relevant to epoch as the way the runlevel is being m

Re: [DNG] [Dng] epoch feature request

2015-06-17 Thread Anto
On 17/06/15 11:09, Roger Leigh wrote: On 16/06/2015 19:47, Anto wrote: Thanks a lot Roger for your explanation. However, I still fail understand how to implement what you explained without changing anything on any other packages that have daemons to be managed by epoch. As I mentioned on one

Re: [DNG] [Dng] epoch feature request

2015-06-17 Thread Roger Leigh
On 16/06/2015 19:47, Anto wrote: On 16/06/15 20:42, Roger Leigh wrote: On 16/06/2015 18:14, Anto wrote: I was not really sure if script similar to update-rc.d would be relevant to epoch as the way the runlevel is being managed in epoch is different from sysvinit. That is why I am looking for ot

Re: [DNG] [Dng] epoch feature request

2015-06-17 Thread Anto
On 16/06/15 20:14, Anto wrote: On 16/06/15 16:40, Isaac Dunham wrote: On Tue, Jun 16, 2015 at 11:09:43AM +0200, Anto wrote: On 16/06/15 10:58, Arnt Gulbrandsen wrote: Anto writes: Yes. I almost have everything to start trying to build epoch package, *except* one important point that I ha

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Isaac Dunham
On Tue, Jun 16, 2015 at 11:42:37AM -0400, Hendrik Boom wrote: > On Tue, Jun 16, 2015 at 07:40:18AM -0700, Isaac Dunham wrote: > > But watching for file creation seems like a case of refusing to work > > with the package manager. > > Not quite... it lets you reread them if the sysadmin moodifies th

Re: [DNG] epoch feature request

2015-06-16 Thread Isaac Dunham
On Tue, Jun 16, 2015 at 11:45:55AM -0400, Hendrik Boom wrote: > On Tue, Jun 16, 2015 at 05:34:49PM +0100, Arnt Gulbrandsen wrote: > > Anto writes: > > >So I am not really sure what you meant by "reading the new > > >directives at boot time". Which directive would that be, where is > > >it located a

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Anto
On 16/06/15 20:42, Roger Leigh wrote: On 16/06/2015 18:14, Anto wrote: I was not really sure if script similar to update-rc.d would be relevant to epoch as the way the runlevel is being managed in epoch is different from sysvinit. That is why I am looking for other options. update-rc.d is an

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Roger Leigh
On 16/06/2015 18:14, Anto wrote: I was not really sure if script similar to update-rc.d would be relevant to epoch as the way the runlevel is being managed in epoch is different from sysvinit. That is why I am looking for other options. update-rc.d is an *interface* to update service registrati

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Anto
On 16/06/15 16:40, Isaac Dunham wrote: On Tue, Jun 16, 2015 at 11:09:43AM +0200, Anto wrote: On 16/06/15 10:58, Arnt Gulbrandsen wrote: Anto writes: Yes. I almost have everything to start trying to build epoch package, *except* one important point that I have been asking for. That is the me

Re: [DNG] epoch feature request

2015-06-16 Thread Anto
On 16/06/15 18:34, Arnt Gulbrandsen wrote: Anto writes: So I am not really sure what you meant by "reading the new directives at boot time". Which directive would that be, where is it located and which package provides that? You read things like # Provides and # Required-Start to gener

Re: [DNG] epoch feature request

2015-06-16 Thread Hendrik Boom
On Tue, Jun 16, 2015 at 05:34:49PM +0100, Arnt Gulbrandsen wrote: > Anto writes: > >So I am not really sure what you meant by "reading the new > >directives at boot time". Which directive would that be, where is > >it located and which package provides that? > > You read things like > > # Provid

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Hendrik Boom
On Tue, Jun 16, 2015 at 07:40:18AM -0700, Isaac Dunham wrote: > But watching for file creation seems like a case of refusing to work > with the package manager. Not quite... it lets you reread them if the sysadmon moodifies them. -- hendrik ___ Dng mail

Re: [DNG] epoch feature request

2015-06-16 Thread Arnt Gulbrandsen
Anto writes: So I am not really sure what you meant by "reading the new directives at boot time". Which directive would that be, where is it located and which package provides that? You read things like # Provides and # Required-Start to generate an Epoch configuration in /etc/epoch.co

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Isaac Dunham
On Tue, Jun 16, 2015 at 11:09:43AM +0200, Anto wrote: > > > On 16/06/15 10:58, Arnt Gulbrandsen wrote: > >Anto writes: > >>Yes. I almost have everything to start trying to build epoch package, > >>*except* one important point that I have been asking for. That is the > >>mechanism to trigger an ac

Re: [DNG] [Dng] epoch feature request

2015-06-16 Thread Didier Kryn
Le 16/06/2015 11:09, Anto a écrit : Anto writes: Yes. I almost have everything to start trying to build epoch package, *except* one important point that I have been asking for. That is the mechanism to trigger an action to automatically update epoch.conf and start the daemon when we install al

Re: [DNG] epoch feature request

2015-06-16 Thread Anto
On 16/06/15 12:27, Arnt Gulbrandsen wrote: Come to think of it... If you read init.d anyway, why not read it at boot time if a new directive is set, e.g. apply-lsb-instructions=true? Arnt Thanks a lot Arnt, Please do not assume that I am a hardcore programmer or a hardcore UNIX/Linux admi

Re: [DNG] epoch feature request

2015-06-16 Thread Arnt Gulbrandsen
Come to think of it... If you read init.d anyway, why not read it at boot time if a new directive is set, e.g. apply-lsb-instructions=true? Arnt ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [Dng] epoch feature request

2015-06-16 Thread Anto
On 16/06/15 10:58, Arnt Gulbrandsen wrote: Anto writes: Yes. I almost have everything to start trying to build epoch package, *except* one important point that I have been asking for. That is the mechanism to trigger an action to automatically update epoch.conf and start the daemon when we i

Re: [Dng] epoch feature request

2015-06-16 Thread Arnt Gulbrandsen
Anto writes: Yes. I almost have everything to start trying to build epoch package, *except* one important point that I have been asking for. That is the mechanism to trigger an action to automatically update epoch.conf and start the daemon when we install all packages with daemons that need to

Re: [Dng] epoch feature request

2015-06-16 Thread Anto
On 16/06/15 02:10, Steve Litt wrote: On Mon, 15 Jun 2015 22:48:00 +0200 Anto wrote: I am not entirely sure what would happen if we purged sysvinit to replace it with epoch, whether those packages will still generate their specific scripts on /etc/init.d when we install them under epoch or no

Re: [Dng] epoch feature request

2015-06-15 Thread Steve Litt
On Mon, 15 Jun 2015 22:48:00 +0200 Anto wrote: > I am not entirely sure what would happen if we purged sysvinit to > replace it with epoch, whether those packages will still generate > their specific scripts on /etc/init.d when we install them under > epoch or not. If they would still generate t

Re: [Dng] epoch feature request

2015-06-15 Thread Anto
On 15/06/15 16:23, Steve Litt wrote: On Mon, 15 Jun 2015 08:42:53 +0200 Anto wrote: On 15/06/15 02:41, Steve Litt wrote: On Mon, 15 Jun 2015 00:36:34 +0200 Anto wrote: There is one thing that annoys me due to epoch only has a singe configuration file. I think you have done a lot more r

Re: [Dng] epoch feature request

2015-06-15 Thread Steve Litt
On Mon, 15 Jun 2015 08:42:53 +0200 Anto wrote: > > > On 15/06/15 02:41, Steve Litt wrote: > > On Mon, 15 Jun 2015 00:36:34 +0200 > > Anto wrote: > > > > > >> There is one thing that annoys me due to epoch only has a singe > >> configuration file. I think you have done a lot more research on >

Re: [Dng] epoch feature request

2015-06-14 Thread Anto
On 15/06/15 02:41, Steve Litt wrote: On Mon, 15 Jun 2015 00:36:34 +0200 Anto wrote: There is one thing that annoys me due to epoch only has a singe configuration file. I think you have done a lot more research on epoch so perhaps you could answer this. Is there any mechanism to automaticall

Re: [Dng] epoch feature request

2015-06-14 Thread Steve Litt
On Mon, 15 Jun 2015 00:36:34 +0200 Anto wrote: > There is one thing that annoys me due to epoch only has a singe > configuration file. I think you have done a lot more research on > epoch so perhaps you could answer this. Is there any mechanism to > automatically manage applications that we wa

Re: [Dng] epoch feature request

2015-06-14 Thread Anto
On 14/06/15 23:19, Steve Litt wrote: On Sun, 14 Jun 2015 22:39:51 +0200 Anto wrote: On 14/06/15 21:43, Steve Litt wrote: On Sun, 14 Jun 2015 18:18:48 +0200 Anto wrote: And the second one is I would like to be able to easily switch back and forth between epoch and sysvinit for testing pur

Re: [Dng] epoch feature request

2015-06-14 Thread Steve Litt
On Sun, 14 Jun 2015 22:39:51 +0200 Anto wrote: > > > On 14/06/15 21:43, Steve Litt wrote: > > On Sun, 14 Jun 2015 18:18:48 +0200 > > Anto wrote: > >> And the second one > >> is I would like to be able to easily switch back and forth between > >> epoch and sysvinit for testing purpose, so that

Re: [Dng] epoch feature request

2015-06-14 Thread Anto
On 14/06/15 21:43, Steve Litt wrote: On Sun, 14 Jun 2015 18:18:48 +0200 Anto wrote: The main reasons I am looking for Debian build script are that, first of all I want to learn a lot more about packaging. I think you're going to have to *create* that Debian build script. I fear it doesn'

Re: [Dng] epoch feature request

2015-06-14 Thread Steve Litt
On Sun, 14 Jun 2015 18:18:48 +0200 Anto wrote: > The main reasons I am looking for Debian build script are that, first > of all I want to learn a lot more about packaging. I think you're going to have to *create* that Debian build script. I fear it doesn't exist. > And the second one > is I

Re: [Dng] epoch feature request

2015-06-14 Thread Anto
On 14/06/15 17:34, Steve Litt wrote: On Sun, 14 Jun 2015 09:57:12 +0200 Anto wrote: On 13/06/15 23:35, Hendrik Boom wrote: The maintainer of epoch has just asked for feature requests. http://linux.slashdot.org/story/15/06/13/198222/ask-slashdot-feature-requests-for-epoch-init-system-130 -

Re: [Dng] epoch feature request

2015-06-14 Thread Steve Litt
On Sun, 14 Jun 2015 09:57:12 +0200 Anto wrote: > > On 13/06/15 23:35, Hendrik Boom wrote: > > The maintainer of epoch has just asked for feature requests. > > > > http://linux.slashdot.org/story/15/06/13/198222/ask-slashdot-feature-requests-for-epoch-init-system-130 > > > > -- hendrik > > I alw

Re: [Dng] epoch feature request

2015-06-14 Thread Anto
On 13/06/15 23:35, Hendrik Boom wrote: The maintainer of epoch has just asked for feature requests. http://linux.slashdot.org/story/15/06/13/198222/ask-slashdot-feature-requests-for-epoch-init-system-130 -- hendrik I always want to try epoch init system since I read Steve's howto about it o

[Dng] epoch feature request

2015-06-13 Thread Hendrik Boom
The maintainer of epoch has just asked for feature requests. http://linux.slashdot.org/story/15/06/13/198222/ask-slashdot-feature-requests-for-epoch-init-system-130 -- hendrik ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bi