← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2063899] Re: [SRU] Users are not initially configured properly

 

** Also affects: ubuntu-desktop-provision
   Importance: Undecided
       Status: New

** Summary changed:

- [SRU] Users are not initially configured properly
+ [SRU] Users are not initially configured properly for audio in Ubuntu Studio

** 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.
  
  [Test Case]
  
-  * Run Ardour
-  * Ardour will complain about limited memory (see screenshot attached)
+  * 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 Bugs, which is subscribed to ubuntustudio-installer in Ubuntu.
https://bugs.launchpad.net/bugs/2063899

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

Status in ubuntu-desktop-provision:
  New
Status in ubuntustudio-installer package in Ubuntu:
  In Progress

Bug description:
  [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.

  [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.

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



References