systemd randomly fails to activate mount units in Ubuntu Core 18
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
| Bionic |
New
|
Undecided
|
Unassigned | ||
Bug Description
Since a month or so, we've been seeing random failures in our snapd spread tests where systemd could not start the mount unit associated with a snap because of a failed dependency.
The issue is described in the comments to PR https:/
When starting a snap, snapd creates a mount unit to mount the snap's squashfs (the template is https:/
The failure we've observed is that sometimes systemd decides to stop our mount unit (search for "Unmounting Mount unit for test-snapd-
When I asked for help, Lukas pointed out that the latest update contains a patch that is related to reload handling and mount units: http://
Since the stopping of our mount unit happens immediately after a systemd reload, it actually seems very likely that the inclusion of f0831ed2a03fcef
Related branches
- Dan Streetman: Disapprove
-
Diff: 300 lines (+13/-35)3 files modifieddebian/changelog (+13/-0)
debian/patches/series (+0/-3)
dev/null (+0/-32)
| tags: | added: rls-jj-incoming |
| tags: | added: fr-1832 |
| tags: | removed: rls-jj-incoming |
| Changed in systemd (Ubuntu Bionic): | |
| assignee: | nobody → Lukas Märdian (slyon) |
| no longer affects: | systemd (Ubuntu Jammy) |
| Changed in systemd (Ubuntu Bionic): | |
| assignee: | Lukas Märdian (slyon) → nobody |
| Changed in systemd (Ubuntu): | |
| status: | New → Won't Fix |

Not having a reliable reproducer is always a tricky situation to be in...
Indeed that other commit might be related. I've backported the following patches and created a custom systemd build in https:/ /launchpad. net/~slyon/ +archive/ ubuntu/ lp1949089
https:/ /github. com/systemd/ systemd- stable/ commit/ cc6271f17d3c5c2 00e8a391f10d0af b71403fc28 /github. com/systemd/ systemd- stable/ commit/ 04eb582acc203ea b0bc5c2cc5e1398 6f16e09df0
https:/
Can you confirm that the problems you observed are gone using this systemd build?
There's also a custom UC18 image I assembled, that contains this version of systemd: https:/ /people. ubuntu. com/~slyon/ uc18/