Bug#941758: systemd: StopWhenUnneeded has stopped working for a mount unit

Jonathan Dowland jon at dow.land
Mon Oct 7 09:29:51 BST 2019


On Sat, Oct 05, 2019 at 02:20:48AM +0200, Michael Biebl wrote:
>Do you know about automount units?
>They would be the perfect fit for your use case.

From what I understand they behave like pre-systemd automounting, that
is, any process that attempted to read/open /backup would cause it to be
mounted, and what I want is only for "blessed" services to do so.  So an
accidental rm -f / won't hit it (unless, in my current setup, a backup
is running. But I hope to find a better solution with mount namespaces).

>I could reproduce the behaviour with v241 for a .mount unit but not a
>.service unit.

Excellent, thanks!

>Upgrading to buster, i.e. v242, I could no longer reproduce the issue,
>so closing the bug report for 242-7, the current version in buster.

Buster (stable) has v241. 

Are you likely to do a backport of ≥ v242 in Buster's lifetime?

Alternatively, assuming a reasonable patch can be extracted from
v241..v242, what is the likelyhood of accepting a patch in stable
updates for this issue?


Thanks,

-- 
👱🏻	Jonathan Dowland
✎	    jon at dow.land
🔗	https://jmtd.net



More information about the Pkg-systemd-maintainers mailing list