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

Re: Perl postinst script running external commands



Hi,

Joey Hess:
> Matthias Urlichs wrote:
> > IMHO it's a good reason for not mixing configuration with execution,
> > and it's an even better reason for fixing a bug in DebConf. Specifically,
> > setting the Close-On-Exec flag on the file descriptor(s) which represent
> > the DebConf protocol will prevent all these problems from occurring.
> 
> So tell me how to do it from a shell script and I will do so gladly.
> 
If all else fails, you can run a second program which creates your
configuration. Close-on-Exit. ;-)

Otherwise, if the shell functions for debconf don't provide a way to
explicitly send a STOP and close the connection (I don't know offhand),
that's a bug.

-- 
Matthias Urlichs     |     noris network AG     |     http://smurf.noris.de/



Reply to: