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

[RFE] IPC aliases #395

Open
kgaillot opened this issue May 8, 2020 · 2 comments
Open

[RFE] IPC aliases #395

kgaillot opened this issue May 8, 2020 · 2 comments

Comments

@kgaillot
Copy link
Contributor

kgaillot commented May 8, 2020

Low priority, but would be convenient.

Pacemaker has three IPC names for its CIB daemon, "cib_ro", "cib_rw", and "cib_shm". This is largely for legacy reasons, and they could be combined into one. It would be nice to open just one server connection, and have libqb accept the other names as aliases for compatibility with existing clients.

This feature could also be used during a transition period when a project wants to rename an IPC server. Pacemaker could use this too since all its IPC names are the old daemon names (crmd, lrmd, etc.) that aren't otherwise used anymore and could be confusing in logs.

However nothing bad happens if this isn't implemented :)

@chrissie-c
Copy link
Contributor

An interesting idea. And it might not be that hard. The server passes the actual shm names back to the client after connect to the socket. I'll see what I can come up with and post some API ideas.

@chrissie-c
Copy link
Contributor

#401

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