Here is a more complete log excerpt for v228 (full log attached)

> Dez 20 01:27:42 debian systemd[1]: -.mount: Changed dead -> mounted
> Dez 20 01:27:42 debian systemd[1]: usr.mount: Changed dead -> mounted
> Dez 20 01:27:42 debian systemd[1]: usr.mount: Unit is bound to inactive unit 
> dev-sda5.device. Stopping, too.
> Dez 20 01:27:42 debian systemd[1]: usr.mount: Trying to enqueue job 
> usr.mount/stop/fail
> Dez 20 01:27:42 debian systemd[1]: usr.mount: Installed new job 
> usr.mount/stop as 1
> Dez 20 01:27:42 debian systemd[1]: usr.mount: Enqueued job usr.mount/stop as 1
> Dez 20 01:27:42 debian systemd[1]: dev-sda1.device: Changed dead -> tentative
> Dez 20 01:27:42 debian systemd[1]: -.slice changed dead -> active
> Dez 20 01:27:42 debian systemd[1]: dev-sda5.device: Changed dead -> tentative
> Dez 20 01:27:42 debian systemd[1]: init.scope changed dead -> running
> Dez 20 01:27:42 debian systemd[1]: Activating default unit: default.target
> Dez 20 01:27:42 debian systemd[1]: graphical.target: Trying to enqueue job 
> graphical.target/start/isolate
> Dez 20 01:27:42 debian systemd[1]: display-manager.service: Cannot add 
> dependency job, ignoring: Unit display-manager.service failed to load: No 
> such file or directory.
> Dez 20 01:27:42 debian systemd[1]: usr.mount: Job usr.mount/stop finished, 
> result=canceled

So in my case the stop request is cancelled, probably because the state
has changed from dead to tentative quickly enough. So this looks like a
race indeed.

I also tested v227 and it shows exactly the same behaviour. So this
issue has been lurking for a while (see attached journal) it seems.
My guess is that it goes way back until [1] or even [2].

So the best guess is that the timing in v228 changed a little (some code
paths became faster). This would confirm Frank's findings that enabling
verbose output (which slows down boot a bit) made it less likely to hit.

Martin has been working/debugging the tentative stuff in the past, so
maybe he has some insights here.

We should probably also involve upstream at some point.


[1] https://github.com/systemd/systemd/commit/f620094
[2] https://github.com/systemd/systemd/commit/628c89c

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: journal-228.xz
Description: application/xz

Attachment: journal-227.xz
Description: application/xz

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to