Posix-mq request for rt-tests snap

We are working on the rt-tests snap based on the rt-tests Debian package, intended for use in Ubuntu Core systems.

The rt-tests is a suite of tools that contains a set of programs designed to test the capabilities of a real-time system.

One of the programs, the pmqtest, needs to access mq_open syscall, and for that, access to posix-mq interface.

We would like to request permission from the @review-team to declare a self connected slot to posix-mq interface as it’s done here.

store-requests

2 Likes

Given the purpose of the snap, +1 for enabling these for the rt-tests. Similarly to this topic, it’d be good if the snap name was also in the slot as the namespace for this interface is shared as well.

1 Like

Good point! Slot name changed to rt-tests-posix-mq, thank you.

1 Like

Follow up: Any other reviews from @review-team ?

Hi @LOCNNIL

This request looks reasonable. Do you need auto-connection or install + manual connection would be sufficient for this use case?

Thanks

1 Like

I believe no connection (manual/auto) is required because this is just a standalone slot definition.

As @farshidtz mentioned, the auto-connection isn’t needed. I’ve tested the application without doing the manual connection, and seems that by just having the slot declared is enough to have the posix-mq access.

Then +1 from for granting rt-test installation with a posix-mq slot.

+2 for, 0 against, granting rt-test installation with a posix-mq slot. The publisher is vetted. This is now live

2 Likes