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

Re: set +e before executing scripts in pre/postinst scripts?



Hi,
>>"Martin" == Martin Schulze <joey@finlandia.Infodrom.North.DE> writes:

 Martin> Due to bash bug #23857, the installation of several daemon packages
 Martin> will fail if `set -a' or `set -o allexport' has been used in the root
 Martin> shell that executes dpkg.

 Martin> Francesco Potorti` proposed to to make the pre- and post- installation
 Martin> scripts set "+e" before executing a subscript.

 Martin> Can this please be discussed here and perhaps made policy?

	Ian has already objected to this, and I add my voice to
 his. If this is a bug in bash, this should be fixed. Under no
 circumstances should policy dictate ugly kludges to work around bugs
 in a package.

	In other words, I object strongly to this being put in
 policy. 

	manoj
-- 
 From Sharp minds come... pointed heads. Bryan Sparrowhawk
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


Reply to: