Do

gnome-do don't start with username > 9 characters

Bug #439949 reported by Fernando Ribeiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do
Fix Released
Medium
Robert Dyer
gnome-do (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

gnome-do 0.8.2+dfsg-1

While trying to startup gnome-do nothing happing.

Running in terminal with -x
$ sh -x /usr/bin/gnome-do
+ dirname /usr/bin/gnome-do
+ SCRIPT_PATH=/usr/bin
+ cd /usr/bin
+ pwd
+ SCRIPT_PATH=/usr/bin
+ [ x/usr/bin = x/build/buildd/gnome-do-0.8.2+dfsg/Do/bin/Debug ]
+ [ x/usr/bin = x/build/buildd/gnome-do-0.8.2+dfsg/Do ]
+ GNOME_DO_EXE=/usr/lib/gnome-do/Do.exe
+ dbus-send --session --type=method_call --dest=org.gnome.Do /org/gnome/Do/Controller org.gnome.Do.Controller.Summon
+ id -un
+ pgrep -u myuser ^gnome-do$
+ [ 0 -eq 20 ]

dbus-send with --print-reply return:

$ dbus-send --print-reply --session --type=method_call --dest=org.gnome.Do /org/gnome/Do/Controller org.gnome.Do.Controller.Summon
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Do was not provided by any .service files

Is not .service files for org.gnome.Do under /usr/share/dbus-1/services/

dbus-send return 1

pgrep don't return process for gnome-do

The line '/usr/bin/cli "$GNOME_DO_EXE" "$@"' is not invoked.

gnome-do don't start

Revision history for this message
Fernando Ribeiro (ipsec) wrote :

9.10 alpha 6

Revision history for this message
Fernando Ribeiro (ipsec) wrote :

I found the problem.

id -un return the username with length > 9 characters.
pgrep "grep" based in only 9 characters.

patch proposed

Robert Dyer (psybers)
Changed in do:
importance: Undecided → Medium
Fernando Ribeiro (ipsec)
summary: - gnome-do don't start. dbus fail in startup
+ gnome-do don't start with username > 9 characters
Revision history for this message
Robert Dyer (psybers) wrote :

My pgrep works with usernames longer than 9 characters (Ubuntu 9.04). Perhaps you ran into a bug with pgrep.

At any rate, I see no reason to use the username vs the user number so I think we will adopt your patch.

Robert Dyer (psybers)
Changed in do:
status: New → Fix Committed
assignee: nobody → Robert Dyer (psybers)
Changed in do:
status: Fix Committed → Fix Released
milestone: none → 0.8.3
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-do - 0.8.3.1+dfsg-1

---------------
gnome-do (0.8.3.1+dfsg-1) unstable; urgency=low

  * New upstream bugfix release: (Closes: 561271)
    + Fixes for network status detection (Closes: #543517, #543778)
      (LP: #422461)
    + Fixes misleading "Start GNOME Do at login" checkbox (LP: #398303)
    + Fixes a number of crash bugs in the Trash docklet (LP: #439731)
      (Closes: #552239)
    + Fixes problems with the naming of the default theme, leading to crashes.
      (LP: #475871, #448094)
    + Fixes startup problems when run by users with usernames > 9 characters
      long. (LP: #439949)
  * debian/patches/02_use_cli_for_wrapper:
    + Refresh for new upstream changes
  * debian/patches/11_fix_autostart_when_directory_does_not_exist:
    + Drop; included upstream.
  * debian/control
    + Add Breaks on gnome-do-plugins < 0.8.2. Do now handles plugins
      slightly differently. This prevents users being surprised about
      missing plugins on upgrade. (Closes: #541708)
    + Bump Build-Dep on mono-devel to (>= 2.4.2.3) for mono-csc.
    + Transition to -cil-dev packages for Build-Dependends.
    + Bump Standards-Version to 3.8.3; no changes needed.
  * debian/rules:
    + Use mono-csc instead of csc for MCS
    + Pass -f -i to autoreconf to keep the buildsystem's libtool in sync
      with Debian's. Fixes libtool-related FTBFS (Closes: #560645)
    + Apply ltmain-add-as-needed.patch after autoreconf-ing for --as-needed
      magic.
    + Pass --as-needed to the linker to eliminate dependencies on unneeded
      libs.
  * debian/README.source:
    + Add to really comply with policy; we've got a patch system!
  * debian/ltmain-add-as-needed.patch:
    + Patch to add --as-needed magic to ltmain.sh
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 01 Feb 2010 23:58:19 +0000

Changed in gnome-do (Ubuntu):
status: New → 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.