Incorrect application entry for bacula-console-qt

Bug #387778 reported by Martin Kalén
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bacula-console-qt

Kubuntu 9.04, bacula-console-qt 2.4.4-1ubuntu5 from jaunty/universe.

Application entry /usr/share/applications/bat.desktop points Exec= to /usr/sbin/bat, whereas BAT is installed as /usr/bin/bat.

There is an inconsistency between /usr/share/applications/bat.desktop and /usr/share/menu/bacula-console-qt - the latter points to the correct BAT path.

Attached patch fixes the incorrect application entry.

Revision history for this message
Martin Kalén (martin-kalen) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and including a patch. However, the .desktop file is generated when building the source package so your patch, while it fixes the resulting .desktop file, won't apply to the package. I'm not quite certain how to fix this myself, but I believe you can investigate the problem further by using 'apt-get source bacula' and then looking at 'scripts/bat.desktop.in' in the package.

Revision history for this message
Kern Sibbald (kern) wrote : Re: [Bug 387778] Re: Incorrect application entry for bacula-console-qt

On Tuesday 16 June 2009 20:17:49 Brian Murray wrote:
> Thanks for taking the time to report this bug and including a patch.
> However, the .desktop file is generated when building the source package
> so your patch, while it fixes the resulting .desktop file, won't apply
> to the package. I'm not quite certain how to fix this myself, but I
> believe you can investigate the problem further by using 'apt-get source
> bacula' and then looking at 'scripts/bat.desktop.in' in the package.

A few responses:

First some gripes about this bug tracking system:

1. Your bug emails generated by your system apparently don't take into account
that there may be more one place we get bug emails. I recommend that you add
something like "Launchpad.bacula" or something like that to the Subject line
as all other bug systems do.

2. Bug reports should never be directly addressed to people receiving them in
a copy form -- as is the case for me. It is very confusing. This emails was
addressed to me as:

From: Brian Murray <email address hidden>
    To: <email address hidden>
 Date: Today 20:17:49

which is incorrect since the bug report is copied to me.

3. I would like to unsubscribe from this list, but it seems to be next to
impossible. Would you please tell me how? Thanks.

=====

Now to answer the bug report.

4. The problem appears to be that the packaging of Bacula was incorrectly
done. Bacula should be configured and built prior to packaging, and the
configuration *must* correspond to the exact same places the packager is
going to install files. Otherwise you introduce packing bugs as you have
here.

More specifically. It appears that the packager configured and built Bacula
to install in /usr/sbin/bat (or at least that is where Bat was set to be
installed), and then during the installation of the Bacula package, bat (the
executable) was put into /usr/bin/bat. Thus the desktop files are not in
synchronization with where the binary was installed.

Regards,

Kern
Upstream Bacula Project Manager

Revision history for this message
Martin Kalén (martin-kalen) wrote : Re: [Bug 387778] Re: Incorrect application entry for bacula-console-qt

2009/6/16 Kern Sibbald <email address hidden>

> 1. Your bug emails generated by your system apparently don't take into
> account
> that there may be more one place we get bug emails. I recommend that you
> add
> something like "Launchpad.bacula" or something like that to the Subject
> line
> as all other bug systems do.

Sorry for the noise, as a public Ubuntu bug reporter I was not aware that
Launchpad would spam people upstream before someone at Ubuntu had triaged
the bug.

> 2. Bug reports should never be directly addressed to people receiving them
> in
> a copy form -- as is the case for me. It is very confusing.

Indeed - I was just as confused when your Launchpad reply first appeared to
be a private e-mail reply.

4. The problem appears to be that the packaging of Bacula was incorrectly
> done. Bacula should be configured and built prior to packaging, and the
> configuration *must* correspond to the exact same places the packager is
> going to install files. Otherwise you introduce packing bugs as you have
> here.

Thanks for your clarification. Obviously the Ubuntu (or Debian) package
maintainer needs to fix this.

I hope you succeed in unsubscribing from the Launchpad notifications and
once again my apologies for generating noise.

Regards,
 Martin

Revision history for this message
Kern Sibbald (kern) wrote : Re: [Bug 387778] Re: Incorrect application entry for bacula-console-qt

On Tuesday 16 June 2009 21:46:08 Martin Kalén wrote:
> 2009/6/16 Kern Sibbald <email address hidden>
>
> > 1. Your bug emails generated by your system apparently don't take into
> > account
> > that there may be more one place we get bug emails. I recommend that you
> > add
> > something like "Launchpad.bacula" or something like that to the Subject
> > line
> > as all other bug systems do.
>
> Sorry for the noise, as a public Ubuntu bug reporter I was not aware that
> Launchpad would spam people upstream before someone at Ubuntu had triaged
> the bug.

Sorry I should have been more specific.

No need for you to be sorry as a reporter of a problem (at least that is what
I imagine). It has something to do with the lauchpad system that I haven't
yet figured out.

>
> > 2. Bug reports should never be directly addressed to people receiving
> > them in
> > a copy form -- as is the case for me. It is very confusing.
>
> Indeed - I was just as confused when your Launchpad reply first appeared to
> be a private e-mail reply.
>
> 4. The problem appears to be that the packaging of Bacula was incorrectly
>
> > done. Bacula should be configured and built prior to packaging, and the
> > configuration *must* correspond to the exact same places the packager is
> > going to install files. Otherwise you introduce packing bugs as you have
> > here.
>
> Thanks for your clarification. Obviously the Ubuntu (or Debian) package
> maintainer needs to fix this.

Yes, someone should figure out some way to test these things, but with GUIs it
is not so easy :-(

>
> I hope you succeed in unsubscribing from the Launchpad notifications

Thanks.

> and
> once again my apologies for generating noise.

For the apologies, thanks, no harm done, but as I said, it is not your fault.

Regards,

Kern

Revision history for this message
Chuck Short (zulcss) wrote :

This should be fixed now.

Regards
chuck

Changed in bacula (Ubuntu):
status: New → Fix Released
Revision history for this message
hedgehog (hedgehogshiatus) wrote :

On Lucid 10.04 installing bacula-console-qt does not place any desktop file in /usr/share/applications

$ dpkg --list|grep -i bacula
ii bacula-client 5.0.1-1ubuntu1 network backup, recovery and verification -
ii bacula-common 5.0.1-1ubuntu1 network backup, recovery and verification -
ii bacula-console 5.0.1-1ubuntu1 network backup, recovery and verification -
ii bacula-console-qt 5.0.1-1ubuntu1 Bacula Administration Tool Console
ii bacula-fd 5.0.1-1ubuntu1 network backup, recovery and verification -
ii bacula-traymonitor 5.0.1-1ubuntu1 network backup, recovery and verification -

$ ls -la /usr/share/applications|grep -i ba
-rw-r--r-- 1 root root 403 2010-03-31 21:58 baobab.desktop

HTH?

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.