Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I can't reproduce the error you are showing when using a .mount unit. systemctl --user start ... and stop both works as expected, mounting and unmounting the remote directory. systemd 248.3 here, using a testing unit almost identical to your home-stew-shared.mount. The .mount unit is also successfully started when the user logs in, though it is not stopped automatically when the user logs out (and hence their session is kept active; but I only tried logging in/out through SSH). Commented May 24, 2021 at 17:05
  • I'm on 247.3. It seems unlikely to be caused by differences in versions. It's the stopping I'm having problems with. Thanks for letting me know you can't reproduce it, that means it could work and I just need to keep looking. Commented May 24, 2021 at 17:13
  • 1
    “User-space” usually means something quite different ;-). Commented May 24, 2021 at 19:15