On Sat, 2021-03-13 at 08:49 -0500, Jonathan Billings wrote: > On Mar 12, 2021, at 19:05, Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote: > > > > I don't think systemd was meant to solve these sorts of issues > > Honestly, systemd is more equipped to handle this kind of issue than any init system before it. Being able to attach dependencies in a .mount unit to a .service unit is something that would have required a bunch of hacks or the autofs service. > > I use a network filesystem every day that has a .mount unit that requires a .service to be launched before it can be mounted (kAFS, see kafs-utils package). It isn’t as complicated as the usb power on/off, but not outside of the realm of possibility. I assume you mean kafs-client (there is no kafs-utils in the standard repo). I'll have a look at that as a model. poc _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure