accounts-daemon rewrite /var/lib/AccountsService/users/xxx file every time workspace is changed

Bug #1318307 reported by nimnull
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Panel
Invalid
High
xfdesktop4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Xubuntu 14.04 fully updated
Description: Ubuntu 14.04 LTS
Release: 14.04

Architecture: amd64
Version: 0.6.35-0ubuntu7

Accounts-daemon rewrites /var/lib/AccountsService/users/xxx file every time workspace is changed

How to check: use strace -p xxx

Thank you

Revision history for this message
In , nimnull (macachuto) wrote :

Every switch of workspace forces accounts-daemon to rewrite /var/lib/AccountsService/users/xxx file

Revision history for this message
In , nimnull (macachuto) wrote :

I use Xubuntu 14.04

Linux xub-14-04 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

xfce4-panel 4.11.0-0ubuntu1 amd64 panel for Xfce4 desktop environment

affects: accountsservice (Ubuntu) → xfdesktop4 (Ubuntu)
Changed in xfce4-panel:
importance: Unknown → High
status: Unknown → Confirmed
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Your upstream report is probably invalid. The xfdesktop4 package shipped by Xubuntu includes a custom patch to add support for AccountsService. It is possible that this patch might need some reworking.

Please generate a strace log file and attach it to this report.

Revision history for this message
nimnull (macachuto) wrote :
Revision history for this message
nimnull (macachuto) wrote :

OK

On every change workspace:

1. open("/etc/passwd" ... <--- completely unnecessary
2. open("/var/lib/AccountsService/users/vas.4BO6GX <--- creates new file;
3. rename("/var/lib/AccountsService/users/vas.4BO6GX", "/var/lib/AccountsService/users/vas") = 0

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfdesktop4 - 4.11.7-0ubuntu1

---------------
xfdesktop4 (4.11.7-0ubuntu1) utopic; urgency=medium

  * New upstream development release
  * debian/patches/xubuntu_set-accountsservice-user-bg.patch: update
    patch to only update on first workspace filename change (LP: #1318307)
 -- Sean Davis <email address hidden> Mon, 11 Aug 2014 22:25:48 -0400

Changed in xfdesktop4 (Ubuntu):
status: New → Fix Released
Revision history for this message
In , Simon Steinbeiß (ochosi) wrote :

This is a Xubuntu-specific bug that happened due to a patch we carry in the distro (which informs accountsservice of the current wallpaper so that the greeter has the correct background image).
Also, it has been fixed in Xubuntu meanwhile (https://bugs.launchpad.net/ubuntu/+source/xfdesktop4/+bug/1318307)

Changed in xfce4-panel:
status: Confirmed → Invalid
Revision history for this message
nimnull (macachuto) wrote :

Interesting!

On August,12 this bug was fixed in the package xfdesktop4 - 4.11.7-0ubuntu1

Now is 25-th of October and in the official repository there is only: trusty--universe--base--4.11.6-1ubuntu1

When we will get xfdesktop4 - 4.11.7, next year?

As an advanced user I solve this issue by removing accountsservice* package.
(http://www.ubuntuupdates.org/package_metas?exact_match=1&q=xfdesktop4)

But I still believe that it should be in the system and I would like to install patched package.

Thank in advance.

Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

nimnull, the package in trusty will be updated soon (see bug 1365965).

Revision history for this message
nimnull (macachuto) wrote :

Fixed in xfdesktop4 = 4.11.8-0ubuntu0.1

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.