Reading Major's blog post on quadlet use with FCOS makes me think we have room for improvement to add some sugar for systemd --user. This is a killer way to run unprivileged container workloads and it would be nice to support specific users and the more global, administrative /etc/systemd/user/ section.
Has this come up before, and if not do you think this is worth adding? Sure, it's mostly possible today using files: but I think the native systemd: section would make it a much better user experience.
I think for per user support something like this could work for the spec (this is just chicken scratch)
systemd-user
- user (string) user name (must be defined in the user section)
- linger (boolean)
- units (repeat the regular systemd section)
maybe if the individual user is left out, the global location could be used.
Thoughts?
Reading Major's blog post on quadlet use with FCOS makes me think we have room for improvement to add some sugar for systemd --user. This is a killer way to run unprivileged container workloads and it would be nice to support specific users and the more global, administrative /etc/systemd/user/ section.
Has this come up before, and if not do you think this is worth adding? Sure, it's mostly possible today using files: but I think the native systemd: section would make it a much better user experience.
I think for per user support something like this could work for the spec (this is just chicken scratch)
systemd-user
maybe if the individual user is left out, the global location could be used.
Thoughts?