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

Re: Problem with crash post-install [ was: Update or reinstall ]



On Thu 29 Jul 2021 at 18:09:51 (+0200), Marco Möller wrote:
> On 29.07.21 12:52, Polyna-Maude Racicot-Summerside wrote:
> > I'm really asking why do it 3 time.
> > In case it came back to the prompt *before* finishing to do it's job ?
> > (...)
> Misunderstanding: I wanted to suggest to run a "sudo sync" (1) before
> and (2) after the update and (3) before the system shutdown, in order
> to exclude that data wasn't fully written to disk at possible critical
> moments. This in total are three different situations when I suggest
> to run the sync command, and in all this three different situations it
> shall be run, thus running it three times (in total three times, not
> triple repeated in one of the situations).

It doesn't actually matter in the first two cases whether the data has
been written to the device itself, as the filesystem access methods
won't allow you to read from the device, but you will receive the
up to date buffer contents instead.

> By the way, running it as "sudo" is not harming and makes sure that
> everything is written to disk without having to know if the sync
> command would behave different with and without the sudo.

You're presupposing that everyone is using the same superuser access
method. Many people will merely get the response:

$ sudo sync
Sorry, user foo is not allowed to execute '/usr/bin/sync' as root on bar.
$ 

> The point
> is, you want to debug a situation, you want to find out why an update
> is failing so severely and not reported to fail like this elsewhere,
> and sudo will not harm for this purpose while not using sudo could
> have left doubts if really all is written to disk - pragmatically
> focusing on problem solving without maybe producing more problems and
> without loosing time to construct a most elegant version of problem
> solving. Just get the problem solved!
> I am curious to read if the "sudo sync" runs solved the update problem.

I realise that we're not all receiving posts from Gunnar, but do we
actually know what the "update problem" is?

I recall:
https://lists.debian.org/debian-user/2021/07/msg01003.html
Is this the origin of the system under discussion?

Or is this?
https://lists.debian.org/debian-user/2021/07/msg00945.html

Then we have:
https://lists.debian.org/debian-user/2021/07/msg01167.html
Do we know what is meant by "crashing"?

In between, we have snippets on Grub, bash, busybox, keyboards,
root partition flags, and more; none of it in a coherent thread.
Quite honestly, I don't know where syncing the filesystem comes in.
Why not just touch wood.

Cheers,
David.


Reply to: