Fabian Vogt changed bug 1231199
What Removed Added
Flags   needinfo?(iforster@suse.com)

Comment # 12 on bug 1231199 from Fabian Vogt
(In reply to Alberto Planas Dominguez from comment #11)
> (In reply to Franck Bui from comment #10)
> > (In reply to Alberto Planas Dominguez from comment #8)
> > > (Sharing via internal channel)
> > 
> > Apparently the fact that systemd-udevd.service is stopped during the
> > shutdown process is due to this dropin (shipped by read-only-root-fs-1.0):
> 
> Good finding!
> 
> In MicroOS, when shutdown /etc still fails to umount, so I am not sure that
> this is fixing anything.

It did. It broke again meanwhile for some reason.

> My question for Fabian, do we still require it? If so, Ignaz, the
> reformulation that you are doing of /etc based on snapshots will allow the
> drop of this override?

Maybe. The main issue was that /etc needs /var, so before /var and /etc could
be unmounted, services like udevd had to be stopped.

The issue that /etc is a mountpoint still remains though, so without any
dependency of udevd on /etc it would still fail to unmount on shutdown. Maybe
we should just add DefaultDependencies=no and let the final systemd-shutdown
handle umounting.

> Franck, IIUC for this case a valid workaround would be add
> 
> [Unit]
> After=systemd-udevd.service
> 
> to systemd-cryptsetup@.service would be OK, or there is a nicer approach?


You are receiving this mail because: