syncdaemon does not get started by client-applet after relogging (stalled lock file)

Bug #369267 reported by Rick McBride
60
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Critical
Guillermo Gonzalez

Bug Description

after having tested the new client for a bit, I decided to relog. While the client applet starts, it doesn't indicate a connection, and selecting "connect" doesn't help (interestingly the icon itself looks normal and doesn't have the red X for a disconnected state.).

ps aux|grep ubuntuone shows that syncdaemon isn't running.

I let things idle for a bit, and then started syncdaemon manually.

It appears to crash.

I'll attach the apport-collect

EDIT: Looks like this is related to the new "don't run more than one syncdaemon on an account" code.

Revision history for this message
Rick McBride (rmcbride) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: ubuntuone-client 0.1~9.04-1262-1
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=
UbuntuoneClientPackages:
 ubuntuone-client 0.1~9.04-1262-1
 ubuntuone-storage-protocol 0.1+bzr30~trunk-0ubuntu1.9.04
 ubuntuone-ppa 2009.04.27-0ubuntu1
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Rick McBride (rmcbride) wrote :
Revision history for this message
Rick McBride (rmcbride) wrote :
Revision history for this message
Rick McBride (rmcbride) wrote : Re: syncdaemon does not get started by client-applet after relogging (crash on init?)

2009-04-29 10:03:07,756 - ubuntuone.SyncDaemon - ERROR - Can't obtain lock on: '/home/rmcbride/.cache/ubuntuone/syncdaemon'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/storage/syncdaemon/main.py", line 287, in acquire
    os.link(self.tempfile, self.lockfile)
OSError: [Errno 17] File exists
2009-04-29 10:03:31,965 - ubuntuone.SyncDaemon - ERROR - Can't obtain lock on: '/home/rmcbride/.cache/ubuntuone/syncdaemon'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/canonical/ubuntuone/storage/syncdaemon/main.py", line 287, in acquire
    os.link(self.tempfile, self.lockfile)
OSError: [Errno 17] File exists

description: updated
Changed in ubuntuone-client:
assignee: nobody → verterok
importance: Undecided → Critical
milestone: none → beta1
status: New → Triaged
Changed in ubuntuone-client:
status: Triaged → In Progress
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

The fixes to the lock aren't enough.
We talked on IRC< that we'r going to remove NFS mounted home support and use DBus to detect of a daemon instance is already running.

Changed in ubuntuone-client:
status: Fix Committed → In Progress
summary: - syncdaemon does not get started by client-applet after relogging (crash
- on init?)
+ syncdaemon does not get started by client-applet after relogging
+ (stalled lock file)
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Rick McBride (rmcbride)
visibility: private → public
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
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.