[buildd-tools-devel] Bug#625205: Bug#625205: is there a way to automatically start services inside an schroot session?

Marc Haber mh+debian-bugs at zugschlus.de
Sat May 12 23:05:00 UTC 2012


On Mon, May 02, 2011 at 06:09:22PM +0100, Roger Leigh wrote:
> If limited to services, we could
> create a directory e.g. /etc/schroot/autorun and have files in
> there defining which services to run in which chroot, e.g.
> 
> [unstable]
>   postfix
>   postgresql-9.0
> 
> [unstable]
>   postgresql-8.3
> 
> [stable]
>   apache
> 
> as a simple example.  Any thought on what information is needed
> would be very useful.

I think it would be the best way to just have a variable containing a
list of services to start defined in the script-config file, and
optionally having a hook to automatically invoke a certain script
inside the chroot on session creation for more complex things.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062





More information about the Buildd-tools-devel mailing list