touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #21409
[Bug 1374553] Re: In image rtm 69 infographics stopped functioning
the issue here is that the /var/lib/usermetrics directory does not exist anymore.
with the switch to using a hardcoded /etc/passwd|group|shadow on the image in livecd-rootfs we have the users existing in the password db ...
usermetricsservice uses the following postinst script:
...
if ! getent passwd usermetrics >/dev/null; then
adduser --system --ingroup usermetrics --home /var/lib/usermetrics usermetrics
usermod -c "User Metrics" usermetrics
usermod -d "/var/lib/usermetrics" usermetrics
usermod -g "usermetrics" usermetrics
usermod -s "/bin/false" usermetrics
fi
...
here the adduser line creates the /var/lib/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 :)
** Also affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
** Changed in: livecd-rootfs (Ubuntu)
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libusermetrics in Ubuntu.
https://bugs.launchpad.net/bugs/1374553
Title:
In image rtm 69 infographics stopped functioning
Status in “libusermetrics” package in Ubuntu:
Confirmed
Status in “livecd-rootfs” package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libusermetrics/+bug/1374553/+subscriptions
References