the user service DOES work on EL and clones, here is how #2984
mailinglists35
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
contrary to documentation I am able to start the user service on OL9
the thing is you have to enter the user that runs/owns the files via
machinectl
instead ofsudo/su/runuser/pkexec
(a trick learned from podman to correctly enter the environment to interact with it) and enable linger for that user before thatjournalctl will NOT work via machinectl one liner, you would have to enter the shell first via machinectl - or - hack via systemd-run:
$ sudo systemd-run --machine=onedrive@ --quiet --user --collect --pipe --wait bash -c 'journalctl -S today --no-pager --no-hostname --user -f'
what is annoying but not putting resources into find out why, is that on OL9:
Beta Was this translation helpful? Give feedback.
All reactions