[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wrong configuration in daemon



The hypothetical one you mentioned: Let's say a daemon provides POP and IMAP

On Sun, Jun 16, 2013 at 08:57:44PM -0400, Istimsak Abdulbasir wrote:
> If the daemon is configured to restart the service, then it will fail to
> execute.
> 
> What daemon is servicing both POP and IMAP?
> On Jun 16, 2013 2:40 PM, "Luca Filipozzi" <lfilipoz@debian.org> wrote:
> 
> > On Sun, Jun 16, 2013 at 08:28:18PM +0200, Salvo Tomaselli wrote:
> > > I have a question concerning a bugreport I got, but that could be quite
> > > general.
> > >
> > > Let's say a daemon provides POP and IMAP, and is configured to provide
> > both,
> > > in a pop.conf and imap.conf.
> > >
> > > How should the daemon ideally fail in case one of the two configuration
> > files
> > > is incorrect but the other is fine?
> > >
> > > Should it log the situation and start the service that it's able to
> > start? Or
> > > should it just not start at all?
> >
> > If it's a single process that listens on two ports (POP & IMAP) then I
> > would
> > not start at all.
> >
> > A system administrator is likely to interpret that a running process
> > indicates
> > success start.  What would trigger him to check that the process is
> > listening
> > on both ports.
> >
> > Also, in the start up script, how would you indicate that the daemon is
> > 'half
> > started'.
> >
> > Hope this helps,
> >
> > Luca
> >
> > --
> > Luca Filipozzi
> > http://www.crowdrise.com/SupportDebian
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > Archive: [🔎] 20130616183946.GA4274@emyr.net">http://lists.debian.org/[🔎] 20130616183946.GA4274@emyr.net
> >
> >

-- 
Luca Filipozzi
http://www.crowdrise.com/SupportDebian


Reply to: