[Bug 2063899] Re: [SRU] Users are not initially configured properly for audio in Ubuntu Studio

Erich Eickmeyer 2063899 at bugs.launchpad.net
Tue Apr 30 00:02:48 UTC 2024


** Also affects: ubuntustudio-default-settings (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntustudio-default-settings (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntustudio-default-settings (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntustudio-default-settings (Ubuntu)
     Assignee: (unassigned) => Erich Eickmeyer (eeickmeyer)

** Description changed:

  [Impact]
  
  Ubiquity and Calamares used to have a facility to make the first
  configured user part of the `audio` group by default. Unfortunately,
  with `ubuntu-desktop-bootstrap`, we lost this ability in Ubuntu Studio
  and making sure that the users had the proper configuration (memory
  limits for the audio group) was an oversight.
  
  Fortunately, the ubuntustudio-installer application, and its included
  ubuntustudio-audio-config application, have the facility to do that,
  although the script needed a little bit of work and the entire package
  was missing a runtime dependency on `polkitd-pkla` to make the whole
  system work as expected.
+ 
+ Additionally, `ubuntustudio-default-settings` needs to add additional
+ configuations to /etc/adduser.conf so that new users are automatically
+ part of the audio group and provide the
+ /etc/security/limits.d/audio.conf file. In the meantime, having Audio
+ Configuration fix existing users is a good workaround.
  
  [Test Case]
  
   * Run Ardour
   * Ardour will complain about limited memory (see screenshot attached)
  
  Expected: No complaints from Ardour
  
  [What could go wrong]
  
  The only thing I expect could go wrong is that the systemd user service
  fails to launch. The backup for this is to run ubuntustudio-audio-config
  from the launcher, which would run everything as expected (setting the
  memory limits, adding the user to the `audio` group, and rebooting the
  system).
  
- 
  [Other Information]
  
  What really needs to happen here is that `ubuntu-desktop-provision` or
  `subiquity` needs to add the initial user to the audio group, or at
  least provide the facility for Ubuntu Studio to configure the initial
  user to be added as such similar to how Ubiquity did.
- 
- Additionally, `ubuntustudio-lowlatency-settings` (part of ubuntustudio-
- default-settings) may need to add an `adduser` hook to add new users to
- the audio group and provide the /etc/security/limits.d/audio.conf file.
- In the meantime, having Audio Configuration fix existing users is a good
- workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Development, which is subscribed to ubuntustudio-default-settings
in Ubuntu.
https://bugs.launchpad.net/bugs/2063899

Title:
  [SRU] Users are not initially configured properly for audio in Ubuntu
  Studio

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2063899/+subscriptions




More information about the Ubuntu-reviews mailing list