Mir

test servers should have commandline option for socket owner

Bug #1398039 reported by Allison Karlitskaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Wishlist
Alan Griffiths

Bug Description

Another bug from the "requested in person a few times but never written down" category:

Until bug 1398038 is fixed, it would be really helpful if we had command line switches that we could give to the mir server to:

 - change the ownership of the created socket

and

 - change its location

The goal here would be to be able to create a socket owned by my primary user and in its XDG_RUNTIME_DIR. From that standpoint, there could even be a single switch that takes the name (or uid) of a user and automatically uses that user's uid and runtime dir.

This would take a couple of annoying steps out of the necessary dance required for testing mir ports of toolkits.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

@ " - change its location" - something like this?

  -f [ --file ] arg (=/run/user/1000/mir_socket)
                                        Socket filename [string:default=$XDG_RU
                                        NTIME_DIR/mir_socket or
                                        /tmp/mir_socket]

Revision history for this message
Allison Karlitskaya (desrt) wrote :

Awesome. Then consider this request to only be about the owner of the created socket :)

summary: - test servers should have commandline options for socket owner, location
+ test servers should have commandline option for socket owner
Changed in mir:
importance: Undecided → Wishlist
tags: added: enhancement
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

--arw-file was added in Mir-0.13

Changed in mir:
status: New → Fix Committed
assignee: nobody → Alan Griffiths (alan-griffiths)
no longer affects: mir/0.13
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.