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

Re: Automatic start of daemons



Florian Lohoff <flo@rfc822.org> writes:

> Hi,
> i have written an automated installation very much like the Solaris
> Jumpstart for Debian/GNU/Linux. Basically it works by taking
> the base.tgz extracting it to a partition it created from a config
> and then installing a configurable number/types of packages into that
> root. It all does this in a chroot environment. For all packages
> currently not debconfed i am using some kind of wrapper working around
> the different problems. (Questions, Reading for non existant STDIN/OUT 
> replacement devices etc). Another problem now is that after the installation
> i end up with a couple of daemons running twice. Once in my running
> NFS-Root Debian installation and once in the chroot jail. Daemons binding
> to a specific port normally fail but some are running keeping the filesystems
> busy and producing arbitrary bugs/output for errors they see.
> 
> I feel this is a very ugly solution so i would like to have a default
> way of telling the packages not to start their whatever daemon on installation.

The solution (hack?) used by the boot-floppies is to replace
start-stop-demon for the installation.

Not realy nice but working.

Anything better come up?

MfG
        Goswin



Reply to: