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

Bug#840268: apt-get update combined with dns problem is destroying filesystem.



Control: tags -1 moreinfo unreproducible

Hi,

On Mon, Oct 10, 2016 at 08:12:09AM +0200, Sylvain Labbe wrote:
> When using apt-get update while there is a temporary or permanent dns
> resolution problem due to an invalid configuration into /etc/resolv.conf

Please provide the EXACT command you are running and the configuration
you are using. "reportbug" would have collected this sort of information
automatically (with your input of course). You can use this tool also to
reply to bugreports.

Otherwise, run:
apt-config dump
cat /etc/apt/sources.list /etc/apt/sources.list.d/*
cat /etc/apt/preferences /etc/apt/preferences.d/*

Also look out for any other tools/scripts hooking incorrectly into apt
– I have a feeling one of them might run "amok" – or some other very
non-standard configuration.


> it will result in a corrupted filsystem (read only) or destroyed system at
> reboot.

I don't know what 'reboot' means here. It sounds like the system is in
perfectly fine order until you reboot… but apt isn't really involved in
a reboot, so… and running apt on a read-only filesystem seems also
strange given that apt is supposed to do things… are you perhaps in some
sort of rescue mode or how did you ended up with a read-only filesystem?


> occured on debian 7 and debian 8.

I have relatively frequent DNS issues myself and various reports about
the "wicked" messages apt shows in these cases indicate that others see
them too without their systems being destroyed. We even have testcases
playing with this sort of failure modes which are run on a few setups
and no broken system reported in that context either. So we will need
a hell of a lot more details… hence tagging as such.


> Now a little not about your reporting webpage which is *strongly*
> recommanding :
> 
> # apt-get install reportbug
> 
> in this case it will ask for an apt-update which will destroy the system,
> without a chance to report anything.

Well, if the bug would have involved your webbrowser instead, how would
you have visited the webpage? If a bug effects central parts of the
infrastructure its always more problematic than a bug in leaf package…
the hope is that such bugs are unlikely enough that we don't have to
base our bugreporting system on handwritten notes and carrier pigeons.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: