tisdag den 22 december 2009 klockan 16:33 skrev Francesco P. Lovergine detta:
> On Tue, Dec 22, 2009 at 04:02:54PM +0100, Mats Erik Andersson wrote:
> > 
> > The init-script installed with proftpd-basic is not able
> > to properly detect the use of xinetd as superserver.
> > 
> 
> I see one problem if xinetd is removed but not purged, because its 
> configuration
> scripts will be still around. I'm currently inclined into adding an external
> script to manage inet/xinetd configuration at admin choice. I'm still thinking
> about that, but I'm definitively not inclined to add yet some other weak
> autodetection capability at configuration time, also because people
> could always change mind about configuration after installating.
> 

Two remarks:

   * 'proftpd-basic' depends on 'xinetd' or similar super server.
     Thus, try to remove Xinetd, and Proftpd-basic is also eliminated!

   * A detection mechanism in the init-script:

     if  """proftpd is present in configfiles for inetd or xinetd"""
     then
         RUN="no"
         if  which inetd >/dev/null || which xinetd >/dev/null
         then
            INETD="yes"
         else
            INETD="no"
         fi
     else
         ......
     fi

     This has better granularity than only counting dependencies
     and inspecting configuration files.

-- 
Mats Erik Andersson



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to