In image rtm 69 infographics stopped functioning
Bug #1374553 reported by
Dave Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libusermetrics (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
livecd-rootfs (Ubuntu) |
Fix Released
|
Critical
|
Stéphane Graber | ||
livecd-rootfs (Ubuntu RTM) |
Fix Released
|
Critical
|
Oliver Grawert |
Bug Description
STEPS:
1. Fresh flash (bootstrap or wipe) image 69 on krillin
2. Make a call for a minute
3. Send yourself an sms
4. Play a game of sudoku
5. play a song
6. hit the power button
7. hit the power button again
8. Tap on the infographics
EXPECTED:
I expect the infographics to cycle through the the various metrics
ACTUAL:
You are just shown no data notice.
Related branches
Changed in libusermetrics (Ubuntu): | |
status: | New → Confirmed |
tags: | added: lt-age-20140926 lt-blocker lt-category-visible lt-prio-high |
Changed in libusermetrics (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → Confirmed |
Changed in livecd-rootfs (Ubuntu RTM): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in livecd-rootfs (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
Changed in livecd-rootfs (Ubuntu RTM): | |
assignee: | nobody → Oliver Grawert (ogra) |
Changed in livecd-rootfs (Ubuntu RTM): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
the issue here is that the /var/lib/ usermetrics directory does not exist anymore. group|shadow on the image in livecd-rootfs we have the users existing in the password db ...
with the switch to using a hardcoded /etc/passwd|
usermetricsservice uses the following postinst script: usermetrics usermetrics usermetrics" usermetrics usermetrics directory, but since the user exists already in the database the "if" will never be executed ... i assume this needs to be fixed in livecd-rootfs since this is teh place where we broke it :)
...
if ! getent passwd usermetrics >/dev/null; then
adduser --system --ingroup usermetrics --home /var/lib/
usermod -c "User Metrics" usermetrics
usermod -d "/var/lib/
usermod -g "usermetrics" usermetrics
usermod -s "/bin/false" usermetrics
fi
...
here the adduser line creates the /var/lib/