Request auto connection for rt-conf snap interfaces

rt-conf is an application developed under CANONICAL by the Industrial-team, packaged and distributed as a snap. This is designed to be a real-time configuration helper tool.

  • name: rt-conf
  • description: This tool allows tuning Real-Time Ubuntu via a configuration file and a simple command line interface
  • snapcraft: rt-conf/snap/snapcraft.yaml at main · canonical/rt-conf · GitHub
  • upstream: https://github.com/canonical/rt-conf
  • upstream-relation: Publisher is the upstream
  • interfaces:
    • cpu-control:
      • request-type: auto-connection
      • reasoning: One of the features provided by rt-conf is the possibility to tune the IRQ affinity settings in a non-persistent way. This is an operation that requires access to some procfs and sysfs directories, which cpu-control can give this access, as can be seeing here.
    • system-files:
      • Plug name: etc-default-grub - This is for classic systems only.
        • read: /etc/default/grub
        • write: /etc/default/grub.d/60_rt-conf.cfg
      • request-type: connection
      • reasoning: This is necessary to set some kernel command line arguments used to enhance real-time capabilities. All possibilities are listed in the configuration file of rt-conf: config.yaml.
    • hardware-observe:
      • request-type: auto-connection
      • reasoning: This interface is used to have read access to the file /proc/device-tree/model which is grant by hardware-observe on this rule. The read access to this file is used to identify the type of hardware which rt-conf is running on.

This request has been added to the queue for review by the @reviewers team.

Thanks for formulating the request @LOCNNIL. The plug name is misleading. It should be etc-default-grub to serve as the common denominator of the two paths.

1 Like

@jslarraz, the request has been updated to mention that the system-files interface plug to read: /etc/default/grub and write: /etc/default/grub.d/60_rt-conf.cfg is for classic systems only.

For Ubuntu Core, the tool uses snap options, but that is experimental and beyond the scope of this request.

Hey folks, thanks for your patience.

Limiting the system-files interface to manual connection only on classic systems makes the request totally reasonable to me. Thus +1 from me for granting the requested permissions (#voteFor).

1 Like

+1 (#voteFor) from me as well for granting these interfaces as they fit the purpose of the snap

1 Like

Voting period has ended. This request is approved with 2 votes for and 0 votes against.

1 Like

The publisher is vetted. This is now live. It should pass automatic review after renaming the system-files plug to etc-default-grub as discussed

1 Like