Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flux exec should accept a hostlist #6287

Open
garlick opened this issue Sep 16, 2024 · 1 comment
Open

flux exec should accept a hostlist #6287

garlick opened this issue Sep 16, 2024 · 1 comment

Comments

@garlick
Copy link
Member

garlick commented Sep 16, 2024

Problem: flux exec only understands ranks.

It's useful for running systemd commands like

$ sudo flux exec -r42 systemctl --user list-units --type=service

but ranks are awkward (e.g. one must call flux overlay lookup <hostname>).

@grondo
Copy link
Contributor

grondo commented Sep 16, 2024

Another idea is to just make a flux systemctl wrapper that sets DBUS_SESSION_BUS_ADDRESS appropriately for the flux user so that it could be used locally without needing to run under flux exec (which may seem weird if you don't know why that's required).

However, I agree flux exec should take a hostlist, which is unrelated to the systemd issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants