/home/phablet/.pam_environment does not get updated on OTA upgrades

Bug #1255530 reported by Oliver Grawert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-datetime (Ubuntu)
Invalid
Medium
Unassigned
ubuntu-system-settings (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

starting my phone set to german language the lock screen properly shows a 24h clock ...

as aoon as the panel clock shows up, the lockscreen format (and all other places where the time is shown in the UI) is swithcing to AM/PM 12h time format.

Tags: avengers
Oliver Grawert (ogra)
Changed in indicator-datetime (Ubuntu):
importance: Undecided → Medium
tags: added: avengers
Revision history for this message
Oliver Grawert (ogra) wrote :

obviously going to the settings app, switching my language setting back and forth and rebooting fixes it. my clock is now properly staying at 24h time.

seemingly we now set more variables in /home/phablet/.pam_environment than we did at the time i was firstly setting up the image.
during OTA upgrade the new settings were not updated inside this config file so that parts of my settings flipped back to english.

to handle this case in the future (we might have other cases where pam settings of a user need upgrading even on released images) the session-migration tool should get a backend to handle this.

i am turning this into a wishlist bug against session-migration, the indicator task is solved.

Changed in session-migration (Ubuntu):
importance: Undecided → Wishlist
Changed in indicator-datetime (Ubuntu):
status: New → Invalid
summary: - system clock gets forcefully set to 12h (AM/PM) as soon as the panel
- clock starts
+ /home/phablet/.pam_environment does not get updated on OTA upgrades
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

as discussed with Ogra on IRC, this should be a pam migration script itself, not session-migration but using session-migration.

however, there is another bug needed to hook session-migration into upstart so that session-migration works

affects: session-migration (Ubuntu) → pam (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

The pam package never modifies ~/.pam_environment, and never should. I don't know what package should own this, but it's not pam.

affects: pam (Ubuntu) → ubuntu-system-settings (Ubuntu)
Changed in ubuntu-system-settings (Ubuntu):
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

closing, that's an old bug and we are not going to handle migration from those versions

Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → Invalid
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.