Re: calling maintainer scripts with a clean environment?
Evgeni Golov <evgeni@golov.de> wrote:
["eatmydata apt-get upgrade" propagates to daemons re-started by
maintainerscripts ]
> While pimping invoke-rc.d sounds like a good idea (and should be done),
> I'd prefer the postrm pg_dump that is called from dbconfig-common not to
> be executed with eatmydata either. Or with something else that is
> preciously hidden in some LD_PRELEOAD.
> My examples were init-specific, yeah. But IMHO this should apply for
> everything called via maintainer scripts.
Hello,
I tend to disagree here. If I use
eatmydata apt-get upgrade
I will expect that *any* IO-intensive part of the upgrade process uses
eatmydata and not just dpkg.
OTOH I only do this for chroots, without any important data and
without running daemons.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply to: