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] [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] [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] [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