[RFE] IPC aliases
kgaillot opened this issue · 3 comments
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 :)
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.