severity 550099 important
thanks

On 2009-10-12 19:20 +0200, Sven Joachim wrote:

> On 2009-10-08 19:55 +0200, Petter Reinholdtsen wrote:
>
>> [Gábor Gombás]
>>> I'm using Sid with daily updates, and ever since readahead gained
>>> trigger support, it now re-generates the boot profiles every day.
>>> So readahead no longer speeds up the boot process but rather slows
>>> it down significantly.
>>
>> This sound like a bug.  The trigger was intended to only trigger when
>> a new package affecting the boot system is installed, and I guess you
>> do not do that every day.
>
> As Gábor already stated, this also happens during upgrades whenever a
> package changes its init script, and that is something which happens a
> lot in unstable.

It is even worse than that.  The readahead trigger is also activated if
a package shipping an init script is merely upgraded without changing
the script.  That is because the postinst call to update-rc.d apparently
runs insserv which in turn recomputes /etc/init.d/.depend*.  Argh!

>>> Please add a configuration option to turn the trigger off or at
>>> least limit its activation to say once per month.
>>
>> Adding some time limitation sound like a good idea, yeah.  Looking at
>> the age of the files in /etc/readahead/ and not trigger if the files
>> are less then X days could do the trick.
>
> Sounds like a good idea.  The current situation where every other boot
> is profiled is totally unacceptable for me.

Having waited more than two minutes for the last boot again, I have now
edited /var/lib/dpkg/info/readahead.postinst and commented out the
"touch /etc/readahead/profile-once" call in line 32.  The constant
profiled boots had become too painful, please fix this in the next
upload.

Sven



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to