[SRU] enable ubuntustudio-fix-firstrun.service on initial login

Bug #2067510 reported by Erich Eickmeyer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntustudio-installer (Ubuntu)
Status tracked in Oracular
Noble
Fix Committed
High
Erich Eickmeyer
Oracular
Fix Released
High
Erich Eickmeyer

Bug Description

[Impact]

The Debian/rules file includes a `override_dh_installsystemduser:` line to prohibit `ubuntustudio-dummy-audio.service` from being enabled by default for all users on the system. Unfortunately, I neglected to add a `dh_installsystemduser` line for `ubuntustudio-fix-firstrun.service` This means we're not fixing it for users unless they manually run Ubuntu Studio Audio Configuration.

[Test Case]

 * Log in to Ubuntu Studio

Expected: Pop-up to tell users to reboot to finish configuration (adds user to the audio group)
Actual: nothing

[What could go wrong]

This is what went wrong with LP: #2063899 but I wouldn't consider it a regression of it as it didn't cause any additional problems, but more like I neglected a step. What could go wrong with this is more like user annoyance, but worth it as it actually solves a problem caused by the lack of user group configuration administration options in ubuntu-desktop-provision.

Changed in ubuntustudio-installer (Ubuntu Noble):
importance: Undecided → High
Changed in ubuntustudio-installer (Ubuntu Oracular):
importance: Undecided → High
Changed in ubuntustudio-installer (Ubuntu Noble):
assignee: nobody → Erich Eickmeyer (eeickmeyer)
Changed in ubuntustudio-installer (Ubuntu Oracular):
assignee: nobody → Erich Eickmeyer (eeickmeyer)
Changed in ubuntustudio-installer (Ubuntu Noble):
status: New → Triaged
Changed in ubuntustudio-installer (Ubuntu Oracular):
status: New → In Progress
Changed in ubuntustudio-installer (Ubuntu Noble):
milestone: none → noble-updates
Changed in ubuntustudio-installer (Ubuntu Oracular):
status: In Progress → Fix Committed
Changed in ubuntustudio-installer (Ubuntu Noble):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-installer - 1.21

---------------
ubuntustudio-installer (1.21) oracular; urgency=medium

  * Globally enable ubuntustudio-fix-firstrun.service (LP: #2067510)
  * Prevent ubuntustudio-fix-firstrun.service from having effect
    on live session user (LP: #2067512)

 -- Erich Eickmeyer <email address hidden> Wed, 29 May 2024 11:33:00 -0700

Changed in ubuntustudio-installer (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Erich, or anyone else affected,

Accepted ubuntustudio-installer into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntustudio-installer/1.18.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubuntustudio-installer (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

$ apt-cache policy ubuntustudio-installer
ubuntustudio-installer:
  Installed: 1.18.3
  Candidate: 1.18.3
  Version table:
 *** 1.18.3 100
        100 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages
        100 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe i386 Packages
        100 /var/lib/dpkg/status
     1.18.2 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages
     1.18 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu noble/universe i386 Packages

At first, this verification was unsuccessful as I had forgotten that I was experimenting with diverting /usr/bin/adduser to /usr/bin/adduser-actual and replacing it with the following script:

#!/bin/sh
/usr/sbin/adduser-actual --ingroup audio $@

Upon investigation, I realized this created the user with the audio group which made it so that the actual mechanism for ubuntustudio-installer would not be necessary if this script and diversion was added to ubuntustudio-default-settings as described above. This was also per a conversation with Steve Langasek on IRC.

However, after removing this and putting /usr/sbin/adduser back where it belongs, I redid the test:

* added new user
* signed-in as new user
* User was prompted to restart for proper configs to take place.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Hello Erich, or anyone else affected,

Accepted ubuntustudio-installer into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntustudio-installer/1.18.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-noble
removed: verification-done verification-done-noble
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

$ apt-cache policy ubuntustudio-installer
ubuntustudio-installer:
  Installed: 1.18.4
  Candidate: 1.18.4
  Version table:
 *** 1.18.4 100
        100 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe amd64 Packages
        100 http://us.archive.ubuntu.com/ubuntu noble-proposed/universe i386 Packages
     1.18.2 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages
     1.18 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu noble/universe i386 Packages

* added new user
* signed-in as new user
* User was prompted to restart for proper configs to take place.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
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.