[Bug 1260990] [NEW] boinc-manager needs /var/lib/boinc-client to launch

Ken Sharp 1260990 at bugs.launchpad.net
Sat Dec 14 15:00:54 UTC 2013


Public bug reported:

This stems from Bug #1250652
https://bugs.launchpad.net/debian/+source/boinc/+bug/1250652/comments/9

"When launching BOINC Manager from the Gnome menu it produces an error
that it is unable to find /var/lib/boinc-client, which of course does
not exist unless boinc-client is also installed. Launching from the
terminal does not produce this error.

This is solved by removing the Path= variable from the .desktop file
(and logging out/in).

[Desktop Entry]
Type=Application
Version=1.0
Exec=/usr/bin/boincmgr
Path=/var/lib/boinc-client
Icon=boincmgr-32
Categories=System;Monitor;GTK;
Name=BOINC Manager
GenericName=BOINC monitor and control utility
GenericName[cs]=Monitorovací a ovládací nástroj pro BOINC
GenericName[de]=BOINC Überwachungs- und Kontrollprogramm
GenericName[pt]=Monitorização BOINC e utilitário de controlo
Comment=Configure or monitor a BOINC core client
Comment[cs]=Monitoruje a nastavuje klienta BOINC
Comment[de]=BOINC Basis Client konfigurieren oder überwachen
Comment[pt]=Configurar ou monitorizar o cliente básico do BOINC

HOWEVER:

This exists so that boincmgr can connect to the client automatically.

A better solution was a simple:
mkdir /var/lib/boinc-client
Then boincmgr does not complain.

Unless there is some intelligence that the menu system can use to ignore
the Path= if the directory does not exist, then it might be worth adding
an empty /var/lib/boinc-client to the boinc-manager package to avoid
this error."

This is reproducible by installing boinc-manager with --no-install-
recommends, when you simply do not want the boinc-client installed.

AFAIK upstream BOINC doesn't care about Gnome, Unity, etc. so it needs
to be fixed Debian/Ubuntu end.

apport claims I'm not running the official version (I am) so that didn't
work.

$ dpkg -s boinc-manager
Package: boinc-manager
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 4019
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Source: boinc
Version: 7.0.24+dfsg-1
Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.10.0), libnotify4 (>= 0.7.0), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 4.1.1), libwxbase2.8-0 (>= 2.8.12.1), libwxgtk2.8-0 (>= 2.8.12.1)
Recommends: boinc-client, ia32-libs-gtk
Suggests: libgl1-mesa-glx, libxt6

Will look into this further and send upstream asap.

** Affects: boinc (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: boinc (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: desktop-file testcase

** Attachment added: "Screenshot"
   https://bugs.launchpad.net/bugs/1260990/+attachment/3929249/+files/Screenshot%20from%202013-12-14%2014%3A46%3A25.png

-- 
You received this bug notification because you are a member of Debian
BOINC Maintainers, which is subscribed to boinc in Ubuntu.
https://bugs.launchpad.net/bugs/1260990

Title:
  boinc-manager needs /var/lib/boinc-client to launch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1260990/+subscriptions



More information about the pkg-boinc-devel mailing list